SlideShare a Scribd company logo
1 of 36
SlapOS
Distributed Cloud Computing




Yusei Tahara<yusei@nexedi.com>
           Nexedi KK

                            SlapOS.org
What does SlapOS do actually?
●   Managing computers
●   Building software
●   Deploying software
●   Managing processes
●   Collecting usage
●   Pricing and invoicing
SlapOS automates administration tasks.


                                         SlapOS.org
Introduction and
              why we develop it?
●   We are ERP solution provider.
●   Our customers need solid system.
●   Setup procedure of our ERP is complex.
●   We want to share good configurations with others.
●   We must be able to deploy production system any
    number of times.
●   We may want to change OS.
●   Deployment must be done quickly.
●   Package maintenance is annoying.

                                               SlapOS.org
Master and Slaves



                     One master node           Slave node
Slave node




    Slave node                                 Slave node


                                  Slave node

                 Slave node




                                                            SlapOS.org
Overview
                                      SlapOS Master
                                 System for managing cloud
                                   Web interface available
A real computer used              Master itself is distributed
as a part of cloud                                                       Cloud operating tool

                                              Master                                 Client
       Slave                                             Slap protocol
                       Slap protocol                                            slapconsole
     slapgrid
Office                                 Slap protocol

           Slave                                                                Client

         slapgrid                                                            slapconsole
                           Slave
    Home
                         slapgrid

                        Data center

                                                                                    SlapOS.org
Overview
         Slave                                     Master
                           What should I be?



                              You must be...

Slave node is stateless.                       Master node is statefull.
Slave node asks master                         Master node knows
node anything.                                 everything about slave
                                               node.




                                                               SlapOS.org
Overview

I want ERP5




              Here you are.



                              SlapOS.org
Master node
       ●Stateful
       ●Store various data

       ●User registration

       ●Computer registration

       ●Recipe registration

       ●Computer usage record

       ●Web management UI

       ●Implemented on top of ERP5




                          SlapOS.org
Slave Node
                        1 real computer
                             POSIX
                    Architecture independent


    Core software
                                    Computer partitions(CP)
      Slapgrid
      Buildout
                                               CP
    Supervisord

                                               CP
Software releases(SR)
                                               CP
        XWiki
                                               CP
        KVM




                                                              SlapOS.org
Setup slave node
I want to add a computer
       to my cloud.




                           GNU / Linux




                                         SlapOS.org
Setup slave node

Installation done




                     supervisord

                      Buildout

                      SLAPGrid

                     GNU / Linux




                                   SlapOS.org
Install software release
My node supports
 XWiki and KVM                     Added software
                                   releases
                       KVM
                      XWiki

                    supervisord

                     Buildout

                     SLAPGrid

                    GNU / Linux




                                   SlapOS.org
Install service
                                         Added services
I want 2 KVM and
1 XWiki

                              KVM
                             XWiki

                           supervisord

                            Buildout

                            SLAPGrid

                           GNU / Linux




                                         SlapOS.org
Computer Partition


Directory
                               ●Dedicated directory
                               ●Dedicated user
Isolated Runtime environment
Secure container               ●Dedicated global Ipv6

                               ●Dedicated local Ipv4

                               ●Dedicated network interface(TAP)




                                                     SlapOS.org
3 commands of Slapgrid
                     Request


SR   Node                                     Master

            A list of software releases the
            slave node must have

                     Request


CP   Node
            A list of services the slave
                                              Master

            node must have



              Resource usage report
                                              Master
UR   Node




                                                       SlapOS.org
Demonstration
●   Slapconsole
●   Master node Web UI
●   Slave node
●   Computer partition




                                  SlapOS.org
More information...
●   SlapOS.org
●   ViFiB.net
●   http://git.erp5.org/gitweb/slapos.git
●   https://github.com/SlapOS/slapos




                                            SlapOS.org
Thank you very much




                      SlapOS.org
SlapOS
Distributed Cloud Computing




Yusei Tahara<yusei@nexedi.com>
           Nexedi KK


                               SlapOS.org
                           1
What does SlapOS do actually?
●   Managing computers
●   Building software
●   Deploying software
●   Managing processes
●   Collecting usage
●   Pricing and invoicing
SlapOS automates administration tasks.


                                             SlapOS.org
                                         2
Introduction and
              why we develop it?
●   We are ERP solution provider.
●   Our customers need solid system.
●   Setup procedure of our ERP is complex.
●   We want to share good configurations with others.
●   We must be able to deploy production system any
    number of times.
●   We may want to change OS.
●   Deployment must be done quickly.
●   Package maintenance is annoying.

                                                 SlapOS.org
                                             3
Master and Slaves



                                   One master node           Slave node
              Slave node




                  Slave node                                 Slave node


                                                Slave node
                               Slave node




                                                                          SlapOS.org
                                                                     4


SlapOS is based on a Master and Slave design. We
  are going to provide here an overview of SlapOS
  architecture. We are going in particular to explain the
  role of Master node and Slave nodes, as well as the
  software components which they rely on to operate a
  Distributed Cloud.
Overview
                                             SlapOS Master
                                        System for managing cloud
                                          Web interface available
       A real computer used              Master itself is distributed
       as a part of cloud                                                       Cloud operating tool

                                                     Master                                 Client
               Slave                                            Slap protocol
                              Slap protocol                                            slapconsole
             slapgrid
        Office                                Slap protocol

                   Slave                                                               Client

                 slapgrid                                                           slapconsole
                                  Slave
            Home
                                slapgrid

                               Data center

                                                                                           SlapOS.org
                                                                                       5


Slave nodes request to Master nodes which software
  they should install, which software they show run and
  report to Master node how much resources each
  running software has been using for a certain period
  of time. Master nodes keeps track of available slave
  node capacity and available software. Master node
  also acts as a Web portal and Web service so that
  end users and software bots can request software
  instances which are instantiated and run on Slave
  nodes. Master nodes are stateful. Slave nodes are
  stateless. More precisely, all information required to
  rebuild a Slave node is stored in the Master node.
  This may include the URL of a backup service which
  keeps a online copy of data so that in case of failure
  of a Slave node, a replacement Slave node can be
  rebuilt with the same data.

It is thus very important to make sure that the state
Overview
         Slave                                     Master
                           What should I be?



                              You must be...

Slave node is stateless.                       Master node is statefull.
Slave node asks master                         Master node knows
node anything.                                 everything about slave
                                               node.




                                                               SlapOS.org
                                                           6
Overview

I want ERP5




              Here you are.



                                  SlapOS.org
                              7
Master node
                               ●Stateful
                               ●Store various data
                               ●User registration

                               ●Computer registration

                               ●Recipe registration

                               ●Computer usage record

                               ●Web management UI

                               ●Implemented on top of ERP5




                                                    SlapOS.org
                                                8


Let us now review in more detail the role of the SlapOS
  master node. SlapOS keeps track of the identity of all
  parties which are involved in the process of
  requesting Cloud resources, accounting Cloud
  resources and billing Cloud resources. This includes
  end users (Person) and their company (Organisation
  ). It includes suppliers of cloud resources as well as
  consumers of cloud resources. It also include so-
  called computer partitions which may run a software
  robot to request Cloud resources without human
  intervention. It also includes Slave nodes which need
  to request to SlapOS master which resources should
  be allocated. SlapOS generated X509 certificates for
  each type of identity: X509 certificates for people like
  you and me who login, an X509 certificate for each
  server which contributes to the resources of SlapOS
  and an X509 for each running software instance
  which may need to request or notify SlapOS master.
Slave Node
                                     1 real computer
                                          POSIX
                                 Architecture independent


                 Core software
                                                 Computer partitions(CP)
                   Slapgrid
                   Buildout
                                                            CP
                 Supervisord

                                                            CP
             Software releases(SR)
                                                            CP
                     XWiki
                                                            CP
                     KVM




                                                                           SlapOS.org
                                                                      9


SlapOS Slave nodes are pretty simple compared to the
  Master node. Every slave node needs to run
  software requested by the Master node. It is thus on
  the Slave nodes that software is installed. To save
  disk space, Slave nodes only install the software
  which they really need.

Each slave node is divided into a certain number of so-
 called computer partitions. One may view a computer
 partition as a lightweight secure container, based on
 Unix users and directories rather than on
 virtualization. A typical barebone PC can easily
 provide 100 computer partitions and can thus run
 100 wordpress blogs or 100 e-commerce sites, each
 of which with its own independent database. A larger
 server can contain 200 to 500 computer partitions.

SlapOS approach of computer partitions was designed
Setup slave node
       I want to add a computer
              to my cloud.




                                  GNU / Linux




                                                     SlapOS.org
                                                10


SlapOS Slave software consists of a POSIX operating
  system, SlapGRID, supervisord and buildout.

SlapOS is designed to run on any operating system
  which supports GNU's glibc and supervisord. Such
  operating systems include for example GNU/Linux,
  FreeBSD, MacOS/X, Solaris, AIX, etc. We hope in
  the future that Microsoft Windows will also be
  supported as a host (Microsoft Windows is already
  supported as a guest) through glibc implementation
  on windows and a port of supervisord to Windows.
Setup slave node

          Installation done




                               supervisord

                                Buildout

                               SLAPGrid

                               GNU / Linux




                                                  SlapOS.org
                                             11


SlapOS relies on mature software: buildout and
  supervisord. Both software are controlled by
  SlapGRID, the only original software of SlapOS.
  SlapGRID acts as a glue between SlapOS Master
  node (ERP5) and both buildout and supervisord.
  SlapGRID requests to SlapOS Master Node which
  software should be installed and executed.
  SlapGRID uses buildout to install software and
  supervisord to start and stop software processes.
  SlapGRID also collects accounting data produced by
  each running software and sends it back to SlapOS
  Master. Let us now study with more detail the role of
  supervisord and buildout.

Supervisord is a process control daemon. It can be
 used to programmatically start and stop processes
 with different users, handle their output, their log
 files, their errors, etc. It is a kind of much improved
Install software release
My node supports
 XWiki and KVM                         Added software
                                       releases
                       KVM
                      XWiki

                    supervisord

                     Buildout

                     SLAPGrid

                    GNU / Linux




                                       SlapOS.org
                                  12
Install service
                                              Added services
I want 2 KVM and
1 XWiki

                              KVM
                             XWiki

                           supervisord

                            Buildout

                            SLAPGrid

                           GNU / Linux




                                              SlapOS.org
                                         13
Computer Partition


            Directory
                                           ●Dedicated directory
            Isolated Runtime environment   ●Dedicated user
            Secure container               ●Dedicated global Ipv6

                                           ●Dedicated local Ipv4

                                           ●Dedicated network interface(TAP)




                                                                   SlapOS.org
                                                              14


Every computer partition consists of a dedicated IPv6
 address, a dedicated local IPv4 address, a dedicated
 tap interface (slaptapN), a dedicated user (slapuserN
 ) and a dedicated directory (/srv/slapgrid/slappartN).
 Optionnaly, a dedicated block device and routable
 IPv4 address can be defined.

SlapOS is usually configured to use IPv6 addresses.
  Although use of IPv6 is not a requirement (an IPv4
  only SlapOS deployment is possible) it is a strong
  recommendation. IPv6 simplifies greatly the
  deployment of SlapOS either for public Cloud
  applications or for private Cloud applications. In the
  case of public Clouds, use of IPv6 helps
  interconnecting SlapOS Slave Nodes hosted at
  home without having to setup tunnels or complex
  port redirections. In the case of private Cloud, IPv6
  replaces existing corporate tunnels with a more
3 commands of Slapgrid
                     Request


SR   Node                                     Master

            A list of software releases the
            slave node must have

                     Request


CP   Node
            A list of services the slave
                                              Master

            node must have



              Resource usage report
                                              Master
UR   Node




                                                       SlapOS.org
                                                  15
Demonstration
●   Slapconsole
●   Master node Web UI
●   Slave node
●   Computer partition




                                       SlapOS.org
                                  16
More information...
●   SlapOS.org
●   ViFiB.net
●   http://git.erp5.org/gitweb/slapos.git
●   https://github.com/SlapOS/slapos




                                                 SlapOS.org
                                            17
Thank you very much




                           SlapOS.org
                      18

More Related Content

What's hot

Snowflake Elastic Data Warehouse as a Service
Snowflake Elastic Data Warehouse as a ServiceSnowflake Elastic Data Warehouse as a Service
Snowflake Elastic Data Warehouse as a ServiceMineaki Motohashi
 
オラクルのHPC/GPUソリューションご紹介(2021/08版)
オラクルのHPC/GPUソリューションご紹介(2021/08版)オラクルのHPC/GPUソリューションご紹介(2021/08版)
オラクルのHPC/GPUソリューションご紹介(2021/08版)オラクルエンジニア通信
 
PostgreSQL10を導入!大規模データ分析事例からみるDWHとしてのPostgreSQL活用のポイント
PostgreSQL10を導入!大規模データ分析事例からみるDWHとしてのPostgreSQL活用のポイントPostgreSQL10を導入!大規模データ分析事例からみるDWHとしてのPostgreSQL活用のポイント
PostgreSQL10を導入!大規模データ分析事例からみるDWHとしてのPostgreSQL活用のポイントNTT DATA OSS Professional Services
 
僕のIntel nucが起動しないわけがない
僕のIntel nucが起動しないわけがない僕のIntel nucが起動しないわけがない
僕のIntel nucが起動しないわけがないTakuya ASADA
 
Snowflake architecture and_performance_kansaidb20180421
Snowflake architecture and_performance_kansaidb20180421Snowflake architecture and_performance_kansaidb20180421
Snowflake architecture and_performance_kansaidb20180421Mineaki Motohashi
 
HPE SimpliVity install mgmt guide 201907-01 (Taiwan-Chinese) ;HPE SimpliVity ...
HPE SimpliVity install mgmt guide 201907-01 (Taiwan-Chinese) ;HPE SimpliVity ...HPE SimpliVity install mgmt guide 201907-01 (Taiwan-Chinese) ;HPE SimpliVity ...
HPE SimpliVity install mgmt guide 201907-01 (Taiwan-Chinese) ;HPE SimpliVity ...裝機安 Angelo
 
Nutanix AHVの計画・設計・構築・運用 Overview
Nutanix AHVの計画・設計・構築・運用 OverviewNutanix AHVの計画・設計・構築・運用 Overview
Nutanix AHVの計画・設計・構築・運用 OverviewSatoshi Shimazaki
 
An Intrudction to OpenStack 2017
An Intrudction to OpenStack 2017An Intrudction to OpenStack 2017
An Intrudction to OpenStack 2017Haim Ateya
 
[SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか?
[SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか? [SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか?
[SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか? de:code 2017
 
Part 2: Data & AI 基盤 (製造リファレンス・アーキテクチャ勉強会)
Part 2: Data & AI 基盤 (製造リファレンス・アーキテクチャ勉強会)Part 2: Data & AI 基盤 (製造リファレンス・アーキテクチャ勉強会)
Part 2: Data & AI 基盤 (製造リファレンス・アーキテクチャ勉強会)Takeshi Fukuhara
 
Oracle Data Integrator R12.2.1.1 Agentセットアップガイド
Oracle Data Integrator R12.2.1.1 AgentセットアップガイドOracle Data Integrator R12.2.1.1 Agentセットアップガイド
Oracle Data Integrator R12.2.1.1 Agentセットアップガイドオラクルエンジニア通信
 
性能問題を起こしにくい 強いDBシステムの作り方(Ver. 2018.9)
性能問題を起こしにくい 強いDBシステムの作り方(Ver. 2018.9)性能問題を起こしにくい 強いDBシステムの作り方(Ver. 2018.9)
性能問題を起こしにくい 強いDBシステムの作り方(Ver. 2018.9)Tomoyuki Oota
 
パッケージングを支える技術 pyconjp2016
パッケージングを支える技術 pyconjp2016パッケージングを支える技術 pyconjp2016
パッケージングを支える技術 pyconjp2016Atsushi Odagiri
 
しばちょう先生が語る!オラクルデータベースの進化の歴史と最新技術動向#3
しばちょう先生が語る!オラクルデータベースの進化の歴史と最新技術動向#3しばちょう先生が語る!オラクルデータベースの進化の歴史と最新技術動向#3
しばちょう先生が語る!オラクルデータベースの進化の歴史と最新技術動向#3オラクルエンジニア通信
 
第4回Linux-HA勉強会資料 Pacemakerの紹介
第4回Linux-HA勉強会資料 Pacemakerの紹介第4回Linux-HA勉強会資料 Pacemakerの紹介
第4回Linux-HA勉強会資料 Pacemakerの紹介ksk_ha
 
(2020-01).HPE SimpliVity 如何分享腹內Datastore給現現有的ESXi使用
(2020-01).HPE SimpliVity 如何分享腹內Datastore給現現有的ESXi使用(2020-01).HPE SimpliVity 如何分享腹內Datastore給現現有的ESXi使用
(2020-01).HPE SimpliVity 如何分享腹內Datastore給現現有的ESXi使用裝機安 Angelo
 
XenDesktop / XenAppグラフィック ディープダイブ
XenDesktop / XenAppグラフィック ディープダイブ XenDesktop / XenAppグラフィック ディープダイブ
XenDesktop / XenAppグラフィック ディープダイブ Citrix Systems Japan
 
Logiciels et services gratuits utiles en thèse - version 2017
Logiciels et services gratuits utiles en thèse - version 2017Logiciels et services gratuits utiles en thèse - version 2017
Logiciels et services gratuits utiles en thèse - version 2017URFIST de Paris
 

What's hot (20)

Snowflake Elastic Data Warehouse as a Service
Snowflake Elastic Data Warehouse as a ServiceSnowflake Elastic Data Warehouse as a Service
Snowflake Elastic Data Warehouse as a Service
 
オラクルのHPC/GPUソリューションご紹介(2021/08版)
オラクルのHPC/GPUソリューションご紹介(2021/08版)オラクルのHPC/GPUソリューションご紹介(2021/08版)
オラクルのHPC/GPUソリューションご紹介(2021/08版)
 
PostgreSQL10を導入!大規模データ分析事例からみるDWHとしてのPostgreSQL活用のポイント
PostgreSQL10を導入!大規模データ分析事例からみるDWHとしてのPostgreSQL活用のポイントPostgreSQL10を導入!大規模データ分析事例からみるDWHとしてのPostgreSQL活用のポイント
PostgreSQL10を導入!大規模データ分析事例からみるDWHとしてのPostgreSQL活用のポイント
 
僕のIntel nucが起動しないわけがない
僕のIntel nucが起動しないわけがない僕のIntel nucが起動しないわけがない
僕のIntel nucが起動しないわけがない
 
Snowflake architecture and_performance_kansaidb20180421
Snowflake architecture and_performance_kansaidb20180421Snowflake architecture and_performance_kansaidb20180421
Snowflake architecture and_performance_kansaidb20180421
 
B-link-tree
B-link-treeB-link-tree
B-link-tree
 
HPE SimpliVity install mgmt guide 201907-01 (Taiwan-Chinese) ;HPE SimpliVity ...
HPE SimpliVity install mgmt guide 201907-01 (Taiwan-Chinese) ;HPE SimpliVity ...HPE SimpliVity install mgmt guide 201907-01 (Taiwan-Chinese) ;HPE SimpliVity ...
HPE SimpliVity install mgmt guide 201907-01 (Taiwan-Chinese) ;HPE SimpliVity ...
 
Nutanix AHVの計画・設計・構築・運用 Overview
Nutanix AHVの計画・設計・構築・運用 OverviewNutanix AHVの計画・設計・構築・運用 Overview
Nutanix AHVの計画・設計・構築・運用 Overview
 
An Intrudction to OpenStack 2017
An Intrudction to OpenStack 2017An Intrudction to OpenStack 2017
An Intrudction to OpenStack 2017
 
[SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか?
[SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか? [SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか?
[SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか?
 
Part 2: Data & AI 基盤 (製造リファレンス・アーキテクチャ勉強会)
Part 2: Data & AI 基盤 (製造リファレンス・アーキテクチャ勉強会)Part 2: Data & AI 基盤 (製造リファレンス・アーキテクチャ勉強会)
Part 2: Data & AI 基盤 (製造リファレンス・アーキテクチャ勉強会)
 
Oracle Data Integrator R12.2.1.1 Agentセットアップガイド
Oracle Data Integrator R12.2.1.1 AgentセットアップガイドOracle Data Integrator R12.2.1.1 Agentセットアップガイド
Oracle Data Integrator R12.2.1.1 Agentセットアップガイド
 
性能問題を起こしにくい 強いDBシステムの作り方(Ver. 2018.9)
性能問題を起こしにくい 強いDBシステムの作り方(Ver. 2018.9)性能問題を起こしにくい 強いDBシステムの作り方(Ver. 2018.9)
性能問題を起こしにくい 強いDBシステムの作り方(Ver. 2018.9)
 
パッケージングを支える技術 pyconjp2016
パッケージングを支える技術 pyconjp2016パッケージングを支える技術 pyconjp2016
パッケージングを支える技術 pyconjp2016
 
しばちょう先生が語る!オラクルデータベースの進化の歴史と最新技術動向#3
しばちょう先生が語る!オラクルデータベースの進化の歴史と最新技術動向#3しばちょう先生が語る!オラクルデータベースの進化の歴史と最新技術動向#3
しばちょう先生が語る!オラクルデータベースの進化の歴史と最新技術動向#3
 
第4回Linux-HA勉強会資料 Pacemakerの紹介
第4回Linux-HA勉強会資料 Pacemakerの紹介第4回Linux-HA勉強会資料 Pacemakerの紹介
第4回Linux-HA勉強会資料 Pacemakerの紹介
 
(2020-01).HPE SimpliVity 如何分享腹內Datastore給現現有的ESXi使用
(2020-01).HPE SimpliVity 如何分享腹內Datastore給現現有的ESXi使用(2020-01).HPE SimpliVity 如何分享腹內Datastore給現現有的ESXi使用
(2020-01).HPE SimpliVity 如何分享腹內Datastore給現現有的ESXi使用
 
XenDesktop / XenAppグラフィック ディープダイブ
XenDesktop / XenAppグラフィック ディープダイブ XenDesktop / XenAppグラフィック ディープダイブ
XenDesktop / XenAppグラフィック ディープダイブ
 
Logiciels et services gratuits utiles en thèse - version 2017
Logiciels et services gratuits utiles en thèse - version 2017Logiciels et services gratuits utiles en thèse - version 2017
Logiciels et services gratuits utiles en thèse - version 2017
 
Apache Spark 1000 nodes NTT DATA
Apache Spark 1000 nodes NTT DATAApache Spark 1000 nodes NTT DATA
Apache Spark 1000 nodes NTT DATA
 

Viewers also liked

English greek god ppt
English greek god pptEnglish greek god ppt
English greek god pptDiane Kang
 
Glucósidos cardíacos
Glucósidos cardíacosGlucósidos cardíacos
Glucósidos cardíacosEika Maldonado
 
Adobe Photoshop - руководство пользователя
Adobe Photoshop  -  руководство пользователяAdobe Photoshop  -  руководство пользователя
Adobe Photoshop - руководство пользователяинна ветрова
 
Medidas antropométricas
Medidas antropométricasMedidas antropométricas
Medidas antropométricasEika Maldonado
 
Ppt prevencion vial minga
Ppt prevencion vial mingaPpt prevencion vial minga
Ppt prevencion vial mingaVictor Cortes
 

Viewers also liked (6)

Court Order Admission
Court Order AdmissionCourt Order Admission
Court Order Admission
 
English greek god ppt
English greek god pptEnglish greek god ppt
English greek god ppt
 
Glucósidos cardíacos
Glucósidos cardíacosGlucósidos cardíacos
Glucósidos cardíacos
 
Adobe Photoshop - руководство пользователя
Adobe Photoshop  -  руководство пользователяAdobe Photoshop  -  руководство пользователя
Adobe Photoshop - руководство пользователя
 
Medidas antropométricas
Medidas antropométricasMedidas antropométricas
Medidas antropométricas
 
Ppt prevencion vial minga
Ppt prevencion vial mingaPpt prevencion vial minga
Ppt prevencion vial minga
 

Similar to SlapOS Distributed Cloud Computing

Malware analysis
Malware analysisMalware analysis
Malware analysisxabean
 
meetPHP#8 - PHP startups prototypes
meetPHP#8 - PHP startups prototypesmeetPHP#8 - PHP startups prototypes
meetPHP#8 - PHP startups prototypesMax Małecki
 
Ryu: network operating system
Ryu: network operating systemRyu: network operating system
Ryu: network operating systemIsaku Yamahata
 
software defined network, openflow protocol and its controllers
software defined network, openflow protocol and its controllerssoftware defined network, openflow protocol and its controllers
software defined network, openflow protocol and its controllersIsaku Yamahata
 
OpenStack and OpenFlow Demos
OpenStack and OpenFlow DemosOpenStack and OpenFlow Demos
OpenStack and OpenFlow DemosBrent Salisbury
 
Nvp deep dive_session_cee-day
Nvp deep dive_session_cee-dayNvp deep dive_session_cee-day
Nvp deep dive_session_cee-dayyfauser
 
DevOpsDays Taipei 2019 - Mastering IaC the DevOps Way
DevOpsDays Taipei 2019 - Mastering IaC the DevOps WayDevOpsDays Taipei 2019 - Mastering IaC the DevOps Way
DevOpsDays Taipei 2019 - Mastering IaC the DevOps Waysmalltown
 
Quantum - Virtual networks for Openstack
Quantum - Virtual networks for OpenstackQuantum - Virtual networks for Openstack
Quantum - Virtual networks for Openstacksalv_orlando
 
AFW: Dynamic Firewalls with Chef and Netfilter
AFW: Dynamic Firewalls with Chef and NetfilterAFW: Dynamic Firewalls with Chef and Netfilter
AFW: Dynamic Firewalls with Chef and Netfilterjvehent
 
A Tale of a Server Architecture (Frozen Rails 2012)
A Tale of a Server Architecture (Frozen Rails 2012)A Tale of a Server Architecture (Frozen Rails 2012)
A Tale of a Server Architecture (Frozen Rails 2012)Flowdock
 
COP_RoR_QuArrk_Session_Oct_2022.pptx
COP_RoR_QuArrk_Session_Oct_2022.pptxCOP_RoR_QuArrk_Session_Oct_2022.pptx
COP_RoR_QuArrk_Session_Oct_2022.pptxNitesh95975
 
Let's Containerize New York with Docker!
Let's Containerize New York with Docker!Let's Containerize New York with Docker!
Let's Containerize New York with Docker!Jérôme Petazzoni
 
Deployment with Ruby on Rails
Deployment with Ruby on RailsDeployment with Ruby on Rails
Deployment with Ruby on RailsJonathan Weiss
 
OpenStack Dragonflow shenzhen and Hangzhou meetups
OpenStack Dragonflow shenzhen and Hangzhou  meetupsOpenStack Dragonflow shenzhen and Hangzhou  meetups
OpenStack Dragonflow shenzhen and Hangzhou meetupsEran Gampel
 
4. open mano set up and usage
4. open mano set up and usage4. open mano set up and usage
4. open mano set up and usagevideos
 
A Fabric/Puppet Build/Deploy System
A Fabric/Puppet Build/Deploy SystemA Fabric/Puppet Build/Deploy System
A Fabric/Puppet Build/Deploy Systemadrian_nye
 
Build a Cloud Day SF - Crash Course on Open Source Cloud Computing
Build a Cloud Day SF - Crash Course on Open Source Cloud ComputingBuild a Cloud Day SF - Crash Course on Open Source Cloud Computing
Build a Cloud Day SF - Crash Course on Open Source Cloud ComputingMark Hinkle
 
Dynamic Languages Web Frameworks Indicthreads 2009
Dynamic Languages Web Frameworks Indicthreads 2009Dynamic Languages Web Frameworks Indicthreads 2009
Dynamic Languages Web Frameworks Indicthreads 2009Arun Gupta
 

Similar to SlapOS Distributed Cloud Computing (20)

Malware analysis
Malware analysisMalware analysis
Malware analysis
 
meetPHP#8 - PHP startups prototypes
meetPHP#8 - PHP startups prototypesmeetPHP#8 - PHP startups prototypes
meetPHP#8 - PHP startups prototypes
 
Ryu: network operating system
Ryu: network operating systemRyu: network operating system
Ryu: network operating system
 
software defined network, openflow protocol and its controllers
software defined network, openflow protocol and its controllerssoftware defined network, openflow protocol and its controllers
software defined network, openflow protocol and its controllers
 
OpenStack and OpenFlow Demos
OpenStack and OpenFlow DemosOpenStack and OpenFlow Demos
OpenStack and OpenFlow Demos
 
Nvp deep dive_session_cee-day
Nvp deep dive_session_cee-dayNvp deep dive_session_cee-day
Nvp deep dive_session_cee-day
 
DevOpsDays Taipei 2019 - Mastering IaC the DevOps Way
DevOpsDays Taipei 2019 - Mastering IaC the DevOps WayDevOpsDays Taipei 2019 - Mastering IaC the DevOps Way
DevOpsDays Taipei 2019 - Mastering IaC the DevOps Way
 
Quantum - Virtual networks for Openstack
Quantum - Virtual networks for OpenstackQuantum - Virtual networks for Openstack
Quantum - Virtual networks for Openstack
 
AFW: Dynamic Firewalls with Chef and Netfilter
AFW: Dynamic Firewalls with Chef and NetfilterAFW: Dynamic Firewalls with Chef and Netfilter
AFW: Dynamic Firewalls with Chef and Netfilter
 
A Tale of a Server Architecture (Frozen Rails 2012)
A Tale of a Server Architecture (Frozen Rails 2012)A Tale of a Server Architecture (Frozen Rails 2012)
A Tale of a Server Architecture (Frozen Rails 2012)
 
COP_RoR_QuArrk_Session_Oct_2022.pptx
COP_RoR_QuArrk_Session_Oct_2022.pptxCOP_RoR_QuArrk_Session_Oct_2022.pptx
COP_RoR_QuArrk_Session_Oct_2022.pptx
 
Ryu ods2012-spring
Ryu ods2012-springRyu ods2012-spring
Ryu ods2012-spring
 
Let's Containerize New York with Docker!
Let's Containerize New York with Docker!Let's Containerize New York with Docker!
Let's Containerize New York with Docker!
 
Splunking the JVM
Splunking the JVMSplunking the JVM
Splunking the JVM
 
Deployment with Ruby on Rails
Deployment with Ruby on RailsDeployment with Ruby on Rails
Deployment with Ruby on Rails
 
OpenStack Dragonflow shenzhen and Hangzhou meetups
OpenStack Dragonflow shenzhen and Hangzhou  meetupsOpenStack Dragonflow shenzhen and Hangzhou  meetups
OpenStack Dragonflow shenzhen and Hangzhou meetups
 
4. open mano set up and usage
4. open mano set up and usage4. open mano set up and usage
4. open mano set up and usage
 
A Fabric/Puppet Build/Deploy System
A Fabric/Puppet Build/Deploy SystemA Fabric/Puppet Build/Deploy System
A Fabric/Puppet Build/Deploy System
 
Build a Cloud Day SF - Crash Course on Open Source Cloud Computing
Build a Cloud Day SF - Crash Course on Open Source Cloud ComputingBuild a Cloud Day SF - Crash Course on Open Source Cloud Computing
Build a Cloud Day SF - Crash Course on Open Source Cloud Computing
 
Dynamic Languages Web Frameworks Indicthreads 2009
Dynamic Languages Web Frameworks Indicthreads 2009Dynamic Languages Web Frameworks Indicthreads 2009
Dynamic Languages Web Frameworks Indicthreads 2009
 

Recently uploaded

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 

Recently uploaded (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

SlapOS Distributed Cloud Computing

  • 1. SlapOS Distributed Cloud Computing Yusei Tahara<yusei@nexedi.com> Nexedi KK SlapOS.org
  • 2. What does SlapOS do actually? ● Managing computers ● Building software ● Deploying software ● Managing processes ● Collecting usage ● Pricing and invoicing SlapOS automates administration tasks. SlapOS.org
  • 3. Introduction and why we develop it? ● We are ERP solution provider. ● Our customers need solid system. ● Setup procedure of our ERP is complex. ● We want to share good configurations with others. ● We must be able to deploy production system any number of times. ● We may want to change OS. ● Deployment must be done quickly. ● Package maintenance is annoying. SlapOS.org
  • 4. Master and Slaves One master node Slave node Slave node Slave node Slave node Slave node Slave node SlapOS.org
  • 5. Overview SlapOS Master System for managing cloud Web interface available A real computer used Master itself is distributed as a part of cloud Cloud operating tool Master Client Slave Slap protocol Slap protocol slapconsole slapgrid Office Slap protocol Slave Client slapgrid slapconsole Slave Home slapgrid Data center SlapOS.org
  • 6. Overview Slave Master What should I be? You must be... Slave node is stateless. Master node is statefull. Slave node asks master Master node knows node anything. everything about slave node. SlapOS.org
  • 7. Overview I want ERP5 Here you are. SlapOS.org
  • 8. Master node ●Stateful ●Store various data ●User registration ●Computer registration ●Recipe registration ●Computer usage record ●Web management UI ●Implemented on top of ERP5 SlapOS.org
  • 9. Slave Node 1 real computer POSIX Architecture independent Core software Computer partitions(CP) Slapgrid Buildout CP Supervisord CP Software releases(SR) CP XWiki CP KVM SlapOS.org
  • 10. Setup slave node I want to add a computer to my cloud. GNU / Linux SlapOS.org
  • 11. Setup slave node Installation done supervisord Buildout SLAPGrid GNU / Linux SlapOS.org
  • 12. Install software release My node supports XWiki and KVM Added software releases KVM XWiki supervisord Buildout SLAPGrid GNU / Linux SlapOS.org
  • 13. Install service Added services I want 2 KVM and 1 XWiki KVM XWiki supervisord Buildout SLAPGrid GNU / Linux SlapOS.org
  • 14. Computer Partition Directory ●Dedicated directory ●Dedicated user Isolated Runtime environment Secure container ●Dedicated global Ipv6 ●Dedicated local Ipv4 ●Dedicated network interface(TAP) SlapOS.org
  • 15. 3 commands of Slapgrid Request SR Node Master A list of software releases the slave node must have Request CP Node A list of services the slave Master node must have Resource usage report Master UR Node SlapOS.org
  • 16. Demonstration ● Slapconsole ● Master node Web UI ● Slave node ● Computer partition SlapOS.org
  • 17. More information... ● SlapOS.org ● ViFiB.net ● http://git.erp5.org/gitweb/slapos.git ● https://github.com/SlapOS/slapos SlapOS.org
  • 18. Thank you very much SlapOS.org
  • 19. SlapOS Distributed Cloud Computing Yusei Tahara<yusei@nexedi.com> Nexedi KK SlapOS.org 1
  • 20. What does SlapOS do actually? ● Managing computers ● Building software ● Deploying software ● Managing processes ● Collecting usage ● Pricing and invoicing SlapOS automates administration tasks. SlapOS.org 2
  • 21. Introduction and why we develop it? ● We are ERP solution provider. ● Our customers need solid system. ● Setup procedure of our ERP is complex. ● We want to share good configurations with others. ● We must be able to deploy production system any number of times. ● We may want to change OS. ● Deployment must be done quickly. ● Package maintenance is annoying. SlapOS.org 3
  • 22. Master and Slaves One master node Slave node Slave node Slave node Slave node Slave node Slave node SlapOS.org 4 SlapOS is based on a Master and Slave design. We are going to provide here an overview of SlapOS architecture. We are going in particular to explain the role of Master node and Slave nodes, as well as the software components which they rely on to operate a Distributed Cloud.
  • 23. Overview SlapOS Master System for managing cloud Web interface available A real computer used Master itself is distributed as a part of cloud Cloud operating tool Master Client Slave Slap protocol Slap protocol slapconsole slapgrid Office Slap protocol Slave Client slapgrid slapconsole Slave Home slapgrid Data center SlapOS.org 5 Slave nodes request to Master nodes which software they should install, which software they show run and report to Master node how much resources each running software has been using for a certain period of time. Master nodes keeps track of available slave node capacity and available software. Master node also acts as a Web portal and Web service so that end users and software bots can request software instances which are instantiated and run on Slave nodes. Master nodes are stateful. Slave nodes are stateless. More precisely, all information required to rebuild a Slave node is stored in the Master node. This may include the URL of a backup service which keeps a online copy of data so that in case of failure of a Slave node, a replacement Slave node can be rebuilt with the same data. It is thus very important to make sure that the state
  • 24. Overview Slave Master What should I be? You must be... Slave node is stateless. Master node is statefull. Slave node asks master Master node knows node anything. everything about slave node. SlapOS.org 6
  • 25. Overview I want ERP5 Here you are. SlapOS.org 7
  • 26. Master node ●Stateful ●Store various data ●User registration ●Computer registration ●Recipe registration ●Computer usage record ●Web management UI ●Implemented on top of ERP5 SlapOS.org 8 Let us now review in more detail the role of the SlapOS master node. SlapOS keeps track of the identity of all parties which are involved in the process of requesting Cloud resources, accounting Cloud resources and billing Cloud resources. This includes end users (Person) and their company (Organisation ). It includes suppliers of cloud resources as well as consumers of cloud resources. It also include so- called computer partitions which may run a software robot to request Cloud resources without human intervention. It also includes Slave nodes which need to request to SlapOS master which resources should be allocated. SlapOS generated X509 certificates for each type of identity: X509 certificates for people like you and me who login, an X509 certificate for each server which contributes to the resources of SlapOS and an X509 for each running software instance which may need to request or notify SlapOS master.
  • 27. Slave Node 1 real computer POSIX Architecture independent Core software Computer partitions(CP) Slapgrid Buildout CP Supervisord CP Software releases(SR) CP XWiki CP KVM SlapOS.org 9 SlapOS Slave nodes are pretty simple compared to the Master node. Every slave node needs to run software requested by the Master node. It is thus on the Slave nodes that software is installed. To save disk space, Slave nodes only install the software which they really need. Each slave node is divided into a certain number of so- called computer partitions. One may view a computer partition as a lightweight secure container, based on Unix users and directories rather than on virtualization. A typical barebone PC can easily provide 100 computer partitions and can thus run 100 wordpress blogs or 100 e-commerce sites, each of which with its own independent database. A larger server can contain 200 to 500 computer partitions. SlapOS approach of computer partitions was designed
  • 28. Setup slave node I want to add a computer to my cloud. GNU / Linux SlapOS.org 10 SlapOS Slave software consists of a POSIX operating system, SlapGRID, supervisord and buildout. SlapOS is designed to run on any operating system which supports GNU's glibc and supervisord. Such operating systems include for example GNU/Linux, FreeBSD, MacOS/X, Solaris, AIX, etc. We hope in the future that Microsoft Windows will also be supported as a host (Microsoft Windows is already supported as a guest) through glibc implementation on windows and a port of supervisord to Windows.
  • 29. Setup slave node Installation done supervisord Buildout SLAPGrid GNU / Linux SlapOS.org 11 SlapOS relies on mature software: buildout and supervisord. Both software are controlled by SlapGRID, the only original software of SlapOS. SlapGRID acts as a glue between SlapOS Master node (ERP5) and both buildout and supervisord. SlapGRID requests to SlapOS Master Node which software should be installed and executed. SlapGRID uses buildout to install software and supervisord to start and stop software processes. SlapGRID also collects accounting data produced by each running software and sends it back to SlapOS Master. Let us now study with more detail the role of supervisord and buildout. Supervisord is a process control daemon. It can be used to programmatically start and stop processes with different users, handle their output, their log files, their errors, etc. It is a kind of much improved
  • 30. Install software release My node supports XWiki and KVM Added software releases KVM XWiki supervisord Buildout SLAPGrid GNU / Linux SlapOS.org 12
  • 31. Install service Added services I want 2 KVM and 1 XWiki KVM XWiki supervisord Buildout SLAPGrid GNU / Linux SlapOS.org 13
  • 32. Computer Partition Directory ●Dedicated directory Isolated Runtime environment ●Dedicated user Secure container ●Dedicated global Ipv6 ●Dedicated local Ipv4 ●Dedicated network interface(TAP) SlapOS.org 14 Every computer partition consists of a dedicated IPv6 address, a dedicated local IPv4 address, a dedicated tap interface (slaptapN), a dedicated user (slapuserN ) and a dedicated directory (/srv/slapgrid/slappartN). Optionnaly, a dedicated block device and routable IPv4 address can be defined. SlapOS is usually configured to use IPv6 addresses. Although use of IPv6 is not a requirement (an IPv4 only SlapOS deployment is possible) it is a strong recommendation. IPv6 simplifies greatly the deployment of SlapOS either for public Cloud applications or for private Cloud applications. In the case of public Clouds, use of IPv6 helps interconnecting SlapOS Slave Nodes hosted at home without having to setup tunnels or complex port redirections. In the case of private Cloud, IPv6 replaces existing corporate tunnels with a more
  • 33. 3 commands of Slapgrid Request SR Node Master A list of software releases the slave node must have Request CP Node A list of services the slave Master node must have Resource usage report Master UR Node SlapOS.org 15
  • 34. Demonstration ● Slapconsole ● Master node Web UI ● Slave node ● Computer partition SlapOS.org 16
  • 35. More information... ● SlapOS.org ● ViFiB.net ● http://git.erp5.org/gitweb/slapos.git ● https://github.com/SlapOS/slapos SlapOS.org 17
  • 36. Thank you very much SlapOS.org 18