SlideShare una empresa de Scribd logo
1 de 43
Getting Starting
XenServer and OpenStack

@JohnGarbutt
OpenStack Team Lead, Citrix

OpenStack Summit, San Diego, October 2012
But Citrix does CloudStack?
… but still got full time people on OpenStack
Why use Xen?
… because it was built for the Cloud!
History of Xen
We propose a system that can execute code supplied
by an untrusted user, yet can charge this user for all
resources consumed by the computation. Such
servers could be deployed at strategic locations
throughout 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
• 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 hypervisor
 ᵒReduced TCB
 ᵒBest security, isolation, performance, scalability mix
• ParaVirtual OPerationS now in Linux
Hypervisor Types




      (Hybrid) Type 1   Type 2
Even Better Isolation
Look at Citrix XenClient XT
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
    3




2

            1

    4
How can I install it?

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
What does it look like?
2   3       4




        1
1
6
    5



            2


                    7

        3       4
Demo
Live migration without shared storage
How can I get started?
… XenServer Specifics
Getting Started – Developer
https://github.com/openstack-dev/devstack/blob/master/tools/xen




  Install XenServer                          Run DevStack
Getting Started - Deployer




    Install         Install     Install
  XenServer         PV VM     OpenStack
1 –XenServer




   Setup          Install         Create
 Networking    XenAPI Plugins   Directories
2 – OpenStack DomU




   Install         Install      Configure
   PV VM       nova-compute   nova-compute
3 – Create Images




                    Install Agent   Upload VHD
  Create VM
                    or Cloud-Init    to Glance
Configuration Tips
… what to change after package install
Configure XenAPI Driver

• compute_driver=xenapi.XenAPIDriver


• xenapi_connection_url=http://10.219.10.26
• xenapi_connection_username=root
• xenapi_connection_password=xenroot
flat_network_bridge=xenbr1




flat_interface=eth1       public_network=eth3
Configure FlatDHCP Networking

• Dom0 interface: eth0, eth1, …
• Dom0 network “bridges”: xenbr0, xenbr1, xapi0, xapi1, …
• DomU interface: eth0, eth1, …


• public_network=eth3 (DomU)
• flat_network_bridge=xenbr1 (XenAPI network)
• flat_interface=eth1 (DomU)
• (vlan_interface=eth1 – Dom0 & DomU)
• name-label or id
Where can I find out more?
Get Involved

• Ask a question
• Ask on the mailing list
• Read the documentation
 ᵒhttp://docs.openstack.org/trunk/openstack-compute/admin/content/introduction-to-
  xen.html
 ᵒ[TODO – getting started doc]
• Look on the wiki
 ᵒhttp://wiki.openstack.org/XenServer
 ᵒhttp://wiki.openstack.org/HypervisorSupportMatrix
Using XenServer within
 Rackspace Cloud Servers
                                 Chris Behrens
                          chris.behrens@rackspace.com
OpenStack Summit, San Diego
October 2012



                                                        3
                                                        0
Intro to Cloud Servers



                    RACKSPACE® HOSTING   |   WWW.RACKSPACE.COM
                                                                 31
Intro to Cloud Servers
Overview

• Public Cloud product under Rackspace‟s Open Cloud portfolio
• First Gen
  – Code originated from Slicehost acquisition
  – Initially Xen 3.x, but migrated to XenServer
• Next Gen
  – Public Launch 8/1/2012
  – Powered by OpenStack
• XenServer 6
• Linux, Windows, and FreeBSD VMs


                                                          RACKSPACE® HOSTING   |   WWW.RACKSPACE.COM
                                                                                                       32
Intro to Cloud Servers
Statistics

• 180,000+ total Rackspace customers (not just Cloud Servers)
• Tens of thousands of hosts
• Hundreds of thousands of VMs
• Millions of snapshots




                                                          RACKSPACE® HOSTING   |   WWW.RACKSPACE.COM
                                                                                                       33
Why Xen?



           RACKSPACE® HOSTING   |   WWW.RACKSPACE.COM
                                                        34
Why Xen?
• Thin hypervisor layer
• Open source
• Excellent driver support due to Linux dom0
• Good API
• Good performance
• Along with Linux, Windows VMs are a must
  – Same virtualization technology desired for Windows
  – Microsoft will support
  – Good PV driver support



                                                         RACKSPACE® HOSTING   |   WWW.RACKSPACE.COM
                                                                                                      35
OpenStack
nova-compute w/ XenAPI
• Runs in a utility domU on each host
• Images downloaded in dom0               Physical host running XenServer
  – glance XenAPI plugin
• Images attached to nova-compute domU       dom0            nova utility domU
  – Partitioning changes                 glance plugin              nova-compute
  – file-system resizing
• Monitors VMs‟ power_state
                                          agent plugin
• Snapshots/backups                      xenstore plugin                nova instance
• VM resize/migration                                                      domUs
  – rsync to new host
• Communicates w/ agent inside VMs
  – Via xenstore

                                                           RACKSPACE® HOSTING   |   WWW.RACKSPACE.COM
                                                                                                        36
OpenStack
Rackspace Specifics




                      RACKSPACE® HOSTING   |   WWW.RACKSPACE.COM
                                                                   37
OpenStack Rackspace Specifics
Source Code

• Rackspace tracks trunk
 – Deployed code generally less than 2 weeks behind trunk
• Some custom patches on top of trunk
 – Features specific to Rackspace
 – Custom scheduling to meet Rackspace needs
 – Scaling with OpenStack Compute Cells




                                                            RACKSPACE® HOSTING   |   WWW.RACKSPACE.COM
                                                                                                         38
Deploying OpenStack
„Inception‟

• Private internal cloud
  – Based on Openstack, called iNova
  – OpenStack services for public cloud run virtualized under iNova
• Easy to spin up additional services for load balancing
  – Enables quick reaction to load spikes
• Easier deployments of new compute cells
• Automated reaction to downed hosts
• Enables new strategies for deployments
  – Replace vs Upgrade



                                                                      RACKSPACE® HOSTING   |   WWW.RACKSPACE.COM
                                                                                                                   39
Deploying OpenStack
iNova Diagram


                   iNova
                                  OpenStack Control
                                                                    Public Cloud
                                   Infrastructure for
                                                                   XenServer hosts
                                     Public Cloud
     XenServer hosts

             domUs

          XenServer host w/
         OpenStack Control
                                                                    Public Cloud
       Infrastructure for iNova                                    XenServer hosts


                                                        RACKSPACE® HOSTING   |   WWW.RACKSPACE.COM
                                                                                                     40
Deploying OpenStack
Continuous Deployment

• Trunk and custom branches merged multiple times daily
 – Unit Tested and Packaged
• Configuration managed with puppet
 – Follows same QE and Continuous Deployment rules as code
• QE Environment
 – OpenStack control infrastructure deployed on iNova
 – nova-compute upgraded on 200 hosts
 – Smoke tests
• Staging Deploy
 – Uses the same packages and puppet manifests

                                                             RACKSPACE® HOSTING   |   WWW.RACKSPACE.COM
                                                                                                          41
Q&A
Work better. Live better.

Más contenido relacionado

La actualidad más candente

Oscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCP
Oscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCPOscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCP
Oscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCPThe Linux Foundation
 
Scale11x : Virtualization with Xen and XCP
Scale11x : Virtualization with Xen and XCP Scale11x : Virtualization with Xen and XCP
Scale11x : Virtualization with Xen and XCP The Linux Foundation
 
Erlang on Xen: Redefining the cloud software stack
Erlang on Xen:  Redefining the cloud software stackErlang on Xen:  Redefining the cloud software stack
Erlang on Xen: Redefining the cloud software stackViktor Sovietov
 
LCEU13: Securing your cloud with Xen's advanced security features - George Du...
LCEU13: Securing your cloud with Xen's advanced security features - George Du...LCEU13: Securing your cloud with Xen's advanced security features - George Du...
LCEU13: Securing your cloud with Xen's advanced security features - George Du...The Linux Foundation
 
HVX: Virtualizing the Cloud
HVX: Virtualizing the CloudHVX: Virtualizing the Cloud
HVX: Virtualizing the CloudAlex Fishman
 
Introduction to the xen cloud platform - xcp
Introduction to the xen cloud platform - xcpIntroduction to the xen cloud platform - xcp
Introduction to the xen cloud platform - xcpLorscheider Santiago
 
Palestra Técnica do CISL - Xen Cloud Platform - Implementando Nuvens Privadas...
Palestra Técnica do CISL - Xen Cloud Platform - Implementando Nuvens Privadas...Palestra Técnica do CISL - Xen Cloud Platform - Implementando Nuvens Privadas...
Palestra Técnica do CISL - Xen Cloud Platform - Implementando Nuvens Privadas...Lorscheider Santiago
 
3 Dia Livre - Implementando Nuvens Privadas com XCP 1.1
3 Dia Livre - Implementando Nuvens Privadas com XCP 1.13 Dia Livre - Implementando Nuvens Privadas com XCP 1.1
3 Dia Livre - Implementando Nuvens Privadas com XCP 1.1Lorscheider Santiago
 
Xen Project Hypervisor for the Cloud
Xen Project Hypervisor for the CloudXen Project Hypervisor for the Cloud
Xen Project Hypervisor for the CloudThe Linux Foundation
 
Hypervisor Capabilities in Apache CloudStack 4.3
Hypervisor Capabilities in Apache CloudStack 4.3Hypervisor Capabilities in Apache CloudStack 4.3
Hypervisor Capabilities in Apache CloudStack 4.3Tim Mackey
 
Hypervisor Selection in Apache CloudStack 4.4
Hypervisor Selection in Apache CloudStack 4.4Hypervisor Selection in Apache CloudStack 4.4
Hypervisor Selection in Apache CloudStack 4.4Tim Mackey
 
Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session
Linaro Connect Asia 13 : Citrix - Xen on ARM plenary sessionLinaro Connect Asia 13 : Citrix - Xen on ARM plenary session
Linaro Connect Asia 13 : Citrix - Xen on ARM plenary sessionThe Linux Foundation
 
Ceph, Xen, and CloudStack: Semper Melior-XPUS13 McGarry
Ceph, Xen, and CloudStack: Semper Melior-XPUS13 McGarryCeph, Xen, and CloudStack: Semper Melior-XPUS13 McGarry
Ceph, Xen, and CloudStack: Semper Melior-XPUS13 McGarryThe Linux Foundation
 
CloudStack Day Japan 2015 - Hypervisor Selection in CloudStack 4.5
CloudStack Day Japan 2015 - Hypervisor Selection in CloudStack 4.5CloudStack Day Japan 2015 - Hypervisor Selection in CloudStack 4.5
CloudStack Day Japan 2015 - Hypervisor Selection in CloudStack 4.5Tim Mackey
 
Hypervisor selection in CloudStack
Hypervisor selection in CloudStackHypervisor selection in CloudStack
Hypervisor selection in CloudStackTim Mackey
 
Cloudstack vs Openstack
Cloudstack vs OpenstackCloudstack vs Openstack
Cloudstack vs OpenstackHuzefa Husain
 

La actualidad más candente (20)

Oscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCP
Oscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCPOscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCP
Oscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCP
 
Scale11x : Virtualization with Xen and XCP
Scale11x : Virtualization with Xen and XCP Scale11x : Virtualization with Xen and XCP
Scale11x : Virtualization with Xen and XCP
 
Erlang on Xen: Redefining the cloud software stack
Erlang on Xen:  Redefining the cloud software stackErlang on Xen:  Redefining the cloud software stack
Erlang on Xen: Redefining the cloud software stack
 
LCEU13: Securing your cloud with Xen's advanced security features - George Du...
LCEU13: Securing your cloud with Xen's advanced security features - George Du...LCEU13: Securing your cloud with Xen's advanced security features - George Du...
LCEU13: Securing your cloud with Xen's advanced security features - George Du...
 
Xen @ Google, 2011
Xen @ Google, 2011Xen @ Google, 2011
Xen @ Google, 2011
 
HVX: Virtualizing the Cloud
HVX: Virtualizing the CloudHVX: Virtualizing the Cloud
HVX: Virtualizing the Cloud
 
Introduction to the xen cloud platform - xcp
Introduction to the xen cloud platform - xcpIntroduction to the xen cloud platform - xcp
Introduction to the xen cloud platform - xcp
 
Palestra Técnica do CISL - Xen Cloud Platform - Implementando Nuvens Privadas...
Palestra Técnica do CISL - Xen Cloud Platform - Implementando Nuvens Privadas...Palestra Técnica do CISL - Xen Cloud Platform - Implementando Nuvens Privadas...
Palestra Técnica do CISL - Xen Cloud Platform - Implementando Nuvens Privadas...
 
3 Dia Livre - Implementando Nuvens Privadas com XCP 1.1
3 Dia Livre - Implementando Nuvens Privadas com XCP 1.13 Dia Livre - Implementando Nuvens Privadas com XCP 1.1
3 Dia Livre - Implementando Nuvens Privadas com XCP 1.1
 
Xen Project Hypervisor for the Cloud
Xen Project Hypervisor for the CloudXen Project Hypervisor for the Cloud
Xen Project Hypervisor for the Cloud
 
Art of Using Xen at Scale
Art of Using Xen at ScaleArt of Using Xen at Scale
Art of Using Xen at Scale
 
Xen and Apache cloudstack
Xen and Apache cloudstack  Xen and Apache cloudstack
Xen and Apache cloudstack
 
Hypervisor Capabilities in Apache CloudStack 4.3
Hypervisor Capabilities in Apache CloudStack 4.3Hypervisor Capabilities in Apache CloudStack 4.3
Hypervisor Capabilities in Apache CloudStack 4.3
 
Hypervisor Selection in Apache CloudStack 4.4
Hypervisor Selection in Apache CloudStack 4.4Hypervisor Selection in Apache CloudStack 4.4
Hypervisor Selection in Apache CloudStack 4.4
 
Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session
Linaro Connect Asia 13 : Citrix - Xen on ARM plenary sessionLinaro Connect Asia 13 : Citrix - Xen on ARM plenary session
Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session
 
Ceph, Xen, and CloudStack: Semper Melior-XPUS13 McGarry
Ceph, Xen, and CloudStack: Semper Melior-XPUS13 McGarryCeph, Xen, and CloudStack: Semper Melior-XPUS13 McGarry
Ceph, Xen, and CloudStack: Semper Melior-XPUS13 McGarry
 
CloudStack Day Japan 2015 - Hypervisor Selection in CloudStack 4.5
CloudStack Day Japan 2015 - Hypervisor Selection in CloudStack 4.5CloudStack Day Japan 2015 - Hypervisor Selection in CloudStack 4.5
CloudStack Day Japan 2015 - Hypervisor Selection in CloudStack 4.5
 
Hypervisor selection in CloudStack
Hypervisor selection in CloudStackHypervisor selection in CloudStack
Hypervisor selection in CloudStack
 
Xen 4.3 Roadmap
Xen 4.3 RoadmapXen 4.3 Roadmap
Xen 4.3 Roadmap
 
Cloudstack vs Openstack
Cloudstack vs OpenstackCloudstack vs Openstack
Cloudstack vs Openstack
 

Destacado

LinuxCon Japan 13 : 10 years of Xen and Beyond
LinuxCon Japan 13 : 10 years of Xen and BeyondLinuxCon Japan 13 : 10 years of Xen and Beyond
LinuxCon Japan 13 : 10 years of Xen and BeyondThe Linux Foundation
 
Does Hypervisor Matter in OpenStack?
Does Hypervisor Matter in OpenStack?Does Hypervisor Matter in OpenStack?
Does Hypervisor Matter in OpenStack?Mirantis
 
Mirantis超簡単Fuel Openstack インストール
Mirantis超簡単Fuel Openstack インストールMirantis超簡単Fuel Openstack インストール
Mirantis超簡単Fuel Openstack インストールKamon Nobuchika
 
Introducing Xen Server
Introducing Xen ServerIntroducing Xen Server
Introducing Xen ServerStephenRice86
 
Sencha and Spring (Spring 2GX 2013)
Sencha and Spring (Spring 2GX 2013) Sencha and Spring (Spring 2GX 2013)
Sencha and Spring (Spring 2GX 2013) Sencha
 
Technological applications and innovations
Technological applications and innovationsTechnological applications and innovations
Technological applications and innovationsrbulalakaw
 
7 Deadly Sins of Tech
7 Deadly Sins of Tech7 Deadly Sins of Tech
7 Deadly Sins of TechRob Dyke
 
Geography of Bihar by Eithasab Ahmed
Geography of Bihar by Eithasab AhmedGeography of Bihar by Eithasab Ahmed
Geography of Bihar by Eithasab AhmedPonnuru Varun
 
Game is-over
Game is-overGame is-over
Game is-overonessfee
 
Hsu Presentation
Hsu PresentationHsu Presentation
Hsu Presentationsealt
 
I did not go to School last Saturday
I did not go to School last SaturdayI did not go to School last Saturday
I did not go to School last SaturdaySandra MP
 

Destacado (20)

LinuxCon Japan 13 : 10 years of Xen and Beyond
LinuxCon Japan 13 : 10 years of Xen and BeyondLinuxCon Japan 13 : 10 years of Xen and Beyond
LinuxCon Japan 13 : 10 years of Xen and Beyond
 
Does Hypervisor Matter in OpenStack?
Does Hypervisor Matter in OpenStack?Does Hypervisor Matter in OpenStack?
Does Hypervisor Matter in OpenStack?
 
Hypervisor and Nova
Hypervisor and NovaHypervisor and Nova
Hypervisor and Nova
 
Mirantis超簡単Fuel Openstack インストール
Mirantis超簡単Fuel Openstack インストールMirantis超簡単Fuel Openstack インストール
Mirantis超簡単Fuel Openstack インストール
 
Introducing Xen Server
Introducing Xen ServerIntroducing Xen Server
Introducing Xen Server
 
Ccc 1314
Ccc 1314Ccc 1314
Ccc 1314
 
SGGSWU Prospectus 2016-17
SGGSWU Prospectus 2016-17SGGSWU Prospectus 2016-17
SGGSWU Prospectus 2016-17
 
Rxpay-sepa-germany-01
Rxpay-sepa-germany-01Rxpay-sepa-germany-01
Rxpay-sepa-germany-01
 
Sencha and Spring (Spring 2GX 2013)
Sencha and Spring (Spring 2GX 2013) Sencha and Spring (Spring 2GX 2013)
Sencha and Spring (Spring 2GX 2013)
 
ASI Financials 2011 Brochure
ASI Financials 2011 BrochureASI Financials 2011 Brochure
ASI Financials 2011 Brochure
 
Technological applications and innovations
Technological applications and innovationsTechnological applications and innovations
Technological applications and innovations
 
Uuuu 2014-1 efr-corp_pres(final v.2)
Uuuu 2014-1 efr-corp_pres(final v.2)Uuuu 2014-1 efr-corp_pres(final v.2)
Uuuu 2014-1 efr-corp_pres(final v.2)
 
Power grid
Power gridPower grid
Power grid
 
7 Deadly Sins of Tech
7 Deadly Sins of Tech7 Deadly Sins of Tech
7 Deadly Sins of Tech
 
Geography of Bihar by Eithasab Ahmed
Geography of Bihar by Eithasab AhmedGeography of Bihar by Eithasab Ahmed
Geography of Bihar by Eithasab Ahmed
 
Game is-over
Game is-overGame is-over
Game is-over
 
Hsu Presentation
Hsu PresentationHsu Presentation
Hsu Presentation
 
Kjdf
KjdfKjdf
Kjdf
 
I did not go to School last Saturday
I did not go to School last SaturdayI did not go to School last Saturday
I did not go to School last Saturday
 
Backtrack 3 USB
Backtrack 3 USBBacktrack 3 USB
Backtrack 3 USB
 

Similar a Getting Started with XenServer and OpenStack.pptx

Scaling Xen Within Rackspace Cloud Servers
Scaling Xen Within Rackspace Cloud ServersScaling Xen Within Rackspace Cloud Servers
Scaling Xen Within Rackspace Cloud ServersRackspace
 
Operating OpenStack - Case Study in the Rackspace Cloud
Operating OpenStack - Case Study in the Rackspace CloudOperating OpenStack - Case Study in the Rackspace Cloud
Operating OpenStack - Case Study in the Rackspace CloudRainya Mosher
 
OpenStack Ecosystem – Xen Cloud Platform and Integration into OpenStack - in...
OpenStack Ecosystem – Xen Cloud Platform and Integration into OpenStack -  in...OpenStack Ecosystem – Xen Cloud Platform and Integration into OpenStack -  in...
OpenStack Ecosystem – Xen Cloud Platform and Integration into OpenStack - in...IndicThreads
 
OpenStack + VMware at the Hong Kong OpenStack Summit
OpenStack + VMware at the Hong Kong OpenStack SummitOpenStack + VMware at the Hong Kong OpenStack Summit
OpenStack + VMware at the Hong Kong OpenStack SummitDan Wendlandt
 
Intro to OpenStack - WAJUG
Intro to OpenStack - WAJUGIntro to OpenStack - WAJUG
Intro to OpenStack - WAJUGKevin Jackson
 
Successfully Deliver and Operate OpenStack in Production with VMware VIO
Successfully Deliver and Operate OpenStack in Production with VMware VIOSuccessfully Deliver and Operate OpenStack in Production with VMware VIO
Successfully Deliver and Operate OpenStack in Production with VMware VIOArraya Solutions
 
BACD July 2012 : The Xen Cloud Platform
BACD July 2012 : The Xen Cloud Platform BACD July 2012 : The Xen Cloud Platform
BACD July 2012 : The Xen Cloud Platform The Linux Foundation
 
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...cloud-diva
 
003 vm ware_whitepaper_screen
003 vm ware_whitepaper_screen003 vm ware_whitepaper_screen
003 vm ware_whitepaper_screenPaulo R
 
Ravello webinar - Creating smart labs on AWS/Google for sales demos, training...
Ravello webinar - Creating smart labs on AWS/Google for sales demos, training...Ravello webinar - Creating smart labs on AWS/Google for sales demos, training...
Ravello webinar - Creating smart labs on AWS/Google for sales demos, training...shrutib
 
Crash Course on Open Source Cloud Computing
Crash Course on Open Source Cloud ComputingCrash Course on Open Source Cloud Computing
Crash Course on Open Source Cloud ComputingMark Hinkle
 
What is the OpenStack Platform? By Peter Dens - Kangaroot
What is the OpenStack Platform? By Peter Dens - KangarootWhat is the OpenStack Platform? By Peter Dens - Kangaroot
What is the OpenStack Platform? By Peter Dens - KangarootKangaroot
 
Cloud Technology Stack Comparison (OpenStack) - Cloud Connect Chicago 2012
Cloud Technology Stack Comparison (OpenStack) - Cloud Connect Chicago 2012Cloud Technology Stack Comparison (OpenStack) - Cloud Connect Chicago 2012
Cloud Technology Stack Comparison (OpenStack) - Cloud Connect Chicago 2012Wayne Walls
 

Similar a Getting Started with XenServer and OpenStack.pptx (20)

Scaling Xen Within Rackspace Cloud Servers
Scaling Xen Within Rackspace Cloud ServersScaling Xen Within Rackspace Cloud Servers
Scaling Xen Within Rackspace Cloud Servers
 
OpenStack 101 update
OpenStack 101 updateOpenStack 101 update
OpenStack 101 update
 
Operating OpenStack - Case Study in the Rackspace Cloud
Operating OpenStack - Case Study in the Rackspace CloudOperating OpenStack - Case Study in the Rackspace Cloud
Operating OpenStack - Case Study in the Rackspace Cloud
 
OpenStack Ecosystem – Xen Cloud Platform and Integration into OpenStack - in...
OpenStack Ecosystem – Xen Cloud Platform and Integration into OpenStack -  in...OpenStack Ecosystem – Xen Cloud Platform and Integration into OpenStack -  in...
OpenStack Ecosystem – Xen Cloud Platform and Integration into OpenStack - in...
 
China user group keynote
China user group keynoteChina user group keynote
China user group keynote
 
Introduction to CloudStack
Introduction to CloudStack Introduction to CloudStack
Introduction to CloudStack
 
OpenStack + VMware at the Hong Kong OpenStack Summit
OpenStack + VMware at the Hong Kong OpenStack SummitOpenStack + VMware at the Hong Kong OpenStack Summit
OpenStack + VMware at the Hong Kong OpenStack Summit
 
Intro to OpenStack - WAJUG
Intro to OpenStack - WAJUGIntro to OpenStack - WAJUG
Intro to OpenStack - WAJUG
 
Successfully Deliver and Operate OpenStack in Production with VMware VIO
Successfully Deliver and Operate OpenStack in Production with VMware VIOSuccessfully Deliver and Operate OpenStack in Production with VMware VIO
Successfully Deliver and Operate OpenStack in Production with VMware VIO
 
Intro to CloudStack
Intro to CloudStackIntro to CloudStack
Intro to CloudStack
 
BACD July 2012 : The Xen Cloud Platform
BACD July 2012 : The Xen Cloud Platform BACD July 2012 : The Xen Cloud Platform
BACD July 2012 : The Xen Cloud Platform
 
vBACD July 2012 - Xen Cloud Platform
vBACD July 2012 - Xen Cloud PlatformvBACD July 2012 - Xen Cloud Platform
vBACD July 2012 - Xen Cloud Platform
 
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
 
003 vm ware_whitepaper_screen
003 vm ware_whitepaper_screen003 vm ware_whitepaper_screen
003 vm ware_whitepaper_screen
 
opensourceiaas
opensourceiaasopensourceiaas
opensourceiaas
 
Ravello webinar - Creating smart labs on AWS/Google for sales demos, training...
Ravello webinar - Creating smart labs on AWS/Google for sales demos, training...Ravello webinar - Creating smart labs on AWS/Google for sales demos, training...
Ravello webinar - Creating smart labs on AWS/Google for sales demos, training...
 
Crash Course on Open Source Cloud Computing
Crash Course on Open Source Cloud ComputingCrash Course on Open Source Cloud Computing
Crash Course on Open Source Cloud Computing
 
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
 
What is the OpenStack Platform? By Peter Dens - Kangaroot
What is the OpenStack Platform? By Peter Dens - KangarootWhat is the OpenStack Platform? By Peter Dens - Kangaroot
What is the OpenStack Platform? By Peter Dens - Kangaroot
 
Cloud Technology Stack Comparison (OpenStack) - Cloud Connect Chicago 2012
Cloud Technology Stack Comparison (OpenStack) - Cloud Connect Chicago 2012Cloud Technology Stack Comparison (OpenStack) - Cloud Connect Chicago 2012
Cloud Technology Stack Comparison (OpenStack) - Cloud Connect Chicago 2012
 

Más de OpenStack Foundation

Sponsor Webinar - OpenStack Summit Vancouver 2018
Sponsor Webinar  - OpenStack Summit Vancouver 2018Sponsor Webinar  - OpenStack Summit Vancouver 2018
Sponsor Webinar - OpenStack Summit Vancouver 2018OpenStack Foundation
 
OpenStack Summits 101: A Guide For Attendees
OpenStack Summits 101: A Guide For AttendeesOpenStack Summits 101: A Guide For Attendees
OpenStack Summits 101: A Guide For AttendeesOpenStack Foundation
 
OpenStack Marketing Plan - Community Presentation
OpenStack Marketing Plan - Community PresentationOpenStack Marketing Plan - Community Presentation
OpenStack Marketing Plan - Community PresentationOpenStack Foundation
 
OpenStack 5th Birthday - User Group Parties
OpenStack 5th Birthday - User Group PartiesOpenStack 5th Birthday - User Group Parties
OpenStack 5th Birthday - User Group PartiesOpenStack Foundation
 
Liberty release: Preliminary marketing materials & messages
Liberty release: Preliminary marketing materials & messagesLiberty release: Preliminary marketing materials & messages
Liberty release: Preliminary marketing materials & messagesOpenStack Foundation
 
OpenStack Foundation 2H 2015 Marketing Plan
OpenStack Foundation 2H 2015 Marketing PlanOpenStack Foundation 2H 2015 Marketing Plan
OpenStack Foundation 2H 2015 Marketing PlanOpenStack Foundation
 
OpenStack Summit Tokyo Sponsor Webinar
OpenStack Summit Tokyo Sponsor Webinar OpenStack Summit Tokyo Sponsor Webinar
OpenStack Summit Tokyo Sponsor Webinar OpenStack Foundation
 
Neutron Updates - Liberty Edition
Neutron Updates - Liberty Edition Neutron Updates - Liberty Edition
Neutron Updates - Liberty Edition OpenStack Foundation
 
Searchlight Updates - Liberty Edition
Searchlight Updates - Liberty EditionSearchlight Updates - Liberty Edition
Searchlight Updates - Liberty EditionOpenStack Foundation
 
Congress Updates - Liberty Edition
Congress Updates - Liberty EditionCongress Updates - Liberty Edition
Congress Updates - Liberty EditionOpenStack Foundation
 
Release Cycle Management Updates - Liberty Edition
Release Cycle Management Updates - Liberty EditionRelease Cycle Management Updates - Liberty Edition
Release Cycle Management Updates - Liberty EditionOpenStack Foundation
 
OpenStack Day CEE 2015: Real-World Use Cases
OpenStack Day CEE 2015: Real-World Use CasesOpenStack Day CEE 2015: Real-World Use Cases
OpenStack Day CEE 2015: Real-World Use CasesOpenStack Foundation
 

Más de OpenStack Foundation (20)

Sponsor Webinar - OpenStack Summit Vancouver 2018
Sponsor Webinar  - OpenStack Summit Vancouver 2018Sponsor Webinar  - OpenStack Summit Vancouver 2018
Sponsor Webinar - OpenStack Summit Vancouver 2018
 
OpenStack Summits 101: A Guide For Attendees
OpenStack Summits 101: A Guide For AttendeesOpenStack Summits 101: A Guide For Attendees
OpenStack Summits 101: A Guide For Attendees
 
OpenStack Marketing Plan - Community Presentation
OpenStack Marketing Plan - Community PresentationOpenStack Marketing Plan - Community Presentation
OpenStack Marketing Plan - Community Presentation
 
OpenStack 5th Birthday - User Group Parties
OpenStack 5th Birthday - User Group PartiesOpenStack 5th Birthday - User Group Parties
OpenStack 5th Birthday - User Group Parties
 
Liberty release: Preliminary marketing materials & messages
Liberty release: Preliminary marketing materials & messagesLiberty release: Preliminary marketing materials & messages
Liberty release: Preliminary marketing materials & messages
 
OpenStack Foundation 2H 2015 Marketing Plan
OpenStack Foundation 2H 2015 Marketing PlanOpenStack Foundation 2H 2015 Marketing Plan
OpenStack Foundation 2H 2015 Marketing Plan
 
OpenStack Summit Tokyo Sponsor Webinar
OpenStack Summit Tokyo Sponsor Webinar OpenStack Summit Tokyo Sponsor Webinar
OpenStack Summit Tokyo Sponsor Webinar
 
Cinder Updates - Liberty Edition
Cinder Updates - Liberty Edition Cinder Updates - Liberty Edition
Cinder Updates - Liberty Edition
 
Glance Updates - Liberty Edition
Glance Updates - Liberty EditionGlance Updates - Liberty Edition
Glance Updates - Liberty Edition
 
Heat Updates - Liberty Edition
Heat Updates - Liberty EditionHeat Updates - Liberty Edition
Heat Updates - Liberty Edition
 
Neutron Updates - Liberty Edition
Neutron Updates - Liberty Edition Neutron Updates - Liberty Edition
Neutron Updates - Liberty Edition
 
Nova Updates - Liberty Edition
Nova Updates - Liberty EditionNova Updates - Liberty Edition
Nova Updates - Liberty Edition
 
Sahara Updates - Liberty Edition
Sahara Updates - Liberty EditionSahara Updates - Liberty Edition
Sahara Updates - Liberty Edition
 
Searchlight Updates - Liberty Edition
Searchlight Updates - Liberty EditionSearchlight Updates - Liberty Edition
Searchlight Updates - Liberty Edition
 
Trove Updates - Liberty Edition
Trove Updates - Liberty EditionTrove Updates - Liberty Edition
Trove Updates - Liberty Edition
 
OpenStack: five years in
OpenStack: five years inOpenStack: five years in
OpenStack: five years in
 
Swift Updates - Liberty Edition
Swift Updates - Liberty EditionSwift Updates - Liberty Edition
Swift Updates - Liberty Edition
 
Congress Updates - Liberty Edition
Congress Updates - Liberty EditionCongress Updates - Liberty Edition
Congress Updates - Liberty Edition
 
Release Cycle Management Updates - Liberty Edition
Release Cycle Management Updates - Liberty EditionRelease Cycle Management Updates - Liberty Edition
Release Cycle Management Updates - Liberty Edition
 
OpenStack Day CEE 2015: Real-World Use Cases
OpenStack Day CEE 2015: Real-World Use CasesOpenStack Day CEE 2015: Real-World Use Cases
OpenStack Day CEE 2015: Real-World Use Cases
 

Getting Started with XenServer and OpenStack.pptx

  • 1. Getting Starting XenServer and OpenStack @JohnGarbutt OpenStack Team Lead, Citrix OpenStack Summit, San Diego, October 2012
  • 2. But Citrix does CloudStack? … but still got full time people on OpenStack
  • 3. Why use Xen? … because it was built for the Cloud!
  • 5. We propose a system that can execute code supplied by an untrusted user, yet can charge this user for all resources consumed by the computation. Such servers could be deployed at strategic locations throughout the Internet Xenoservers: Accounted execution of untrusted code IEEE Hot Topics in Operating Systems VII March 1999
  • 6. Why use Xen today? • Open Source with a large community and ecosystem • Mature and “Cloud Proven” ᵒAmazon, Rackspace and many others • 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 hypervisor ᵒReduced TCB ᵒBest security, isolation, performance, scalability mix • ParaVirtual OPerationS now in Linux
  • 7. Hypervisor Types (Hybrid) Type 1 Type 2
  • 8. Even Better Isolation Look at Citrix XenClient XT
  • 10. Xen Terminology Xen = virtual machine monitor XenAPI = API to manage Xen XAPI = XenAPI deamon Dom0 = trusted management VM DomU = untrusted guest VM
  • 11. 5 3 2 1 4
  • 12. How can I install it? 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
  • 13. What does it look like?
  • 14. 2 3 4 1
  • 15.
  • 16. 1 6 5 2 7 3 4
  • 17. Demo Live migration without shared storage
  • 18. How can I get started? … XenServer Specifics
  • 19. Getting Started – Developer https://github.com/openstack-dev/devstack/blob/master/tools/xen Install XenServer Run DevStack
  • 20. Getting Started - Deployer Install Install Install XenServer PV VM OpenStack
  • 21. 1 –XenServer Setup Install Create Networking XenAPI Plugins Directories
  • 22. 2 – OpenStack DomU Install Install Configure PV VM nova-compute nova-compute
  • 23. 3 – Create Images Install Agent Upload VHD Create VM or Cloud-Init to Glance
  • 24. Configuration Tips … what to change after package install
  • 25. Configure XenAPI Driver • compute_driver=xenapi.XenAPIDriver • xenapi_connection_url=http://10.219.10.26 • xenapi_connection_username=root • xenapi_connection_password=xenroot
  • 27. Configure FlatDHCP Networking • Dom0 interface: eth0, eth1, … • Dom0 network “bridges”: xenbr0, xenbr1, xapi0, xapi1, … • DomU interface: eth0, eth1, … • public_network=eth3 (DomU) • flat_network_bridge=xenbr1 (XenAPI network) • flat_interface=eth1 (DomU) • (vlan_interface=eth1 – Dom0 & DomU) • name-label or id
  • 28. Where can I find out more?
  • 29. Get Involved • Ask a question • Ask on the mailing list • Read the documentation ᵒhttp://docs.openstack.org/trunk/openstack-compute/admin/content/introduction-to- xen.html ᵒ[TODO – getting started doc] • Look on the wiki ᵒhttp://wiki.openstack.org/XenServer ᵒhttp://wiki.openstack.org/HypervisorSupportMatrix
  • 30. Using XenServer within Rackspace Cloud Servers Chris Behrens chris.behrens@rackspace.com OpenStack Summit, San Diego October 2012 3 0
  • 31. Intro to Cloud Servers RACKSPACE® HOSTING | WWW.RACKSPACE.COM 31
  • 32. Intro to Cloud Servers Overview • Public Cloud product under Rackspace‟s Open Cloud portfolio • First Gen – Code originated from Slicehost acquisition – Initially Xen 3.x, but migrated to XenServer • Next Gen – Public Launch 8/1/2012 – Powered by OpenStack • XenServer 6 • Linux, Windows, and FreeBSD VMs RACKSPACE® HOSTING | WWW.RACKSPACE.COM 32
  • 33. Intro to Cloud Servers Statistics • 180,000+ total Rackspace customers (not just Cloud Servers) • Tens of thousands of hosts • Hundreds of thousands of VMs • Millions of snapshots RACKSPACE® HOSTING | WWW.RACKSPACE.COM 33
  • 34. Why Xen? RACKSPACE® HOSTING | WWW.RACKSPACE.COM 34
  • 35. Why Xen? • Thin hypervisor layer • Open source • Excellent driver support due to Linux dom0 • Good API • Good performance • Along with Linux, Windows VMs are a must – Same virtualization technology desired for Windows – Microsoft will support – Good PV driver support RACKSPACE® HOSTING | WWW.RACKSPACE.COM 35
  • 36. OpenStack nova-compute w/ XenAPI • Runs in a utility domU on each host • Images downloaded in dom0 Physical host running XenServer – glance XenAPI plugin • Images attached to nova-compute domU dom0 nova utility domU – Partitioning changes glance plugin nova-compute – file-system resizing • Monitors VMs‟ power_state agent plugin • Snapshots/backups xenstore plugin nova instance • VM resize/migration domUs – rsync to new host • Communicates w/ agent inside VMs – Via xenstore RACKSPACE® HOSTING | WWW.RACKSPACE.COM 36
  • 37. OpenStack Rackspace Specifics RACKSPACE® HOSTING | WWW.RACKSPACE.COM 37
  • 38. OpenStack Rackspace Specifics Source Code • Rackspace tracks trunk – Deployed code generally less than 2 weeks behind trunk • Some custom patches on top of trunk – Features specific to Rackspace – Custom scheduling to meet Rackspace needs – Scaling with OpenStack Compute Cells RACKSPACE® HOSTING | WWW.RACKSPACE.COM 38
  • 39. Deploying OpenStack „Inception‟ • Private internal cloud – Based on Openstack, called iNova – OpenStack services for public cloud run virtualized under iNova • Easy to spin up additional services for load balancing – Enables quick reaction to load spikes • Easier deployments of new compute cells • Automated reaction to downed hosts • Enables new strategies for deployments – Replace vs Upgrade RACKSPACE® HOSTING | WWW.RACKSPACE.COM 39
  • 40. Deploying OpenStack iNova Diagram iNova OpenStack Control Public Cloud Infrastructure for XenServer hosts Public Cloud XenServer hosts domUs XenServer host w/ OpenStack Control Public Cloud Infrastructure for iNova XenServer hosts RACKSPACE® HOSTING | WWW.RACKSPACE.COM 40
  • 41. Deploying OpenStack Continuous Deployment • Trunk and custom branches merged multiple times daily – Unit Tested and Packaged • Configuration managed with puppet – Follows same QE and Continuous Deployment rules as code • QE Environment – OpenStack control infrastructure deployed on iNova – nova-compute upgraded on 200 hosts – Smoke tests • Staging Deploy – Uses the same packages and puppet manifests RACKSPACE® HOSTING | WWW.RACKSPACE.COM 41
  • 42. Q&A
  • 43. Work better. Live better.

Notas del editor

  1. http://docs.vmd.citrix.com/XenServer/6.0.0/1.0/en_gb/api/
  2. 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
  3. Lets look at how an image is launched in OpenStack
  4. Been using Xen since before KVM was an option.
  5. Rackspace specific features mostly means features the community doesn’t care about or features that are just not appropriate for the community.