Iaas on xcp


Published on

Published in: Technology
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Iaas on xcp

  1. 1. Building an IaaS Cloud on Xen Cloud Platform Xen Summit AMD 2010 Sheng Liang VMOps, Inc. April 28 2010
  2. 2. What does it take to build an IaaS cloud? Hardware Network Management Storage Management Hypervisor Service Management User Interface API IaaS Cloud
  3. 3. The VMOps Cloud Stack Hardware Network Management Storage Management Hypervisor Service Management End-user Interface Integration API Cloud Stack + XCP IaaS Cloud
  4. 4. Milestones <ul><li>In field trial since Apr 2009 </li></ul><ul><li>In production with multiple customers since 2009 </li></ul><ul><li>Open source release (GPL) May 2010 </li></ul>
  5. 5. Multi-site Fully Redundant Deployment Primary VMops Server Cluster Availability Zone 1 Secondary VMops Server Cluster Availability Zone 4 Availability Zone 5 Availability Zone 3 Availability Zone 2 Data Center 1 Data Center 2 Data Center 3 Data Center 4 Data Center 5 MySQL Replication
  6. 6. VMOps Server Cluster Hardware Load Balancer User web/API interface Admin web/API interface Connections from computing, routing and storage servers Mgmt Server Hardware Load Balancer Mgmt Server Mgmt Server Backup MySQL DB Primary MySQL DB
  7. 7. Host Network within One Availability Zone Mgmt Firewall Zone-Level Layer 3 Switch Pod 1 Pod 2 Pod N … Public Internet (65.37.*.*) Public Network (Traffic billed to the user) Private Network (Connection with VMOps Server) NAT 65.37.*.* 192.168.*.*
  8. 8. Pod Setup Storage Storage Computing Server 1 Computing Server 3 Computing Server 5 Computing Server 2 Computing Server 4 Public Network (65.37.*.*, billed to users) Private Network (192.168.*.*, connections to VMOps Mgmt Server) 65.37.*.* Pod-Level Layer-2 Switch Zone-Level Layer 3 Switch R User 1 R User 2
  9. 9. Guest Virtual Network Guest VM 1 Guest VM 2 Guest VM 3 Guest VM 4 Public Internet Public Network Guest Virtual Network Gateway address NAT DHCP Load Balancing VPN Public IP address Guest address Guest address Guest address Guest address Routing Domain
  10. 10. Network Virtualization <ul><li>Public Network may be a separate physical network or VLAN on the private network </li></ul><ul><li>3 ways to implement private network: </li></ul><ul><ul><li>Software-based network virtualization </li></ul></ul><ul><ul><li>Hardware VLAN-based network virtualization </li></ul></ul><ul><ul><li>Direct attach network </li></ul></ul>
  11. 11. Comparison Network Virtualization Software-Based Hardware VLAN Direct Attach Isolation Implemented by driver in Dom0 Implemented by VLAN tag added in Dom0 Implemented by iptables/ebtables rules in Dom0 Performance Good Better Better Network setup Easy Moderate Easy Support broadcast Yes Yes No Scalability Good Good Best Interoperability with physical servers Poor Good Poor
  12. 12. Cloud API <ul><li>A low-level API used to implement industry-standard or de-facto cloud APIs </li></ul>VMOps API Amazon EC2/S3 API vCloud API? DMTF Standard? VMOps Cloud Stack XAPI
  13. 13. Storage <ul><li>Pod-Level Primary Storage: NFS or iSCSI, used to store VM disks </li></ul><ul><ul><li>Utilize VHD features for thin provisioning and snapshots </li></ul></ul><ul><ul><li>Snapshot, copy out, and delete </li></ul></ul><ul><li>Zone-Level Secondary Storage: object storage for: </li></ul><ul><ul><li>Templates </li></ul></ul><ul><ul><li>ISOs </li></ul></ul><ul><ul><li>Snapshots/backups </li></ul></ul>
  14. 14. System-Managed VM Appliances <ul><li>One-per user: </li></ul><ul><ul><li>Virtual routers </li></ul></ul><ul><li>Pooled: </li></ul><ul><ul><li>Console proxies </li></ul></ul><ul><ul><li>Secondary storage management and replication </li></ul></ul><ul><ul><li>… </li></ul></ul>
  15. 15. Limitations of XCP <ul><li>SR limited to one pool </li></ul><ul><ul><li>Making volume attach/detach difficult, copying needed </li></ul></ul><ul><li>Storage live migration </li></ul><ul><li>Threading issues in XAPI </li></ul><ul><li>Live migration across pools </li></ul><ul><li>Cannot control network virtualization with SR-IOV </li></ul>
  16. 16. Thank You