XenServer and OpenStackJohn Garbutt, Senior Software Developer, Citrix@johngarbutt27th September 2012
But Citrix does CloudStack?… but still got 3 people full time on OpenStack
Why use Xen?… because it was built for the Cloud!
History of Xen
We propose a system that can execute code suppliedby an untrusted user, yet can charge this user for allresources consumed by the computation. Suchservers could be deployed at strategic locationsthroughout the Internet Xenoservers: Accounted execution of untrusted code IEEE Hot Topics in Operating Systems VII March 1999
Why use Xen today?• Open Source with a large community and ecosystem• Mature and “Cloud Proven” ᵒAmazon, Rackspace and many others• True Type 1 hypervisor ᵒReduced TCB ᵒBest security, isolation, performance, scalability mix• Probably 10-12 Million OpenSource Users ᵒe.g. 3 x people on Debian have used Xen in the last 30 days vs KVM ᵒ12% of Ubuntu Servers hosted on Xen
“Type 1” vs “Type 2” Hypervisor
What is XenAPI?
Xen Terminology Xen = virtual machine monitor XenAPI = API to manage Xen XAPI = XenAPI deamon Dom0 = trusted management VM DomU = untrusted guest VM
5 32 1 4
How can I get started?Xen Cloud Platform (XCP) Citrix XenServer• Includes Xen and XAPI • Includes Xen and XAPI• Supported by Xen Community • Fully Supported by Citrix• Fully OpenSource • Free edition• xcp-xapi package ᵒWindows VMs ᵒPool based Live Migration ᵒDebian Wheezy & Ubuntu Precise ᵒHopefully in Fedora soon• http://xen.org/products/cloudxen.html http://citrix.com/xenserver/download
XenAPI with OpenStack?… it’s what Rackspace use!
2 3 4 1
How can I get started?
Getting Startedhttps://github.com/openstack-dev/devstack/blob/master/tools/xen Install XenServer Run DevStack
Ideas for the Future… help us choose and help us code?
Even Better IsolationLook at Citrix XenClient XT
Where can I find out more?
Further Reading• http://wiki.openstack.org/XenServer• http://wiki.openstack.org/HypervisorSupportMatrix• http://docs.openstack.org/trunk/openstack-compute/admin/content/introduction- to-xen.html• http://wiki.xen.org