26
OpenStack introduction ecosystem

OpenStack Introduction Ecosystem

Embed Size (px)

Citation preview

Page 1: OpenStack Introduction Ecosystem

OpenStack introduction ecosystem

Page 2: OpenStack Introduction Ecosystem

授課大綱• OpenStack 簡介• OpenStack 套件介紹

• Keystone• Glance• Nova• Neutron• Cinder• Swift• Heat• Ceilometer

Page 3: OpenStack Introduction Ecosystem

簡介(1/5)• Apache許可證授權• 自由軟體和開放原始碼打造的IaaS• NASA和Rackspace合作研發的雲端 平台

Page 4: OpenStack Introduction Ecosystem

簡介(2/5)

Page 5: OpenStack Introduction Ecosystem

簡介(3/5)

Page 6: OpenStack Introduction Ecosystem

簡介(4/5)

Page 7: OpenStack Introduction Ecosystem

簡介(5/5)

Page 8: OpenStack Introduction Ecosystem

套件介紹• Keystone• Glance• Nova• Neutron• Cinder• Swift• Heat• Ceilometer

Page 9: OpenStack Introduction Ecosystem

Keystone(1/2)• 提供了驗證服務• 基礎設施安全、數據安全、身份安全、虛擬

化安全• Openstack調用資源前都必須通過Keystone

驗證取得Token才可使用資源

Page 10: OpenStack Introduction Ecosystem

Endpoint

Keystone(2/2)憑證

驗證

User Credentials

取得Token24小時有效

NovaGlance

NeutronHorizon

Heat

RoleProject

取得

Page 11: OpenStack Introduction Ecosystem

Glance(1/2)• 雲端映像檔管理服務• 支援格式列表

• VM:• raw,vhd,vdi,iso,qcow2,aki,ari and ami

• Container :• bare,ovf,aki, ari and ami

Page 12: OpenStack Introduction Ecosystem

Glance(2/2)

Keystone-API

Glance-registry

Glance-API

Database

User NFSRDB

FileSystemCeph

S3CinderSwift

Glance Store Driver

Page 13: OpenStack Introduction Ecosystem

Nova(1/2)• 提供了運算服務• 透過Keystone取得其他服務資源• 調用對應的資源提供給VM使用

Page 14: OpenStack Introduction Ecosystem

Nova(2/2)User Nova-API

Nova-computeDatabase

Nova-network

Nova-volumeNova-schedule

Queue

Volume

Nova-Conductor

Page 15: OpenStack Introduction Ecosystem

Neutron(1/3)• 目前網路架構面臨的問題

• 大容量的MAC表項和ARP表項• VLAN Trunk問題• VLAN上限問題• 虛擬機器遷移網路依賴問題

Page 16: OpenStack Introduction Ecosystem

Neutron(2/3)• 實現第二層與第三層虛擬網路的隔離• 提供了VPNaaS FWaaS LBaaS• Linux Bridge• Open vSwitch

• VLAN,VXLAN,GRE

Page 17: OpenStack Introduction Ecosystem

Neutron(3/3)

Page 18: OpenStack Introduction Ecosystem

Cinder(1/2)• 為虛擬機器提供儲存空間• 可將系統直接放在空間內掛載後給VM使用• 虛擬機快照使用• 支援IP-SAN與FC-SAN與Ceph

Page 19: OpenStack Introduction Ecosystem

Cinder(2/2)

Cinder-API

Cinder-Volume

User

Cinder-Scheduler

Cinder-Backup

Database

Page 20: OpenStack Introduction Ecosystem

Swift(1/2)• 強大的擴展性與持久性• 物件儲存系統• 分散式儲存高可靠性

Page 21: OpenStack Introduction Ecosystem

Swift(2/2)

User

Swift-Proxy

LoadBalance Swift-Proxy

Swift-Proxy

RingAccount Ring

Container RingObject Ring

ObjectServer

Disk

Disk

ObjectServer

Disk

Disk

ObjectServer

Disk

Disk

Page 22: OpenStack Introduction Ecosystem

Heat(1/2)• 預先定義虛擬機創建時使用的資源• 將所需的資源清單匯集到㇐個模板中• 可建立VM創建的順序使其達到平台 建

立相依性

Page 23: OpenStack Introduction Ecosystem

Heat(2/2)• Heat-pythonclient:Heat客戶端• Heat-api:提供基於Restful API的系統服務Endpoint• Heat-api-cfn:用於支援AWS服務接口• Heat-engine:根據heat-api提供的規格語其他模組

溝通創建虛擬機

Page 24: OpenStack Introduction Ecosystem

Ceilometer(1/2)• 資源使用警報功能• API十分方便整合• 統計使用者使用量供計價使用

Page 25: OpenStack Introduction Ecosystem

Ceilometer(2/2)

Notification Bus

NotificationAgents

DatabaseCeilometerAPI

PolingAgentsUser

Message CollectorsPush

send

send

send

Page 26: OpenStack Introduction Ecosystem