1开源cloudstack架构介绍
合集下载
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Running Start Destroyed
Users
VM Operations
Console Access
VM Status
Change Service Offering
• • • • • •
Start Stop Restart Destroy Restore Migration
• • •
CPU Utilized Network Read Network Writes
Host 1 Host 2
Primary Storage
L3 switch
L2 switch
Secondary Storage
Secondary Storage
• • • • Configured at Zone-level Stores all Templates, ISOs and Snapshots Zone can have one or more secondary storages NFS, OpenStack Swif
• • • •
Mgmt Server 不保留状态 Mgmt Server 可部署为物理机或者虚拟机 单台 Mgmt Server 可管理最多 5K 台 Host 为保证性能与冗余性可横向扩展 Mgmt Server 的数 量
Hypervisor Support
Management Server Interaction with Hypervisors
• OVM 2.2 • No Snapshots • RAW • NFS & iSCSi • No storage overprovisioning
Multi-tenancy
Multi-tenancy & Account Management
Domain Org A
VMs, IPs, Snapshots…
Primary Storage
Secondary Storage
Network
Байду номын сангаас
Network & Network Services
Network Type Isolation Firewall Load balancer VPN
Architecture Overview
Core CloudStack Components
技术解决方案
• Openstack • Cloudstack • Eucalyptus • OpenNelula • VMware vCloud Director • Abiquo
’s ABC
• 前身 Cloud.com, 2011 年被 Citrix 公司收购 • 创始人美籍华人梁胜( Sheng Liang ) • 开源的基础设施即服务( IaaS )技术解决方案 • Java 语言编写 • 2012 年 4 月捐赠给 Apache 软件基金会( ASF ) • 遵循 Apache License v2 开源协议
Compute
管理员
Network
Storage
平台及技术支持
Compute Hypervisor
XenServer VMware Oracle VM KVM Bare metal
Storage
Block & Object
Local Disk iSCSI Fiber Channel NFS Swif
Managem ent Server
XAPI
HTTP
vCenter
Agent Agent
XenServer ESX KVM OVM
• XS 5.6, 5.6FP1, 5.6 SP2, 6.0 • Incremental Snapshots • VHD • NFS, iSCSI, FC & Local disk • Storage over-provisioning: NFS
Domain Reseller A
Admin
Sub-Domain Org C
VMs, IPs, Snapshots…
Resources
• A Domain can have one or more accounts • An Account represents one or more users and is the basic unit of isolation • Admin can limit resources at the Account or Domain levels
CloudStack Architecture
What’s Cloudstack?
IaaS
Infrastructure as a service
SaaS PaaS
Cloud Compute
云服务提供商
• Amazon • Rackspace • Joyent • HP cloud • TATA communications • 盛大云
Template
Schedule Snapshots
Now
Hourly Daily
Weekly Monthly
View Snapshot History
….
Storage
Primary Storage
• • • • Configured at Cluster-level. Close to hosts for better performance Stores all disk volumes for VMs in a cluster Cluster can have one or more primary storages Local disk, iSCSI, FC or NFS Pod 1 Cluster 1
Storage Type Support
XenServer
NFS iSCSI
Supported
vSphere
Supported Supported via VMFS
KVM
Supported Supported via Clustered Filesystems Supported via Clustered Filesystems Not Supported
Resources
Admin
• Domain is a unit of isolation that represents a customer org, business unit or a reseller • Domain can have arbitrary levels of sub-domains
Admin
Account Group A
Account Group B
User 1 User 2
Virtual Machine Management
VMs Lifecycle
Created Start Fail Start Reboot Stop Stoped Restore Destroy
Down
Collection of pods, network offerings and secondary storage
•
Management Server Farm
tasks
Responsible for all management and provisioning
Deployment Architecture
这些企业借助 Cloudstack 构建云
韩国电信( KT )
TATA 电信
IDC Frontier
Ninefold
Supports Multiple Cloud Strategies
Private Clouds
On-premise Enterprise Cloud
Public Clouds
Hosted Enterprise Cloud Multi-tenant Public Cloud
2 CPUs 1 GB RAM 20 GB 20 Mbps
4 CPUs 4 GB RAM 200 GB 100 Mbps
Volume & Snapshot Management
Add / Delete Volumes
VM 1
Volume
Create Templates from Volumes
Volume
Supported
Fiber Channel
Supported via Preexisting
Supported via VMFS
• • • •
Mix of shared and dedicated resources Elastic scaling Pay as you go Public internet, VPN access
按需访问及自服务门户
Org A Org B
Admin
Admin Users
Users
用户
Users
• • • •
Dedicated resources Security & total control Internal network Managed by Enterprise or 3rd party
• • • •
Dedicated resources Security SLA bound 3rd party owned and operated
Management Server 的部署
单节点部署 多节点部署
Mgmt Server
User API
Mgmt Server
MySQL DB
User API
Load Balancer Mgmt Server
Admin API
Admin API
Mgmt Server
MySQL DB Back Up Replication DB
Internet
Mgmt Server
• •
Host 是部署 Hypervisor 的物 理主机 Cluster 由一组 Host 组成 Cluster 中的 Host 可访问共 享存储 ( Primary Storage ) 单个或多个 Cluster 组成 Pod 一个 Pod 通常配置一个 2 层 交换机设备 Availability Zone 由一组 Pod 组成,配置二级存储 ( Secondary Storage ) 整个云由单个或位于不同地理 位置的多个 Availability Zone 构成
• • • • • • • Hosts
Servers onto which services will be provisioned
VM
Primary Storage
VM storage
Host
VM
Cluster Pod
Network
Host
Primary Storage
A grouping of hosts and their associated storage
Collection of clusters
Network
Logical network associated with service offerings
Secondary Storage
Cluster Cluster Pod Pod Zone
Secondary Storage Zone
Template, snapshot and ISO storage
• ESX 4.1, 5.0 • Full Snapshots • VMDK • NFS, iSCSI, FC & Local disk • Storage over-provisioning: NFS, iSCSI
• RHEL 6.0, 6.1, 6.2 • Full Snapshots (not live) • QCOW2 • NFS, iSCSI & FC • Storage over-provisioning: NFS
Zone 1
L3 switch
•
Pod N
Pod 1
Access Layer
….
Cluster N
Secondary Storage
• • •
….
Cluster 1
Host 1
Primary Storage
•
Host 2
多站点部署
• Single Management Server can manage multiple zones • Zones can be geographically distributed but low latency links are expected for better performance • Single MS node can manage up to 5K hosts. • Multiple MS nodes can be deployed as cluster for scale or redundancy