SlideShare a Scribd company logo
XCP: The Art of Open Virtualization for
     the Enterprise and the Cloud

         LinuxCon Brazil 2011



              Marcus Granado
      XenServer Performance R&D Team
           Citrix – Cambridge UK
XCP
                                        POSIX/GNU       XenAPI
➢
    Virtualization appliance            userspace         ssh
                                          tools
➢
    Free and open-source version of                      xe-cli
                                        VM/XAPI
    XenServer                           toolstack        yum

➢
    Self-contained, easy and quick to
    install                              Linux kernel
➢
    Useful to power-users                Linux drivers
➢
    Scalable to enterprise and cloud      Xen hypervisor

    deployments                              HW
XCP   &   Xen

          Dom0 is OS
          agnostic:
                           DomUs
          32/64-bit       PV/HVM
          Linux,
          Solaris,
          BSD etc with
          HW drivers


           ctrl    vcpu    vbd
                                  ...
          h-calls vmem      vif

           32/64-bit Xen hypervisor
                 mechanisms

                    HW
XCP   &   Xen

XenAPI                             Dom0 is OS
                                   agnostic:
                 DomUs                              DomUs
XAPI
                PV/HVM             32/64-bit       PV/HVM
SRs
Policy                             Linux,
                VM App             Solaris,
Dom 0           eg. WLB,           BSD etc with
Linux           Transfer           HW drivers
32-bit            VM

 ctrl    vcpu     vbd               ctrl    vcpu    vbd
                         ...                               ...
h-calls vmem       vif             h-calls vmem      vif

                                    32/64-bit Xen hypervisor
 64-bit Xen hypervisor
                                          mechanisms
     mechanisms

         HW                                  HW
XCP          &   Xen

XenAPI                                    Dom0 is OS
                                          agnostic:
                 DomUs                                     DomUs
XAPI
                PV/HVM                    32/64-bit       PV/HVM
SRs
Policy                                    Linux,
                VM App                    Solaris,
Dom 0           eg. WLB,                  BSD etc with
Linux           Transfer                  HW drivers
32-bit            VM

 ctrl    vcpu     vbd                      ctrl    vcpu    vbd
                         ...                                      ...
h-calls vmem       vif                    h-calls vmem      vif

                                           32/64-bit Xen hypervisor
 64-bit Xen hypervisor
                                                 mechanisms
     mechanisms
                               pool                 HW
         HW
XenAPI
Installing XCP
Manually and automatically via CentOS-like unattended answerfile
XCP 1.1
➢
    XCP 1.1 derived from XenServer 5.6sp2:
    ➢
        Xen 3.4.2 as the hypervisor
    ➢
        Linux 2.6.32-xen in Dom0 based on SLES 11sp1
    ➢
        Dom0 userspace uses CentOS 5.5


➢
    Support for openstack cloud orchestration
➢
    Support for XenCenter
Xen                   &          KVM
Xen                                        KVM
No requirement for hardware-assisted       Needs VT-x, AMD-V
virtualization (VT-x, AMD-V)
●
  Allows eg. low-power x86 Atom-based
datacenters such as SeaMicro SM10000 and
old x86 hosts without these instructions

Small amount of code to trust in Ring0     Large TCB: Kernel + modules +
                                           userspace
PV drivers                                 VirtIO

                                           Guest page sharing / swapping

VM high-availability (with Remus)

Driver domains and stub-domains            Monolithic Linux Kernel
Xen Driver/Stub Domains

●   Driver Domains:
    Allow eg. using specific Linux versions supporting
    specific hw drivers; a driver crash will affect at most
    this domain, which can then be restarted without
    affecting other (driver) domains (similar to
    microkernels)

●   Stub Domains:
    Allow running specific apps in independent domains.
Future Plans for XCP
●   pvops dom0
        use current integration of Xen in Linux 3.0+
●   64-bit dom0
        remove limits of the 32-bit domain controller
●   domain disaggregation
        use driver domains, stub domains for XAPI and device
        model binaries
●   XenAPI on Debian/Ubuntu
    ●   Project Kronos
    ●   currently only CentOS
Contributing
●   XCP:
    ●   XAPI/XenAPI/Toolstack
          github.com/xen-org (ocaml etc)
    ●   Admin Graphical Interfaces
          sourceforge.net/projects/openxenmanager/ (python)
    ●   IRC / Help
          FreeNode #xen-api
    ●   Downloading/Testing
          xen.org/products/cloudxen.html


●   Xen
        xen.org (c lang)
        lists.xensource.com
        wiki.xen.org/xenwiki/GSoC_2011_ideas
Useful Links
●   For everything: Xen.org

●   A personal selection of useful links:
    ●   Obtaining XCP
        http://xen.org/download/xcp/
    ●   XenAPI
        http://docs.vmd.citrix.com/XenServer/6.0.0/1.0/en_gb/api/
    ●   Network Throughput Guide
        http://wiki.xen.org/xenwiki/Network_Throughput_Guide
    ●   XCP, RBAC and PAM authentication in the XenAPI
        http://blog.xen.org/index.php/2011/11/09/xcp-rbac-and-pam-authentication-in-the-xenapi/

    ●   Simulating the presence of PV drivers
        http://wiki.xen.org/xenwiki/XAPI_fake_presence_of_pv_drivers
Questions?
OpenXenManager PPA
●
    OpenXenManager is in Debian Sid unstable
    http://packages.debian.org/sid/openxenmanager

    and it will be in Ubuntu 12.04 repository
●
    You can also install it by adding this PPA:
      sudo add-apt-repository ppa:mike-
      mcclurg/openxenmanager
      sudo aptitude update
      sudo aptitude install openxenmanager
Project Kronos PPA
●
    Project Kronos has a Ubuntu PPA at
    add-apt-repository ppa:ubuntu-xen-org/xcp

    and probably in Ubuntu 12.04 repository
●
    Instructions to install XAPI on Debian and
    Ubuntu can be found at
    http://wiki.xen.org/xenwiki/XAPI_on_Ubuntu

More Related Content

PPTX
Xen Project Update LinuxCon Brazil
PPTX
Xen in the Cloud at SCALE 10x
PPTX
Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)
PDF
Xen Cloud Platform at Build a Cloud Day at SCALE 10x
PDF
Why Choose Xen For Your Cloud?
PPTX
BACD July 2012 : The Xen Cloud Platform
PPTX
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
PPTX
Linuxcon EU : Virtualization in the Cloud featuring Xen and XCP
Xen Project Update LinuxCon Brazil
Xen in the Cloud at SCALE 10x
Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)
Xen Cloud Platform at Build a Cloud Day at SCALE 10x
Why Choose Xen For Your Cloud?
BACD July 2012 : The Xen Cloud Platform
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
Linuxcon EU : Virtualization in the Cloud featuring Xen and XCP

What's hot (20)

ODP
S4 xen hypervisor_20080622
PDF
BSDcon Asia 2015: Xen on FreeBSD
PPTX
Xen cloud platform
PPSX
LinuxCon NA 2012: Virtualization in the cloud featuring xen
PDF
Securing your cloud with Xen's advanced security features
PPTX
Xen and Apache cloudstack
PPTX
Scale11x : Virtualization with Xen and XCP
PDF
Windsor: Domain 0 Disaggregation for XenServer and XCP
PDF
Aplura virtualization slides
ODP
UDS 2012 Xen
PDF
Xen ATG case study
PDF
Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session
PPTX
Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...
PDF
XS Boston 2008 XenLoop
PDF
Oscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCP
PDF
Xen PV Performance Status and Optimization Opportunities
PDF
Scaling Xen within Rackspace Cloud Servers
PDF
Building a Distributed Block Storage System on Xen
PDF
XS Boston 2008 Memory Overcommit
PDF
XS Boston 2008 Security
S4 xen hypervisor_20080622
BSDcon Asia 2015: Xen on FreeBSD
Xen cloud platform
LinuxCon NA 2012: Virtualization in the cloud featuring xen
Securing your cloud with Xen's advanced security features
Xen and Apache cloudstack
Scale11x : Virtualization with Xen and XCP
Windsor: Domain 0 Disaggregation for XenServer and XCP
Aplura virtualization slides
UDS 2012 Xen
Xen ATG case study
Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session
Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...
XS Boston 2008 XenLoop
Oscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCP
Xen PV Performance Status and Optimization Opportunities
Scaling Xen within Rackspace Cloud Servers
Building a Distributed Block Storage System on Xen
XS Boston 2008 Memory Overcommit
XS Boston 2008 Security
Ad

Similar to XCP: The Art of Open Virtualization for the Enterprise and the Cloud (20)

PPTX
PPTX
vBACD July 2012 - Xen Cloud Platform
PDF
Linaro connect : Introduction to Xen on ARM
PDF
Xen Hypervisor Update 2011
PDF
Scale11x : Virtualization with Xen and XCP
PDF
S4 xen hypervisor_20080622
PDF
Xen & the Art of Virtualization
PPS
Xen Euro Par07
PDF
Xen and Client Virtualization: the case of XenClient XT
PDF
Nakajima hvm-be final
PDF
Xen Community Update 2011
PDF
Look Into Libvirt Osier Yang
PDF
Highload Frank Kohler
PDF
Xenserver Highload Frank Kohler
PPTX
Xen Cloud Platform Update
PDF
Kernel Recipes 2014 - Xen as a foundation for cloud infrastructure
PPTX
Building Blocks of the Private Cloud - Compute
PDF
2010 xen-lisa
PDF
Xen 10th anniversary Status Report (at SELF 2013)
PDF
opensourceiaas
vBACD July 2012 - Xen Cloud Platform
Linaro connect : Introduction to Xen on ARM
Xen Hypervisor Update 2011
Scale11x : Virtualization with Xen and XCP
S4 xen hypervisor_20080622
Xen & the Art of Virtualization
Xen Euro Par07
Xen and Client Virtualization: the case of XenClient XT
Nakajima hvm-be final
Xen Community Update 2011
Look Into Libvirt Osier Yang
Highload Frank Kohler
Xenserver Highload Frank Kohler
Xen Cloud Platform Update
Kernel Recipes 2014 - Xen as a foundation for cloud infrastructure
Building Blocks of the Private Cloud - Compute
2010 xen-lisa
Xen 10th anniversary Status Report (at SELF 2013)
opensourceiaas
Ad

More from The Linux Foundation (20)

PDF
ELC2019: Static Partitioning Made Simple
PDF
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...
PDF
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...
PDF
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...
PDF
XPDDS19 Keynote: Unikraft Weather Report
PDF
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...
PDF
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
PDF
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...
PDF
XPDDS19: Memories of a VM Funk - Mihai Donțu, Bitdefender
PPTX
OSSJP/ALS19: The Road to Safety Certification: Overcoming Community Challeng...
PPTX
OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...
PDF
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix
PDF
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltd
PDF
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...
PDF
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D
PDF
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
PDF
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...
PDF
XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...
PDF
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...
PDF
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE
ELC2019: Static Partitioning Made Simple
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...
XPDDS19 Keynote: Unikraft Weather Report
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...
XPDDS19: Memories of a VM Funk - Mihai Donțu, Bitdefender
OSSJP/ALS19: The Road to Safety Certification: Overcoming Community Challeng...
OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltd
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...
XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE

Recently uploaded (20)

PDF
August Patch Tuesday
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PPTX
1. Introduction to Computer Programming.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Getting Started with Data Integration: FME Form 101
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
1 - Historical Antecedents, Social Consideration.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Hybrid model detection and classification of lung cancer
PPTX
A Presentation on Touch Screen Technology
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
project resource management chapter-09.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
Mushroom cultivation and it's methods.pdf
August Patch Tuesday
NewMind AI Weekly Chronicles - August'25-Week II
Heart disease approach using modified random forest and particle swarm optimi...
OMC Textile Division Presentation 2021.pptx
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
1. Introduction to Computer Programming.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
A comparative study of natural language inference in Swahili using monolingua...
Getting Started with Data Integration: FME Form 101
Univ-Connecticut-ChatGPT-Presentaion.pdf
Encapsulation_ Review paper, used for researhc scholars
1 - Historical Antecedents, Social Consideration.pdf
Programs and apps: productivity, graphics, security and other tools
Hybrid model detection and classification of lung cancer
A Presentation on Touch Screen Technology
cloud_computing_Infrastucture_as_cloud_p
project resource management chapter-09.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Zenith AI: Advanced Artificial Intelligence
Mushroom cultivation and it's methods.pdf

XCP: The Art of Open Virtualization for the Enterprise and the Cloud

  • 1. XCP: The Art of Open Virtualization for the Enterprise and the Cloud LinuxCon Brazil 2011 Marcus Granado XenServer Performance R&D Team Citrix – Cambridge UK
  • 2. XCP POSIX/GNU XenAPI ➢ Virtualization appliance userspace ssh tools ➢ Free and open-source version of xe-cli VM/XAPI XenServer toolstack yum ➢ Self-contained, easy and quick to install Linux kernel ➢ Useful to power-users Linux drivers ➢ Scalable to enterprise and cloud Xen hypervisor deployments HW
  • 3. XCP & Xen Dom0 is OS agnostic: DomUs 32/64-bit PV/HVM Linux, Solaris, BSD etc with HW drivers ctrl vcpu vbd ... h-calls vmem vif 32/64-bit Xen hypervisor mechanisms HW
  • 4. XCP & Xen XenAPI Dom0 is OS agnostic: DomUs DomUs XAPI PV/HVM 32/64-bit PV/HVM SRs Policy Linux, VM App Solaris, Dom 0 eg. WLB, BSD etc with Linux Transfer HW drivers 32-bit VM ctrl vcpu vbd ctrl vcpu vbd ... ... h-calls vmem vif h-calls vmem vif 32/64-bit Xen hypervisor 64-bit Xen hypervisor mechanisms mechanisms HW HW
  • 5. XCP & Xen XenAPI Dom0 is OS agnostic: DomUs DomUs XAPI PV/HVM 32/64-bit PV/HVM SRs Policy Linux, VM App Solaris, Dom 0 eg. WLB, BSD etc with Linux Transfer HW drivers 32-bit VM ctrl vcpu vbd ctrl vcpu vbd ... ... h-calls vmem vif h-calls vmem vif 32/64-bit Xen hypervisor 64-bit Xen hypervisor mechanisms mechanisms pool HW HW
  • 7. Installing XCP Manually and automatically via CentOS-like unattended answerfile
  • 8. XCP 1.1 ➢ XCP 1.1 derived from XenServer 5.6sp2: ➢ Xen 3.4.2 as the hypervisor ➢ Linux 2.6.32-xen in Dom0 based on SLES 11sp1 ➢ Dom0 userspace uses CentOS 5.5 ➢ Support for openstack cloud orchestration ➢ Support for XenCenter
  • 9. Xen & KVM Xen KVM No requirement for hardware-assisted Needs VT-x, AMD-V virtualization (VT-x, AMD-V) ● Allows eg. low-power x86 Atom-based datacenters such as SeaMicro SM10000 and old x86 hosts without these instructions Small amount of code to trust in Ring0 Large TCB: Kernel + modules + userspace PV drivers VirtIO Guest page sharing / swapping VM high-availability (with Remus) Driver domains and stub-domains Monolithic Linux Kernel
  • 10. Xen Driver/Stub Domains ● Driver Domains: Allow eg. using specific Linux versions supporting specific hw drivers; a driver crash will affect at most this domain, which can then be restarted without affecting other (driver) domains (similar to microkernels) ● Stub Domains: Allow running specific apps in independent domains.
  • 11. Future Plans for XCP ● pvops dom0 use current integration of Xen in Linux 3.0+ ● 64-bit dom0 remove limits of the 32-bit domain controller ● domain disaggregation use driver domains, stub domains for XAPI and device model binaries ● XenAPI on Debian/Ubuntu ● Project Kronos ● currently only CentOS
  • 12. Contributing ● XCP: ● XAPI/XenAPI/Toolstack github.com/xen-org (ocaml etc) ● Admin Graphical Interfaces sourceforge.net/projects/openxenmanager/ (python) ● IRC / Help FreeNode #xen-api ● Downloading/Testing xen.org/products/cloudxen.html ● Xen xen.org (c lang) lists.xensource.com wiki.xen.org/xenwiki/GSoC_2011_ideas
  • 13. Useful Links ● For everything: Xen.org ● A personal selection of useful links: ● Obtaining XCP http://xen.org/download/xcp/ ● XenAPI http://docs.vmd.citrix.com/XenServer/6.0.0/1.0/en_gb/api/ ● Network Throughput Guide http://wiki.xen.org/xenwiki/Network_Throughput_Guide ● XCP, RBAC and PAM authentication in the XenAPI http://blog.xen.org/index.php/2011/11/09/xcp-rbac-and-pam-authentication-in-the-xenapi/ ● Simulating the presence of PV drivers http://wiki.xen.org/xenwiki/XAPI_fake_presence_of_pv_drivers
  • 15. OpenXenManager PPA ● OpenXenManager is in Debian Sid unstable http://packages.debian.org/sid/openxenmanager and it will be in Ubuntu 12.04 repository ● You can also install it by adding this PPA: sudo add-apt-repository ppa:mike- mcclurg/openxenmanager sudo aptitude update sudo aptitude install openxenmanager
  • 16. Project Kronos PPA ● Project Kronos has a Ubuntu PPA at add-apt-repository ppa:ubuntu-xen-org/xcp and probably in Ubuntu 12.04 repository ● Instructions to install XAPI on Debian and Ubuntu can be found at http://wiki.xen.org/xenwiki/XAPI_on_Ubuntu