SlideShare a Scribd company logo
1 of 16
Download to read offline
Cloudstack networking の内側




            Hiroaki KAWAI
初期導入時
• ウィザードに従うと…
  ▫ IP アドレスをたくさん入力する…
  ▫ VLAN とかも…
• PhysicalNetwork…
• トラフィックの種類…
そして VM 起動時…

 • 普通に VM を起動させようとすると…




DefaultIsolatedNetworkOfferingWithSourceNatService


                     ↑何これ?
NetworkOffering とは

• 「ネットワーク機能セット」をまとめたもの
  ▫ Network function
• 組み込みの機能
  ▫ Vpn, Dhcp, Dns, Gateway, Firewall, Lb, UserData,
    SourceNat, StaticNat, PortForwarding,
    SecurityGroup, NetworkACL, Connectivity
NetworkOffering
• さっきの Default.....NatService は
  ▫ Dhcp, Dns, Firewall, Gateway, Lb, PortForwarding,
    SourceNat, StaticNat, UserData, Vpn が有効になって
    ます
  ▫ UI で確認できます
ネットワークがわかりにくい…なぜか
魔法があるように見える


      VM


                        “off
                               er”
                「機能セット」の提供

       魔法

                「使える部品」を使って
                「何とか」実現する
     ネットワーク機器

      物理結線
魔法の内側を見てみましょう
「使える部品」 = NetworkElement
• NetworkElement
  ▫ Cloudstack用語
• 例えば
  ▫ 「DHCP の機能」は「Virtual Router」の機能を使って実現
      DHCP の機能 = Network.Service
      Virtual Router = Network.Provider (NetworkElement)
• どんな部品があるかは、UI の表示で垣間見られる



                       実は…
components.xml

• 読んだことありますか?
   ▫ /etc/cloud/management/components.xml にあります
• これは何?
   ▫ DI コンテナの設定ファイル
   ▫ 「プラグイン機構」と理解しても構いません
   ▫ ComponentLocator が起動時に読み込んで、
     management server のセットアップを行ないます。
<adapters key="com.cloud.network.element.NetworkElement">
    <adapter name="VirtualRouter" class="com.cloud.network.element.VirtualRouterElement"/>
    <adapter name="Ovs" class="com.cloud.network.element.OvsElement"/>
    <adapter name="ExternalDhcpServer" class="com.cloud.network.element.ExternalDhcpElement"/>
    <adapter name="BareMetal" class="com.cloud.network.element.BareMetalElement"/>
    <adapter name="SecurityGroupProvider" class="com.cloud.network.element.SecurityGroupElement"/>
    <adapter name="VpcVirtualRouter" class="com.cloud.network.element.VpcVirtualRouterElement"/>
    <adapter name="NiciraNvp" class="com.cloud.network.element.NiciraNvpElement"/>
</adapters>

                          ここにあるものが全て!!
NetworkGuru
• 部品間の調整役
  ▫   ある意味一番魔法を使っているもの
  ▫   NetworkElement が協調動作できるようにする
  ▫   「おぜん立て」をする
  ▫   Network ひとつにつき、ひとつ選出される

                                 Offering で決まる



  NetworkGuru   NetworkElement   NetworkElement   NetworkElement


  ネットワーク操作時の処理の流れ
NetworkGuru の調べ方
• もっとも簡単な方法は SQL
 ▫ SELECT name,guru_name FROM networks

        mysql> select name,guru_name from networks;
        +------+---------------------+
        | name | guru_name           |
        +------+---------------------+
        | NULL | PublicNetworkGuru   |
        | NULL | PodBasedNetworkGuru |
        | NULL | ControlNetworkGuru |
        | NULL | StorageNetworkGuru |
        | net1 | SspNetworkGuru      |
        +------+---------------------+
        5 rows in set (0.00 sec)
components.xml (again)

 • NetworkGuru もプラグイン的に読み込まれます

<adapters key="com.cloud.network.guru.NetworkGuru">
    <adapter name="StorageNetworkGuru" class="com.cloud.network.guru.StorageNetworkGuru"/>
    <adapter name="ExternalGuestNetworkGuru" class="com.cloud.network.guru.ExternalGuestNetworkGuru"/>
    <adapter name="PublicNetworkGuru" class="com.cloud.network.guru.PublicNetworkGuru"/>
    <adapter name="PodBasedNetworkGuru" class="com.cloud.network.guru.PodBasedNetworkGuru"/>
    <adapter name="ControlNetworkGuru" class="com.cloud.network.guru.ControlNetworkGuru"/>
    <adapter name="DirectNetworkGuru" class="com.cloud.network.guru.DirectNetworkGuru"/>
    <adapter name="DirectPodBasedNetworkGuru" class="com.cloud.network.guru.DirectPodBasedNetworkGuru"/>
    <adapter name="OvsGuestNetworkGuru" class="com.cloud.network.guru.OvsGuestNetworkGuru"/>
    <adapter name="PrivateNetworkGuru" class="com.cloud.network.guru.PrivateNetworkGuru"/>
    <adapter name="NiciraNvpGuestNetworkGuru" class="com.cloud.network.guru.NiciraNvpGuestNetworkGuru"/>
</adapters>




                              ここにあるものが全て!!

                 この中のどれかがネットワークに割り当たっているはずです。
魔法の正体


             VM


                                         “off
                                                er”
                                 「機能セット」の提供

   NetworkGuru, NetworkElement

                                 「使える部品」を使って
                                 「何とか」実現する
          ネットワーク機器

             物理結線
そして…
4.1 master branch
• Spring framework の導入
  ▫ ComponentLocator の廃止
     いろいろ限界を感じる…
  ▫ より標準的でこなれた仕組みに乗り換える
  ▫ applicationContext.xml と componentContext.xml

More Related Content

What's hot

OpenStack概要 ~仮想ネットワーク~
OpenStack概要 ~仮想ネットワーク~OpenStack概要 ~仮想ネットワーク~
OpenStack概要 ~仮想ネットワーク~Masaya Aoyama
 
Ansible とネットワーク自動化の概要(SmartCS と Ansible の連携による自動化の可能性を体験!)
Ansible とネットワーク自動化の概要(SmartCS と Ansible の連携による自動化の可能性を体験!)Ansible とネットワーク自動化の概要(SmartCS と Ansible の連携による自動化の可能性を体験!)
Ansible とネットワーク自動化の概要(SmartCS と Ansible の連携による自動化の可能性を体験!)akira6592
 
cobbler + koan VPS作成の自動化
cobbler + koan VPS作成の自動化cobbler + koan VPS作成の自動化
cobbler + koan VPS作成の自動化Hikaru Ashino
 
TripleOの光と闇
TripleOの光と闇TripleOの光と闇
TripleOの光と闇Manabu Ori
 
SugarCRM meets Azure
SugarCRM meets AzureSugarCRM meets Azure
SugarCRM meets AzureToshiya TSURU
 
Mackerel & Norikra mackerel meetup #4 LT
Mackerel & Norikra mackerel meetup #4 LTMackerel & Norikra mackerel meetup #4 LT
Mackerel & Norikra mackerel meetup #4 LTMasahiro Nagano
 
Express Route で遊んでみた
Express Route で遊んでみたExpress Route で遊んでみた
Express Route で遊んでみたひさし
 
オーバーレイネットワークで実現するプライベートクラウド -OpenStack/OpenContrailを用いたプライベートクラウドの構築及び評価計画のご紹介-
オーバーレイネットワークで実現するプライベートクラウド -OpenStack/OpenContrailを用いたプライベートクラウドの構築及び評価計画のご紹介-オーバーレイネットワークで実現するプライベートクラウド -OpenStack/OpenContrailを用いたプライベートクラウドの構築及び評価計画のご紹介-
オーバーレイネットワークで実現するプライベートクラウド -OpenStack/OpenContrailを用いたプライベートクラウドの構築及び評価計画のご紹介-Takashi Sogabe
 
SCUGJ第19回勉強会:RASGWとなにかでつないでみた
SCUGJ第19回勉強会:RASGWとなにかでつないでみたSCUGJ第19回勉強会:RASGWとなにかでつないでみた
SCUGJ第19回勉強会:RASGWとなにかでつないでみたwind06106
 
サポート エンジニアが語る、Microsoft Azure を支えるインフラの秘密
サポート エンジニアが語る、Microsoft Azure を支えるインフラの秘密サポート エンジニアが語る、Microsoft Azure を支えるインフラの秘密
サポート エンジニアが語る、Microsoft Azure を支えるインフラの秘密ShuheiUda
 
Introduction of Azure Docker Integration
Introduction of Azure Docker IntegrationIntroduction of Azure Docker Integration
Introduction of Azure Docker IntegrationTakekazu Omi
 
Azure Fabric Service Reliable Collection
Azure Fabric Service Reliable CollectionAzure Fabric Service Reliable Collection
Azure Fabric Service Reliable CollectionTakekazu Omi
 
サポート エンジニアが Azure Networking をじっくりたっぷり語りつくす会
サポート エンジニアが Azure Networking をじっくりたっぷり語りつくす会サポート エンジニアが Azure Networking をじっくりたっぷり語りつくす会
サポート エンジニアが Azure Networking をじっくりたっぷり語りつくす会ShuheiUda
 
AmebaのOpenStack - OpenStack最新情報セミナー 2015年12月
AmebaのOpenStack - OpenStack最新情報セミナー 2015年12月AmebaのOpenStack - OpenStack最新情報セミナー 2015年12月
AmebaのOpenStack - OpenStack最新情報セミナー 2015年12月VirtualTech Japan Inc.
 
JAZUG クラウドデザインパターンのコードを覗く
JAZUG クラウドデザインパターンのコードを覗くJAZUG クラウドデザインパターンのコードを覗く
JAZUG クラウドデザインパターンのコードを覗くTakekazu Omi
 
OpenStack勉強会
OpenStack勉強会OpenStack勉強会
OpenStack勉強会Yuki Obara
 
AKS と ACI を組み合わせて使ってみた
AKS と ACI を組み合わせて使ってみたAKS と ACI を組み合わせて使ってみた
AKS と ACI を組み合わせて使ってみたHideaki Aoyagi
 

What's hot (20)

OpenStack概要 ~仮想ネットワーク~
OpenStack概要 ~仮想ネットワーク~OpenStack概要 ~仮想ネットワーク~
OpenStack概要 ~仮想ネットワーク~
 
Ansible とネットワーク自動化の概要(SmartCS と Ansible の連携による自動化の可能性を体験!)
Ansible とネットワーク自動化の概要(SmartCS と Ansible の連携による自動化の可能性を体験!)Ansible とネットワーク自動化の概要(SmartCS と Ansible の連携による自動化の可能性を体験!)
Ansible とネットワーク自動化の概要(SmartCS と Ansible の連携による自動化の可能性を体験!)
 
cobbler + koan VPS作成の自動化
cobbler + koan VPS作成の自動化cobbler + koan VPS作成の自動化
cobbler + koan VPS作成の自動化
 
OSC 2012 Fukuoka
OSC 2012 FukuokaOSC 2012 Fukuoka
OSC 2012 Fukuoka
 
TripleOの光と闇
TripleOの光と闇TripleOの光と闇
TripleOの光と闇
 
SugarCRM meets Azure
SugarCRM meets AzureSugarCRM meets Azure
SugarCRM meets Azure
 
Mackerel & Norikra mackerel meetup #4 LT
Mackerel & Norikra mackerel meetup #4 LTMackerel & Norikra mackerel meetup #4 LT
Mackerel & Norikra mackerel meetup #4 LT
 
Express Route で遊んでみた
Express Route で遊んでみたExpress Route で遊んでみた
Express Route で遊んでみた
 
オーバーレイネットワークで実現するプライベートクラウド -OpenStack/OpenContrailを用いたプライベートクラウドの構築及び評価計画のご紹介-
オーバーレイネットワークで実現するプライベートクラウド -OpenStack/OpenContrailを用いたプライベートクラウドの構築及び評価計画のご紹介-オーバーレイネットワークで実現するプライベートクラウド -OpenStack/OpenContrailを用いたプライベートクラウドの構築及び評価計画のご紹介-
オーバーレイネットワークで実現するプライベートクラウド -OpenStack/OpenContrailを用いたプライベートクラウドの構築及び評価計画のご紹介-
 
SCUGJ第19回勉強会:RASGWとなにかでつないでみた
SCUGJ第19回勉強会:RASGWとなにかでつないでみたSCUGJ第19回勉強会:RASGWとなにかでつないでみた
SCUGJ第19回勉強会:RASGWとなにかでつないでみた
 
サポート エンジニアが語る、Microsoft Azure を支えるインフラの秘密
サポート エンジニアが語る、Microsoft Azure を支えるインフラの秘密サポート エンジニアが語る、Microsoft Azure を支えるインフラの秘密
サポート エンジニアが語る、Microsoft Azure を支えるインフラの秘密
 
Introduction of Azure Docker Integration
Introduction of Azure Docker IntegrationIntroduction of Azure Docker Integration
Introduction of Azure Docker Integration
 
Azure Fabric Service Reliable Collection
Azure Fabric Service Reliable CollectionAzure Fabric Service Reliable Collection
Azure Fabric Service Reliable Collection
 
サポート エンジニアが Azure Networking をじっくりたっぷり語りつくす会
サポート エンジニアが Azure Networking をじっくりたっぷり語りつくす会サポート エンジニアが Azure Networking をじっくりたっぷり語りつくす会
サポート エンジニアが Azure Networking をじっくりたっぷり語りつくす会
 
AmebaのOpenStack - OpenStack最新情報セミナー 2015年12月
AmebaのOpenStack - OpenStack最新情報セミナー 2015年12月AmebaのOpenStack - OpenStack最新情報セミナー 2015年12月
AmebaのOpenStack - OpenStack最新情報セミナー 2015年12月
 
JAZUG クラウドデザインパターンのコードを覗く
JAZUG クラウドデザインパターンのコードを覗くJAZUG クラウドデザインパターンのコードを覗く
JAZUG クラウドデザインパターンのコードを覗く
 
nginx入門
nginx入門nginx入門
nginx入門
 
OpenStack勉強会
OpenStack勉強会OpenStack勉強会
OpenStack勉強会
 
20180123 power shell
20180123 power shell20180123 power shell
20180123 power shell
 
AKS と ACI を組み合わせて使ってみた
AKS と ACI を組み合わせて使ってみたAKS と ACI を組み合わせて使ってみた
AKS と ACI を組み合わせて使ってみた
 

Viewers also liked

Leading Education In The Technology Age Tdn
Leading Education In The Technology Age TdnLeading Education In The Technology Age Tdn
Leading Education In The Technology Age Tdntdnelson2
 
Communication; the Science and Art of it
Communication; the Science and Art of itCommunication; the Science and Art of it
Communication; the Science and Art of itSikhar Saikia
 
Trade (TAA) Financial Overview - August 2013
Trade (TAA) Financial Overview - August 2013Trade (TAA) Financial Overview - August 2013
Trade (TAA) Financial Overview - August 2013Timothy Theberge
 
8. Evaluation of Student Performance
8. Evaluation of Student Performance8. Evaluation of Student Performance
8. Evaluation of Student PerformanceISEAL Alliance
 
Как готовить Scrum
Как готовить ScrumКак готовить Scrum
Как готовить ScrumGromina
 
Dette Er Muhammad _ NORWEGIAN
Dette Er  Muhammad _ NORWEGIANDette Er  Muhammad _ NORWEGIAN
Dette Er Muhammad _ NORWEGIANAbdullah Baspren
 
The twelve months of merch
The twelve months of merchThe twelve months of merch
The twelve months of merchladdin1
 
台灣民族鬥爭的理念和方法02072009
台灣民族鬥爭的理念和方法02072009台灣民族鬥爭的理念和方法02072009
台灣民族鬥爭的理念和方法02072009chioufeng
 
Kasim'2010 gençlik korosu
Kasim'2010 gençlik korosuKasim'2010 gençlik korosu
Kasim'2010 gençlik korosuTangül Müdok
 
архитектура компьютера Petrenko
архитектура компьютера Petrenkoархитектура компьютера Petrenko
архитектура компьютера Petrenkomasha01
 
The ISEAL Alliance: An Introduction
The ISEAL Alliance: An IntroductionThe ISEAL Alliance: An Introduction
The ISEAL Alliance: An IntroductionISEAL Alliance
 
Sneeuwklassen 2009 Terugkomdag Vol
Sneeuwklassen 2009 Terugkomdag VolSneeuwklassen 2009 Terugkomdag Vol
Sneeuwklassen 2009 Terugkomdag Volsint.al.jo
 
Wireless openflow with stratosphere experimenter
Wireless openflow with stratosphere experimenterWireless openflow with stratosphere experimenter
Wireless openflow with stratosphere experimenterHiroaki Kawai
 
день из жизни постящийся Russian
день из жизни постящийся   Russianдень из жизни постящийся   Russian
день из жизни постящийся RussianAbdullah Baspren
 
Chaos To Creativity
Chaos To CreativityChaos To Creativity
Chaos To CreativityAnna Luna
 

Viewers also liked (20)

Islam Denounces Terrorism
Islam Denounces TerrorismIslam Denounces Terrorism
Islam Denounces Terrorism
 
Leading Education In The Technology Age Tdn
Leading Education In The Technology Age TdnLeading Education In The Technology Age Tdn
Leading Education In The Technology Age Tdn
 
Communication; the Science and Art of it
Communication; the Science and Art of itCommunication; the Science and Art of it
Communication; the Science and Art of it
 
Trade (TAA) Financial Overview - August 2013
Trade (TAA) Financial Overview - August 2013Trade (TAA) Financial Overview - August 2013
Trade (TAA) Financial Overview - August 2013
 
8. Evaluation of Student Performance
8. Evaluation of Student Performance8. Evaluation of Student Performance
8. Evaluation of Student Performance
 
Как готовить Scrum
Как готовить ScrumКак готовить Scrum
Как готовить Scrum
 
Skype Api
Skype ApiSkype Api
Skype Api
 
26us
26us26us
26us
 
Dette Er Muhammad _ NORWEGIAN
Dette Er  Muhammad _ NORWEGIANDette Er  Muhammad _ NORWEGIAN
Dette Er Muhammad _ NORWEGIAN
 
Play gopenflow
Play gopenflowPlay gopenflow
Play gopenflow
 
The twelve months of merch
The twelve months of merchThe twelve months of merch
The twelve months of merch
 
台灣民族鬥爭的理念和方法02072009
台灣民族鬥爭的理念和方法02072009台灣民族鬥爭的理念和方法02072009
台灣民族鬥爭的理念和方法02072009
 
Kasim'2010 gençlik korosu
Kasim'2010 gençlik korosuKasim'2010 gençlik korosu
Kasim'2010 gençlik korosu
 
архитектура компьютера Petrenko
архитектура компьютера Petrenkoархитектура компьютера Petrenko
архитектура компьютера Petrenko
 
The ISEAL Alliance: An Introduction
The ISEAL Alliance: An IntroductionThe ISEAL Alliance: An Introduction
The ISEAL Alliance: An Introduction
 
Sneeuwklassen 2009 Terugkomdag Vol
Sneeuwklassen 2009 Terugkomdag VolSneeuwklassen 2009 Terugkomdag Vol
Sneeuwklassen 2009 Terugkomdag Vol
 
Wireless openflow with stratosphere experimenter
Wireless openflow with stratosphere experimenterWireless openflow with stratosphere experimenter
Wireless openflow with stratosphere experimenter
 
день из жизни постящийся Russian
день из жизни постящийся   Russianдень из жизни постящийся   Russian
день из жизни постящийся Russian
 
Valentine
ValentineValentine
Valentine
 
Chaos To Creativity
Chaos To CreativityChaos To Creativity
Chaos To Creativity
 

Similar to Cloudstack networking の内側

Apache CloudStack 4.0 インストール(ver0.5)
Apache CloudStack 4.0 インストール(ver0.5)Apache CloudStack 4.0 インストール(ver0.5)
Apache CloudStack 4.0 インストール(ver0.5)Yasuhiro Arai
 
Apache cloudstack4.0インストール
Apache cloudstack4.0インストールApache cloudstack4.0インストール
Apache cloudstack4.0インストールYasuhiro Arai
 
20140612_Docker上でCloudStackを動かしてみる!!
20140612_Docker上でCloudStackを動かしてみる!!20140612_Docker上でCloudStackを動かしてみる!!
20140612_Docker上でCloudStackを動かしてみる!!Midori Oge
 
20130714 July Tech Festa 日本CloudStackユーザー会
20130714 July Tech Festa 日本CloudStackユーザー会20130714 July Tech Festa 日本CloudStackユーザー会
20130714 July Tech Festa 日本CloudStackユーザー会samemoon
 
CloudNativePGを動かしてみた! ~PostgreSQL on Kubernetes~(第34回PostgreSQLアンカンファレンス@オンライ...
CloudNativePGを動かしてみた! ~PostgreSQL on Kubernetes~(第34回PostgreSQLアンカンファレンス@オンライ...CloudNativePGを動かしてみた! ~PostgreSQL on Kubernetes~(第34回PostgreSQLアンカンファレンス@オンライ...
CloudNativePGを動かしてみた! ~PostgreSQL on Kubernetes~(第34回PostgreSQLアンカンファレンス@オンライ...NTT DATA Technology & Innovation
 
20131211 Neutron Havana
20131211 Neutron Havana20131211 Neutron Havana
20131211 Neutron HavanaAkihiro Motoki
 
201312 scalr[oss] installation_idcf
201312 scalr[oss] installation_idcf201312 scalr[oss] installation_idcf
201312 scalr[oss] installation_idcfIDC Frontier
 
SCALR OSS版のインストール手順のご紹介 20131204 01
SCALR OSS版のインストール手順のご紹介 20131204 01SCALR OSS版のインストール手順のご紹介 20131204 01
SCALR OSS版のインストール手順のご紹介 20131204 01Haruhiko KAJIKAWA
 
Web Operations and Perl kansai.pm#14
Web Operations and Perl kansai.pm#14Web Operations and Perl kansai.pm#14
Web Operations and Perl kansai.pm#14Masahiro Nagano
 
OSC2011 Tokyo/Fall JOSUG
OSC2011 Tokyo/Fall JOSUGOSC2011 Tokyo/Fall JOSUG
OSC2011 Tokyo/Fall JOSUGHideki Saito
 
OpenDaylightを用いた次世代ネットワーク構成管理の考察
OpenDaylightを用いた次世代ネットワーク構成管理の考察OpenDaylightを用いた次世代ネットワーク構成管理の考察
OpenDaylightを用いた次世代ネットワーク構成管理の考察Naoto MATSUMOTO
 
SCUGJ第18回勉強会:よろしい、ならばVMMだ
SCUGJ第18回勉強会:よろしい、ならばVMMだSCUGJ第18回勉強会:よろしい、ならばVMMだ
SCUGJ第18回勉強会:よろしい、ならばVMMだwind06106
 
Juniper NetworkGuru Plugin - Juniper EX/QFX Swtich CloudStack Integration -
Juniper NetworkGuru Plugin - Juniper EX/QFX Swtich CloudStack Integration -Juniper NetworkGuru Plugin - Juniper EX/QFX Swtich CloudStack Integration -
Juniper NetworkGuru Plugin - Juniper EX/QFX Swtich CloudStack Integration -Juniper Networks (日本)
 
Wakame-vnet / Open Source Project for Virtual Network & SDN
Wakame-vnet / Open Source Project for Virtual Network & SDNWakame-vnet / Open Source Project for Virtual Network & SDN
Wakame-vnet / Open Source Project for Virtual Network & SDNaxsh co., LTD.
 
ConsulとNomadで簡単クッキング
ConsulとNomadで簡単クッキングConsulとNomadで簡単クッキング
ConsulとNomadで簡単クッキングMasatomo Ito
 
Open stack reference architecture v1 2
Open stack reference architecture v1 2Open stack reference architecture v1 2
Open stack reference architecture v1 2Dell TechCenter Japan
 
クラウド環境向けZabbixカスタマイズ紹介(第5回Zabbix勉強会)
クラウド環境向けZabbixカスタマイズ紹介(第5回Zabbix勉強会)クラウド環境向けZabbixカスタマイズ紹介(第5回Zabbix勉強会)
クラウド環境向けZabbixカスタマイズ紹介(第5回Zabbix勉強会)Daisuke Ikeda
 
クラウドを活用したシステム開発における、ネットワークのInfrastructure as Code
クラウドを活用したシステム開発における、ネットワークのInfrastructure as Codeクラウドを活用したシステム開発における、ネットワークのInfrastructure as Code
クラウドを活用したシステム開発における、ネットワークのInfrastructure as Codeskipping classes
 
OSC 2013.Cloud@Osaka
OSC 2013.Cloud@OsakaOSC 2013.Cloud@Osaka
OSC 2013.Cloud@Osakasamemoon
 
Build 2014 Azure インフラエンジニア向けアップデート
Build 2014 Azure インフラエンジニア向けアップデートBuild 2014 Azure インフラエンジニア向けアップデート
Build 2014 Azure インフラエンジニア向けアップデートkekekekenta
 

Similar to Cloudstack networking の内側 (20)

Apache CloudStack 4.0 インストール(ver0.5)
Apache CloudStack 4.0 インストール(ver0.5)Apache CloudStack 4.0 インストール(ver0.5)
Apache CloudStack 4.0 インストール(ver0.5)
 
Apache cloudstack4.0インストール
Apache cloudstack4.0インストールApache cloudstack4.0インストール
Apache cloudstack4.0インストール
 
20140612_Docker上でCloudStackを動かしてみる!!
20140612_Docker上でCloudStackを動かしてみる!!20140612_Docker上でCloudStackを動かしてみる!!
20140612_Docker上でCloudStackを動かしてみる!!
 
20130714 July Tech Festa 日本CloudStackユーザー会
20130714 July Tech Festa 日本CloudStackユーザー会20130714 July Tech Festa 日本CloudStackユーザー会
20130714 July Tech Festa 日本CloudStackユーザー会
 
CloudNativePGを動かしてみた! ~PostgreSQL on Kubernetes~(第34回PostgreSQLアンカンファレンス@オンライ...
CloudNativePGを動かしてみた! ~PostgreSQL on Kubernetes~(第34回PostgreSQLアンカンファレンス@オンライ...CloudNativePGを動かしてみた! ~PostgreSQL on Kubernetes~(第34回PostgreSQLアンカンファレンス@オンライ...
CloudNativePGを動かしてみた! ~PostgreSQL on Kubernetes~(第34回PostgreSQLアンカンファレンス@オンライ...
 
20131211 Neutron Havana
20131211 Neutron Havana20131211 Neutron Havana
20131211 Neutron Havana
 
201312 scalr[oss] installation_idcf
201312 scalr[oss] installation_idcf201312 scalr[oss] installation_idcf
201312 scalr[oss] installation_idcf
 
SCALR OSS版のインストール手順のご紹介 20131204 01
SCALR OSS版のインストール手順のご紹介 20131204 01SCALR OSS版のインストール手順のご紹介 20131204 01
SCALR OSS版のインストール手順のご紹介 20131204 01
 
Web Operations and Perl kansai.pm#14
Web Operations and Perl kansai.pm#14Web Operations and Perl kansai.pm#14
Web Operations and Perl kansai.pm#14
 
OSC2011 Tokyo/Fall JOSUG
OSC2011 Tokyo/Fall JOSUGOSC2011 Tokyo/Fall JOSUG
OSC2011 Tokyo/Fall JOSUG
 
OpenDaylightを用いた次世代ネットワーク構成管理の考察
OpenDaylightを用いた次世代ネットワーク構成管理の考察OpenDaylightを用いた次世代ネットワーク構成管理の考察
OpenDaylightを用いた次世代ネットワーク構成管理の考察
 
SCUGJ第18回勉強会:よろしい、ならばVMMだ
SCUGJ第18回勉強会:よろしい、ならばVMMだSCUGJ第18回勉強会:よろしい、ならばVMMだ
SCUGJ第18回勉強会:よろしい、ならばVMMだ
 
Juniper NetworkGuru Plugin - Juniper EX/QFX Swtich CloudStack Integration -
Juniper NetworkGuru Plugin - Juniper EX/QFX Swtich CloudStack Integration -Juniper NetworkGuru Plugin - Juniper EX/QFX Swtich CloudStack Integration -
Juniper NetworkGuru Plugin - Juniper EX/QFX Swtich CloudStack Integration -
 
Wakame-vnet / Open Source Project for Virtual Network & SDN
Wakame-vnet / Open Source Project for Virtual Network & SDNWakame-vnet / Open Source Project for Virtual Network & SDN
Wakame-vnet / Open Source Project for Virtual Network & SDN
 
ConsulとNomadで簡単クッキング
ConsulとNomadで簡単クッキングConsulとNomadで簡単クッキング
ConsulとNomadで簡単クッキング
 
Open stack reference architecture v1 2
Open stack reference architecture v1 2Open stack reference architecture v1 2
Open stack reference architecture v1 2
 
クラウド環境向けZabbixカスタマイズ紹介(第5回Zabbix勉強会)
クラウド環境向けZabbixカスタマイズ紹介(第5回Zabbix勉強会)クラウド環境向けZabbixカスタマイズ紹介(第5回Zabbix勉強会)
クラウド環境向けZabbixカスタマイズ紹介(第5回Zabbix勉強会)
 
クラウドを活用したシステム開発における、ネットワークのInfrastructure as Code
クラウドを活用したシステム開発における、ネットワークのInfrastructure as Codeクラウドを活用したシステム開発における、ネットワークのInfrastructure as Code
クラウドを活用したシステム開発における、ネットワークのInfrastructure as Code
 
OSC 2013.Cloud@Osaka
OSC 2013.Cloud@OsakaOSC 2013.Cloud@Osaka
OSC 2013.Cloud@Osaka
 
Build 2014 Azure インフラエンジニア向けアップデート
Build 2014 Azure インフラエンジニア向けアップデートBuild 2014 Azure インフラエンジニア向けアップデート
Build 2014 Azure インフラエンジニア向けアップデート
 

More from Hiroaki Kawai

Wireless openflow (english)
Wireless openflow (english)Wireless openflow (english)
Wireless openflow (english)Hiroaki Kawai
 
Play gopenflow (english)
Play gopenflow (english)Play gopenflow (english)
Play gopenflow (english)Hiroaki Kawai
 
Gopenflow demo v1 (english)
Gopenflow demo v1 (english)Gopenflow demo v1 (english)
Gopenflow demo v1 (english)Hiroaki Kawai
 
Openflow - Reactive? Proactive?
Openflow - Reactive? Proactive?Openflow - Reactive? Proactive?
Openflow - Reactive? Proactive?Hiroaki Kawai
 
できる!trema-switch
できる!trema-switchできる!trema-switch
できる!trema-switchHiroaki Kawai
 
Cloudstack networking2
Cloudstack networking2Cloudstack networking2
Cloudstack networking2Hiroaki Kawai
 
Metro Style Dev #01 IMAP Client
Metro Style Dev #01 IMAP ClientMetro Style Dev #01 IMAP Client
Metro Style Dev #01 IMAP ClientHiroaki Kawai
 
Python geohash 紹介
Python geohash 紹介Python geohash 紹介
Python geohash 紹介Hiroaki Kawai
 

More from Hiroaki Kawai (13)

Openflow超解釈
Openflow超解釈Openflow超解釈
Openflow超解釈
 
Wireless openflow (english)
Wireless openflow (english)Wireless openflow (english)
Wireless openflow (english)
 
Play gopenflow (english)
Play gopenflow (english)Play gopenflow (english)
Play gopenflow (english)
 
Gopenflow demo v1 (english)
Gopenflow demo v1 (english)Gopenflow demo v1 (english)
Gopenflow demo v1 (english)
 
Gopenflow demo v1
Gopenflow demo v1Gopenflow demo v1
Gopenflow demo v1
 
Openflow - Reactive? Proactive?
Openflow - Reactive? Proactive?Openflow - Reactive? Proactive?
Openflow - Reactive? Proactive?
 
できる!trema-switch
できる!trema-switchできる!trema-switch
できる!trema-switch
 
Cloudstack networking2
Cloudstack networking2Cloudstack networking2
Cloudstack networking2
 
Metro Style Dev #01 IMAP Client
Metro Style Dev #01 IMAP ClientMetro Style Dev #01 IMAP Client
Metro Style Dev #01 IMAP Client
 
Python geohash 紹介
Python geohash 紹介Python geohash 紹介
Python geohash 紹介
 
Webteko mysqlftppc
Webteko mysqlftppcWebteko mysqlftppc
Webteko mysqlftppc
 
mysqlftppc 紹介
mysqlftppc 紹介mysqlftppc 紹介
mysqlftppc 紹介
 
Php File Upload
Php File UploadPhp File Upload
Php File Upload
 

Recently uploaded

論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNetToru Tamaki
 
論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A surveyToru Tamaki
 
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)Hiroki Ichikura
 
SOPを理解する 2024/04/19 の勉強会で発表されたものです
SOPを理解する       2024/04/19 の勉強会で発表されたものですSOPを理解する       2024/04/19 の勉強会で発表されたものです
SOPを理解する 2024/04/19 の勉強会で発表されたものですiPride Co., Ltd.
 
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...Toru Tamaki
 
TSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdfTSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdftaisei2219
 
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案sugiuralab
 
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Yuma Ohgami
 

Recently uploaded (8)

論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet
 
論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey
 
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
 
SOPを理解する 2024/04/19 の勉強会で発表されたものです
SOPを理解する       2024/04/19 の勉強会で発表されたものですSOPを理解する       2024/04/19 の勉強会で発表されたものです
SOPを理解する 2024/04/19 の勉強会で発表されたものです
 
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
 
TSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdfTSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdf
 
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
 
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
 

Cloudstack networking の内側

  • 2. 初期導入時 • ウィザードに従うと… ▫ IP アドレスをたくさん入力する… ▫ VLAN とかも… • PhysicalNetwork… • トラフィックの種類…
  • 3. そして VM 起動時… • 普通に VM を起動させようとすると… DefaultIsolatedNetworkOfferingWithSourceNatService ↑何これ?
  • 4. NetworkOffering とは • 「ネットワーク機能セット」をまとめたもの ▫ Network function • 組み込みの機能 ▫ Vpn, Dhcp, Dns, Gateway, Firewall, Lb, UserData, SourceNat, StaticNat, PortForwarding, SecurityGroup, NetworkACL, Connectivity
  • 5. NetworkOffering • さっきの Default.....NatService は ▫ Dhcp, Dns, Firewall, Gateway, Lb, PortForwarding, SourceNat, StaticNat, UserData, Vpn が有効になって ます ▫ UI で確認できます
  • 7. 魔法があるように見える VM “off er” 「機能セット」の提供 魔法 「使える部品」を使って 「何とか」実現する ネットワーク機器 物理結線
  • 9. 「使える部品」 = NetworkElement • NetworkElement ▫ Cloudstack用語 • 例えば ▫ 「DHCP の機能」は「Virtual Router」の機能を使って実現  DHCP の機能 = Network.Service  Virtual Router = Network.Provider (NetworkElement) • どんな部品があるかは、UI の表示で垣間見られる 実は…
  • 10. components.xml • 読んだことありますか? ▫ /etc/cloud/management/components.xml にあります • これは何? ▫ DI コンテナの設定ファイル ▫ 「プラグイン機構」と理解しても構いません ▫ ComponentLocator が起動時に読み込んで、 management server のセットアップを行ないます。 <adapters key="com.cloud.network.element.NetworkElement"> <adapter name="VirtualRouter" class="com.cloud.network.element.VirtualRouterElement"/> <adapter name="Ovs" class="com.cloud.network.element.OvsElement"/> <adapter name="ExternalDhcpServer" class="com.cloud.network.element.ExternalDhcpElement"/> <adapter name="BareMetal" class="com.cloud.network.element.BareMetalElement"/> <adapter name="SecurityGroupProvider" class="com.cloud.network.element.SecurityGroupElement"/> <adapter name="VpcVirtualRouter" class="com.cloud.network.element.VpcVirtualRouterElement"/> <adapter name="NiciraNvp" class="com.cloud.network.element.NiciraNvpElement"/> </adapters> ここにあるものが全て!!
  • 11. NetworkGuru • 部品間の調整役 ▫ ある意味一番魔法を使っているもの ▫ NetworkElement が協調動作できるようにする ▫ 「おぜん立て」をする ▫ Network ひとつにつき、ひとつ選出される Offering で決まる NetworkGuru NetworkElement NetworkElement NetworkElement ネットワーク操作時の処理の流れ
  • 12. NetworkGuru の調べ方 • もっとも簡単な方法は SQL ▫ SELECT name,guru_name FROM networks mysql> select name,guru_name from networks; +------+---------------------+ | name | guru_name | +------+---------------------+ | NULL | PublicNetworkGuru | | NULL | PodBasedNetworkGuru | | NULL | ControlNetworkGuru | | NULL | StorageNetworkGuru | | net1 | SspNetworkGuru | +------+---------------------+ 5 rows in set (0.00 sec)
  • 13. components.xml (again) • NetworkGuru もプラグイン的に読み込まれます <adapters key="com.cloud.network.guru.NetworkGuru"> <adapter name="StorageNetworkGuru" class="com.cloud.network.guru.StorageNetworkGuru"/> <adapter name="ExternalGuestNetworkGuru" class="com.cloud.network.guru.ExternalGuestNetworkGuru"/> <adapter name="PublicNetworkGuru" class="com.cloud.network.guru.PublicNetworkGuru"/> <adapter name="PodBasedNetworkGuru" class="com.cloud.network.guru.PodBasedNetworkGuru"/> <adapter name="ControlNetworkGuru" class="com.cloud.network.guru.ControlNetworkGuru"/> <adapter name="DirectNetworkGuru" class="com.cloud.network.guru.DirectNetworkGuru"/> <adapter name="DirectPodBasedNetworkGuru" class="com.cloud.network.guru.DirectPodBasedNetworkGuru"/> <adapter name="OvsGuestNetworkGuru" class="com.cloud.network.guru.OvsGuestNetworkGuru"/> <adapter name="PrivateNetworkGuru" class="com.cloud.network.guru.PrivateNetworkGuru"/> <adapter name="NiciraNvpGuestNetworkGuru" class="com.cloud.network.guru.NiciraNvpGuestNetworkGuru"/> </adapters> ここにあるものが全て!! この中のどれかがネットワークに割り当たっているはずです。
  • 14. 魔法の正体 VM “off er” 「機能セット」の提供 NetworkGuru, NetworkElement 「使える部品」を使って 「何とか」実現する ネットワーク機器 物理結線
  • 16. 4.1 master branch • Spring framework の導入 ▫ ComponentLocator の廃止  いろいろ限界を感じる… ▫ より標準的でこなれた仕組みに乗り換える ▫ applicationContext.xml と componentContext.xml