OpenStack, Xen and XCP

John Garbutt
Senior Software Developer, Cloud, Citrix
@johngarbutt
What is OpenStack?
OpenStack

• Open Standard Cloud Computing Platform
• Public and Private Clouds
• Massively scalable and feature rich


• Open Development
• Open Design
• Open Community


• 3386 People, 200+ Contributors, 186 Companies
Design Guidelines

• Component based architecture
• Highly available
• Fault-Tolerant
• Recoverable
• Open Standards
• API Compatibility
Releases

• Folsom
 ᵒunder development
 ᵒdue September 2012
 ᵒthis talk covers Folsom
• Essex
 ᵒcurrent stable release
 ᵒfirst released April 2012

• Six monthly Release + Conference
• Next: Grizzly due April 2013
Object Storage

• Swift


• User: Account, Container, Object
• Redundant storage of static data
• Scales horizontally to PB of data
• Uses eventual consistency
• Admin: Rings, Proxy, Replication,
  Updaters, Auditors


• Contributed by Rackspace
Compute

• Nova


• Concepts: Server, Flavor, Image,
  Metadata
• Multi-hypervisor: KVM, XenAPI, …
• Bare-metal provisioning
• Availability Zones
• Scheduling


• Contributed by NASA / Anso Labs
Block Storage

• Cinder


• Persistent block level storage device
• Create, attach/detach, snapshot
• Pluggable backend:
 ᵒiSCSI, Ceph and others
• Least developed area

• Evolved from nova-volume
Networking

• Quantum


• Concepts: Network, Port, Attachment
• Network Isolation
• Floating IPs, Security Groups
• Support for SDN
• Other services: DHCP, DNS,
  Firewall, QoS, LBaaS…


• Replaces nova-network
APIs

• APIs to configure virtual resources
• OpenStack REST APIs
 ᵒCompute
 ᵒImage
 ᵒObject Storage
 ᵒIdentity
 ᵒNetwork
 ᵒVolume / Block Storage
• Amazon APIs
• Standard APIs
Other Services

• OpenStack Keystone: Users, Roles and Service Catalog
• OpenStack Glance: Images and Snapshots


• Database: SQLAlchemy
• Message Queue: RabbitMQ and others
Other Projects

• Heat
• Ceilometer
• Reddwarf
• LBaaS
• Devstack
• Crowbar
How does OpenStack work?
Demo Time!
… let’s start a VM
How does OpenStack work?
1
6
    5



            2


                    7

        3       4
RPC using AMQP
How does OpenStack use Xen?
OpenStack and Xen

• XenAPI
 ᵒUsed by Rackspace Public Cloud
 ᵒStill developed by Citrix
 ᵒXCP
 ᵒXenServer
 ᵒXCP-XAPI

• Libvirt + Xen
 ᵒNot widely used
 ᵒSUSE working

• http://wiki.openstack.org/HypervisorSupportMatrix
OpenStack and XenAPI




          2

                           3


                       1
What is XCP?


               • XCP = Xen Cloud Platform
               • Open Source Citrix’s XenServer
               • Datacenter and cloud-ready API
               • Complete virtualization stack


               • xcp-xapi
               • iso
Citrix and OpenStack?
Citrix and OpenStack

• Still have an OpenSource team


• Maintain and improve XenAPI support
• Expose latest XenAPI features


• Documentation
• QA
Storage XenMotion


              Live
             Virtual
             Machine




             XCP Host      XCP Host
              VDI(s)




              Local         Local
             Storage       Storage
            XCP Pool 1   XCP Pool 2
Demo Time!
… let’s move a VM
How can I get involved?
OpenStack Community

• http://www.openstack.org/community


• Email list and LaunchPad
• Sign CLA
• Clone from GitHub
• Pick Bug or Blueprint
• Submit to Gerrit


• Enjoy 
Join with Xen Community?

• Xen Doc Day
• Xen Test Day


• Work on OpenStack issues


• Ideas?
Work better. Live better.

Openstack Xen and XCP

  • 1.
    OpenStack, Xen andXCP John Garbutt Senior Software Developer, Cloud, Citrix @johngarbutt
  • 2.
  • 4.
    OpenStack • Open StandardCloud Computing Platform • Public and Private Clouds • Massively scalable and feature rich • Open Development • Open Design • Open Community • 3386 People, 200+ Contributors, 186 Companies
  • 5.
    Design Guidelines • Componentbased architecture • Highly available • Fault-Tolerant • Recoverable • Open Standards • API Compatibility
  • 6.
    Releases • Folsom ᵒunderdevelopment ᵒdue September 2012 ᵒthis talk covers Folsom • Essex ᵒcurrent stable release ᵒfirst released April 2012 • Six monthly Release + Conference • Next: Grizzly due April 2013
  • 8.
    Object Storage • Swift •User: Account, Container, Object • Redundant storage of static data • Scales horizontally to PB of data • Uses eventual consistency • Admin: Rings, Proxy, Replication, Updaters, Auditors • Contributed by Rackspace
  • 9.
    Compute • Nova • Concepts:Server, Flavor, Image, Metadata • Multi-hypervisor: KVM, XenAPI, … • Bare-metal provisioning • Availability Zones • Scheduling • Contributed by NASA / Anso Labs
  • 10.
    Block Storage • Cinder •Persistent block level storage device • Create, attach/detach, snapshot • Pluggable backend: ᵒiSCSI, Ceph and others • Least developed area • Evolved from nova-volume
  • 11.
    Networking • Quantum • Concepts:Network, Port, Attachment • Network Isolation • Floating IPs, Security Groups • Support for SDN • Other services: DHCP, DNS, Firewall, QoS, LBaaS… • Replaces nova-network
  • 12.
    APIs • APIs toconfigure virtual resources • OpenStack REST APIs ᵒCompute ᵒImage ᵒObject Storage ᵒIdentity ᵒNetwork ᵒVolume / Block Storage • Amazon APIs • Standard APIs
  • 14.
    Other Services • OpenStackKeystone: Users, Roles and Service Catalog • OpenStack Glance: Images and Snapshots • Database: SQLAlchemy • Message Queue: RabbitMQ and others
  • 16.
    Other Projects • Heat •Ceilometer • Reddwarf • LBaaS • Devstack • Crowbar
  • 17.
  • 18.
  • 19.
  • 21.
    1 6 5 2 7 3 4
  • 22.
  • 23.
  • 24.
    OpenStack and Xen •XenAPI ᵒUsed by Rackspace Public Cloud ᵒStill developed by Citrix ᵒXCP ᵒXenServer ᵒXCP-XAPI • Libvirt + Xen ᵒNot widely used ᵒSUSE working • http://wiki.openstack.org/HypervisorSupportMatrix
  • 25.
  • 26.
    What is XCP? • XCP = Xen Cloud Platform • Open Source Citrix’s XenServer • Datacenter and cloud-ready API • Complete virtualization stack • xcp-xapi • iso
  • 27.
  • 28.
    Citrix and OpenStack •Still have an OpenSource team • Maintain and improve XenAPI support • Expose latest XenAPI features • Documentation • QA
  • 29.
    Storage XenMotion Live Virtual Machine XCP Host XCP Host VDI(s) Local Local Storage Storage XCP Pool 1 XCP Pool 2
  • 30.
  • 31.
    How can Iget involved?
  • 32.
    OpenStack Community • http://www.openstack.org/community •Email list and LaunchPad • Sign CLA • Clone from GitHub • Pick Bug or Blueprint • Submit to Gerrit • Enjoy 
  • 33.
    Join with XenCommunity? • Xen Doc Day • Xen Test Day • Work on OpenStack issues • Ideas?
  • 34.

Editor's Notes

  • #4 Taken from: http://www.openstack.org/software/Compute: VMsStorage: Block and ObjectNetworking: QuanutmShared: Glance, KeystoneAll accessed through APIs, reference GUI provided too
  • #5 Contributors in Essex
  • #6 Component based architecture: Quickly add new behaviors Highly available: Scale to very serious workloads Fault-Tolerant: Isolated processes avoid cascading failures Recoverable: Failures should be easy to diagnose, debug, and rectify Open Standards: Be a reference implementation for a community-driven API API Compatibility: Nova strives to provide API-compatible with popular systems like Amazon EC2
  • #8 Taken from: http://www.openstack.org/software/Compute: VMsStorage: Block and ObjectNetworking: QuanutmShared: Glance, KeystoneAll accessed through APIs, reference GUI provided too
  • #9 http://docs.openstack.org/essex/openstack-object-storage/admin/content/understanding-how-object-storage-works.html
  • #10 More details: http://api.openstack.org/
  • #12 nova-network:Flat DHCP (private cloud may have network public), floatingips (is other network is private), VLAN networking (limitations overcome by SDN)Integrating with existing networks: independent routable subnet is easiest
  • #14 http://www.openstack.org/themes/openstack/images/essex/launching-instances.jpgOpenStackHorizon: Dashboard
  • #16 These are the current core projectsTaken from: http://www.openstack.org/software/
  • #21 http://docs.openstack.org/essex/openstack-compute/admin/content/logical-architecture.htmlAPI + Dashboard: How you access the systemIdentity: Account managementSwift:storage distributed across multiple disksMassive rsync loopNote:Volume and Network being pulled out as separate components
  • #22 Lets look at how an image is launched in OpenStack
  • #23 More details:http://docs.openstack.org/developer/nova/devref/rpc.htmlAlso describe cast (just the top half)