Más contenido relacionado
La actualidad más candente (20)
Similar a OpenStack超入門シリーズ いまさら聞けないNeutronの使い方 (20)
OpenStack超入門シリーズ いまさら聞けないNeutronの使い方
- 1. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Hewlett-Packard Company
クラウド チーフ テクノロジスト グループ
技術担当部長
真壁 徹
OpenStackNetworking(Neutron)
いまさら聞けない使い方
OpenStack 超入門シリーズ
- 2. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.2
OpenStackをはじめた友
達が、Neutronのところ
で置いていかれたって
言ってた
わたしはついて行くわよ
- 3. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.3
当資料の目的と前提条件・環境
目的
• OpenStack Networking (Neutron)のコンセプトとメリットを理解する
• 非ネットワーク管理者、アプリケーション開発者視点で使い方を理
解する
前提条件・環境
• HP Public Cloud
• 2014/05/01時点
- 4. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.4
ひとつ、むつかしい話は
抜きでおねがいします
- 5. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.5
システム基盤統合・ネットワーク統合にあたり…
マルチテナントあるある
前任者が異動
したので不明!
なのでそのま
までよろしく
IPアドレスなんて
変えられるわけな
いじゃない
フロント2系統、バッ
ク1系統、運用1系統、
これが我が部の伝統・
勝ちパターン
ヒアリング
ご要望
ネットワークを標準化・
統合します。現状と要望
を教えてください
ネットワーク
担当
ゲストシステム
担当
- 6. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.6
あー、統合とか標準化と
かやっぱり無理
10GBとかで太い線引いと
くから、自分でやっても
らえる?
- 7. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.7
いいもん、
自分でやるもん!!
- 8. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.8
何が必要?
マルチテナントネットワークをセルフサービスで
テナント分離
• 他のテナントを意識しない、設定がかぶってもいい (IPサブネットなど)
• テナント毎に基本的なサービスが提供される (DHCPなど)
• できれば付加機能もテナント毎に (Load Balancer、VPNなど)
専門家でなくても使える”使いやすさ”
• 細かな実装は隠蔽
• 直感的なGUI
• アプリからでも操作できるAPI
- 9. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.9
Neutronネットワーク概念図
VM VM VM
Network – T1N1
Subnet1
192.168.1.0/24
Router
DHCP
Network – T1N2
Subnet2
192.168.2.0/24
DHCP
Network – T2N1
Subnet1
192.168.1.0/24
DHCP
Router
VM VM VM VM VM VM
NAT NAT
Tenant 1 Tenant 2
- 10. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.10
あなた、
192.168.1.0/24が
かぶってるわよ
そこを何とか、
ゆずって頂けな
いでしょうか
- 11. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.11
Neutronネットワーク概念図 ~疑問にお答え.1~
VM VM VM
Network – T1N1
Subnet
192.168.1.0/24
Router
DHCP
Network – T1N2
Subnet
192.168.2.0/24
DHCP
Network – T2N1
Subnet
192.168.1.0/24
DHCP
Router
VM VM VM VM VM VM
NAT NAT
サブネット設定がかぶってもOK!!
Neutronとプラグインがよろしく分離してくれます
(VLAN、GRE、VXLANなどで)
分離 分離 分離
- 12. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.12
あなた、
たまにはお話しして
も良くってよ でもIPかぶって
ますよ
- 13. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.13
Neutronネットワーク概念図 ~疑問にお答え.2~
VM VM VM
Network – T1N1
Subnet
192.168.1.0/24
Router
DHCP
Network – T1N2
Subnet
192.168.2.0/24
DHCP
Network – T2N1
Subnet
192.168.1.0/24
DHCP
Router
VM VM VM VM VM VM
NAT NAT
サブネット設定がかぶるテナント間で通信したい?
OK、通信したいVMに別途IPを割り当て、NATしようじゃないか (Floating IP)
192.168.1.1 192.168.1.1
192.168.1.1 <-> 15.0.1.1 15.0.1.2 <-> 192.168.1.1
- 14. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.14
これなら、ネットワーク
の中の人に怒られずに、
自分でできそう!!
- 15. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.15
ネットワークを作ってみよう
ネットワーク名を
命名してください
(あなた好みに)
- 16. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.16
ネットワークを作ってみよう
サブネット名を命
名してください
(あなた好みに)
サブネットアドレ
スをCIDRで
設定してください
(あなた好みに)
- 17. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.17
ネットワークを作ってみよう
あなた好みに設定し
てください
(しなくてもいいです)
- 18. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.18
(え、これだけ?)
自分でできた!!
- 19. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.19
考えるな、感じろ!! ~トポロジーの可視化~
外部ネットワーク
(HP Public Cloudの
場合、インター
ネット)
ルーター
自作ネット1 自作ネット2
サーバー
- 20. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.20
これからはシンプルな
ネットワークであれば、
自分で作ろう。納期はど
んどん短くなってるの
で、時は金なり。ビジネ
ス的にうれしい。
そして何より、エンジニ
アとしてのレベルが上
がった!!
- 21. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.21
Neutron道 その先へ
付加サービス(Extension)も開発されています
• Load Balancer、VPN、Firewall、etc
• HP Public Cloudでは、2014/5/1 現在、付加サービスをNeutron外部で提供
• Load Balancer as a Service (Libra Projectベース)
• VPNは、サーバーを使ってVPNゲートウェイを立てる (3rd Party VPNゲートウェイ入りイメージあり)
中身を知りたい方へ
• OpenStackクラウド基盤構築ハンズオンセミナー資料 (@enakai00 さん)
• http://www.slideshare.net/enakai/openstackno2-29994826
• OpenStackが実現する仮想ネットワーク Havana Update (@ritchey98 さん)
• http://www.slideshare.net/ritchey98/20131211-neutron-havana
- 22. © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
ThankYou