SlideShare une entreprise Scribd logo
1  sur  35
Virtualization in the Cloud:
Featuring Xen
                                               Lars Kurth
                                 Xen Community Manager
                                      lars.kurth@xen.org

                                            @lars_kurth
          FREENODE: lars_kurth           @xen_com_mgr
A Brief History of Xen in the Cloud
Late 90s

XenoServer Project
(Cambridge Univ.)
                                               Global Public Computing
The XenoServer project is building
     public infrastructure for wide-area       “This dissertation proposes a new distributed computing
     distributed computing.                     paradigm, termed global public computing, which allows
                                                any user to run any code anywhere. Such platforms price
We envisage a world in which XenoServer
                                                computing resources, and ultimately charge users for
execution platforms will be scattered across
                                                resources consumed.“
the globe and available for any member of
the public to submit code for execution.       Evangelos Kotsovinos, PhD dissertation, 2004
A Brief History of Xen in the Cloud
Late 90s             Oct ‘03         ‘06             ‘08         ‘09         ‘11 ‘12

XenoServer Project                   Amazon EC2                            XCP 1.x
(Cambridge Univ.)                    and Slicehost                     Cloud Mgmt
                                     launched
                     Xen Presented                   Rackspace
                     at SOSP                         Cloud               XCP packages
                                                                              in Linux
                                                                 XCP
                                                                 Announced       Xen for ARM
                                                                                 based Servers
                                                                                 PV in HVM
                                                                                 Containers
The Xen Hypervisor was designed for
the Cloud straight from the outset!
Xen.org
• Guardian of Xen Hypervisor and related OSS Projects
• Xen project Governance similar to Linux Kernel
• Projects
   –   Xen Hypervisor (led by Citrix)
   –   Xen Cloud Platform aka XCP (led by Citrix)
   –   Xen ARM : Xen for mobile devices (led by Samsung)
   –   PVOPS : Xen components and support in Linux Kernel (led by Oracle)
• 10+ vendors contributing more than 1% to the project
  (AWS, AMD, Citrix, GridCentric, Fujitsu, Huawei, iWeb, Intel, NSA, Oracle, Samsung, Suse, …)
Xen Overview
Architecture Considerations
Type 1: Bare metal Hypervisor                                Type 2: OS ‘Hosted’
A pure Hypervisor that runs directly on the                  A Hypervisor that runs within a Host OS and hosts
hardware and hosts Guest OS’s.                               Guest OS’s inside of it, using the host OS services
                                                             to provide the virtual environment.

                                              VMn                                User-level VMM                   VMn
                                          VM1                User
                                                                                                               VM1
                                                             Apps
                                        VM0                                       Device Models
                                                                                                          VM0
                                         Guest OS                                                              Guest OS
                                         and Apps                                                              and Apps
                                                             Host OS
                            Scheduler           Hypervisor
                                                                                           Ring-0 VM Monitor
 Device Drivers/Models                                        Device Drivers               “Kernel “
                              MMU


                                                  Host HW    Host HW
I/O             Memory        CPUs                                         I/O                Memory             CPUs



      Provides partition isolation + reliability,                        Low cost, no additional drivers
                  higher security                                          Ease of use & installation
Xen: Type 1 with a Twist
Control domain
                                                         Thinner hypervisor
(dom0)                                                   • Functionality moved to Dom0

      Device Models                       VMn
                                                         Using Linux PV OPS
                                      VM1                • Using Linux Device Drivers
         Drivers
                                    VM0                  • PV, PV on HVM and PVH modes
                                     Guest OS            • Sharing components with KVM
 Linux & BSD                         and Apps


                                            Hypervisor
                                                         In other words
 Scheduler          MMU     XSM
                                                         • Driver re-use
I/O                Memory    CPUs
                                              Host HW    • Ease of use & Installation
                                                         • Isolation & Security

                                                             8
Basic Xen Concepts
                                                                Control Domain aka Dom0
                   Console                                      •   Dom0 kernel with drivers
                                                                •   Xen Management Toolstack
                                                 VMn            •   Trusted Computing Base
Control domain                               VM1
(dom0)                                                          Guest Domains
                         One or more       VM0
       Toolstack         driver, stub or                        •   Your apps
      Dom0 Kernel
                         service domains    Guest OS
                                            and Apps
                                                                •   E.g. your cloud management stack
                                                                Driver/Stub/Service Domain(s)
 Scheduler           MMU          XSM              Hypervisor
                                                                •   A “driver, device model or control
                                                     Host HW        service in a box”
I/O                 Memory          CPUs
                                                                •   De-privileged and isolated
                                                                •   Lifetime: start, stop, kill
                                                                     9
Xen Variants for Server & Cloud
                                      Xen Hypervisor                                 XCP

Toolstack / Console    Default / XL (XM)            Libvirt / VIRSH               XAPI / XE

                      Increased level of functionality and integration with other components

Get Binaries from …   Linux Distros              Linux Distros             Debian & Ubuntu

                                                                           ISO from Xen.org

Products                   Oracle VM                 Huawei UVP               Citrix XenServer


Used by …
                                                   Many
                                                   Others
                          More info …                                     10 More info …
Xen : Types of Virtualization
PV Domains & Driver Domains
Control domain              Guest VMn        Driver Domain
                                                                   Linux PV guests have limitations:
(dom0)                                       e.g.                  • limited set of virtual hardware
                                 Apps        • Disk
                                             • Network             Advantages
  PV Back Ends               PV Front Ends     PV Back End         • Fast
                                                                   • Works on any system
      HW Drivers                                HW Driver
                                                                     (even without virt extensions)
                               Guest OS       Dom0 Kernel*
                                                                   Driver Domains
                                              Xen Hypervisor
                                                                   • Security
                                                                   • Isolation
I/O                Memory           CPUs
                                                    Host HW        • Reliability and Robustness


                                                *) Can be MiniOS
                                                                                  12
HVM & Stub Domains
Dom0           Guest VMn      Stubdomn        Guest VMn
                                                              Disadvantages
                                                              • Slower than PV due to Emulation
                                                                (mainly I/O devices)
               IO Emulation                    IO Emulation
Device Model                  Device Model                    Advantages
                                                              • No kernel support needed
                               IO Event
                                                              Stub Domains
   IO Event          VMEXIT     Mini OS              VMEXIT
                                                              • Security
                                          Xen Hypervisor      • Isolation
                                                              • Reliability and Robustness
                                                Host HW




                                                                            13
PV on HVM
• HVM guest with PV elements                                      HVM      PV on   PV
                                                                           HVM
• Linux enables as many PV               Boot Sequence            Emulated Emulated PV
  interfaces as possible                 Memory                   HW       HW      PV
• This has advantages                    Interrupts,              Emulated PV*     PV
                                         Timers &
   –   Install the same way as native    Spinlocks
   –   PC-like hardware                  Disk & Network           Emulated PV      PV
   –   Access to fast PV devices         Privileged               HW       HW      PV
   –   Exploit nested paging             Operations
   –   Good performance trade-offs      *) Emulated for Windows

• Drivers in Linux 3.x
PV in HVM Containers: Xen 4.3
• Salient Features                                         HVM      PV on   PVH   PV
                                                                    HVM
   –   Dom0 runs in ring0
                                  Boot Sequence            Emulated Emulated PV   PV
   –   Event channel (no APIC)
                                  Memory                   HW       HW      HW    PV
   –   Native page tables
                                  Interrupts,              Emulated PV*     PV    PV
   –   Native IDT                 Timers &
• Fastest of PV and HVM           Spinlocks
   – No need for emulation        Disk & Network           Emulated PV      PV    PV
   – Uses HW, where PV            Privileged               HW       HW      HW    PV
     is slower than HVM           Operations

• Being up streamed now          *) Emulated for Windows


More info …
Xen and Linux
Xen and the Linux Kernel
    Xen was initially a University research project




    Invasive changes to the kernel to run Linux as
                a PV guest and Dom0
Current State
                     PVOPS Project


            Xen support in Linux 3.0+
     (it is functional – some optimizations missing)


       On-going optimization work in Linux 3.6 +
  Supporting new Xen 4.3 functionality (e.g. PVH, ARM)
What does this mean?
• Xen Hypervisor is not in the Linux kernel
• BUT: everything Xen needs to run is!
• Xen packages are mostly in Linux distros
  –   Install Dom0 Linux distro
  –   Install Xen package(s) or meta package
  –   Reboot
  –   Config stuff: set up disks, peripherals, etc.
More info …
XCP Project
XCP – Xen Cloud Platform
                   GPLv2
                   XenServer is a commercial distro
                   Complete vertical stack for
                    server virtualization
                   Distributed as
                    o   Appliance (ISO)
                    o   Packages in Debian & Ubuntu
                        (more distros to come)
Major XCP Features
• VM lifecycle: live snapshots, checkpoint, migration
• Resource pools: flexible storage and networking
• Event tracking: progress, notification
• Upgrade and patching capabilities
• Real-time performance monitoring and alerting
• Built-in support and templates for Windows and Linux guests
• Open vSwitch support built-in (default)
XCP 1.6 – to ship in Sep/Oct 12
• Internal Improvements:
  Xen 4.1.2, CentOS 5.7 with kernel 2.6.32.43, Open vSwitch 1.4.1
• New format Windows drivers: installable by Windows Update Service
• Networking: Better VLAN scalability, LACP bonding, IPv6
• More guest OS templates: Ubuntu Precise 12.04, RHEL/CentOS,
  Oracle Enterprise Linux 6.1 & 6.2, Windows 8
• Storage XenMotion:
   – Migrate VMs between hosts or pools without shared storage
   – Move a VM’s disks between storage repositories while the VM is running

More Info …
XCP and Cloud Orchestration Stacks
Challenges for FOSS hypervisors
“Security and QoS/Reliability are amongst
 the top 3 blockers for cloud adoption”
 www.colt.net/cio-research
Security and the Next Wave of Virtualization

• Security is a key requirement for Cloud
• Security is the primary goal of virtualization on the Client
  – Xen’s advanced security features were developed
    for security sensitive Desktop use-cases (NSA)

• Maintaining isolation between VMs is critical
  (multi-tenancy)
Xen Security & Robustness Advantages
• Even without Advanced Security Features
  – Well-defined trusted computing base (much smaller than on type-2 HV)
  – Minimal services in hypervisor layer

• More Robustness: Mature, Tried & Tested, Architecture
• Xen Security Modules (or XSM)
  –   Developed, maintained and contributed to Xen by NSA
  –   Generalized Security Framework for Xen
  –   Compatible with SELinux (tools, architecture)
  –   XSM object classes maps onto Xen features
                                                       28
Advanced Security: Disaggregation
• Split Control Domain into Driver, Stub and Service Domains
   – Each contains a specific set of control logic
   – See: ”Breaking up is hard to do” @ Xen Papers
   – See: “Domain 0 Disaggregation for XCP and XenServer”

• Unique benefit of the Xen architecture
   –   Security: Minimum privilege; Narrow interfaces
   –   Robustness: ability to safely restart parts of the system
   –   Performance: lightweight, e.g. Mini OS directly on hypervisor
   –   Scalability: more distributed system (less reliable on Dom0)

• Used today by Qubes OS and Citrix XenClient XT
• Soon for XCP and XenServer
User VM                                                    User VM
             NF            BF                                                       NF                  BF


             NB           gntdev                                                    NB                 gntdev          gntdev




Dom0      Network        NFS/       Qemu     xapi         Logging    Qemu        Network               NFS/           Local
           driver       iSCSI      domain   domain        domain    domain        driver              iSCSI          storage
Domain
          domain         driver                                                  domain               driver          driver
manager
                        domain                                                                       domain          domain
                                   qemu                             qemu
healthd                storaged                                                                      storaged        storaged
          networkd                                                               networkd
xenopsd                 tapdisk                                                                      tapdisk         tapdisk
  libxl   vswitch       blktap3              xapi         syslogd                 vswitch            blktap3         blktap3

                                              dbus over v4v

             eth           eth                                                      eth                eth             scsi


                                                    Xen

                                   CPU                                     CPU
            NIC        NIC                   RAM           RAM                              NIC              NIC
            (or SR-    (or SR-                                                             (or SR-         (or SR-     RAID
           IOV VF)    IOV VF)                                                             IOV VF)         IOV VF)
News from the Xen Community
Cool new functionality & initiatives
• Xen for ARM using HW virt (using new PVH mode)
    – Started our first guest domain, including PV console disk and network devices!
    – No emulation (QEMU is needed)
•   New PVH virtualization mode (Oracle)
•   FreeBSD Xen port (SpectraLogic & HP)
•   Xen MIPS port (by BroadCom)
•   Language run-times running on bare-metal Xen
    – Openmirage.org, ErlangOnXen.org
• Disaggregation is moving from Client into Server and Cloud
• Portable Service VMs
    – Agree interface and mechanism to allow service VMs across products and hosting services
Summary: Why Xen?
• Designed for the Cloud : many advantages for cloud use!
   – Resilience, Robustness & Scalability
   – Security: Small surface of attack, Isolation & Advanced Security
     Features
• Widely used by Cloud Providers and Vendors
• XCP
   – Ready for use with cloud orchestration stacks
   – Packages in Linux distros: flexibility and choice
• Open Source with a large community and eco-system
  – Exciting new developments in the pipeline
•   IRC: ##xen @ FREENODE
                           •   Mailing List: xen-users & xen-api
                           •   Wiki: wiki.xen.org
                           •   Excellent XCP Tutorials
                               – A day worth of material @
                                 xen.org/community/xenday11
                           • Ecosystem pages
                           • Presentations: slideshare.net/xen_com_mgr
                           • Videos: vimeo.com/channels/xen

                                                        @lars_kurth
Questions …                                          @xen_com_mgr
                                               FREENODE: lars_kurth
   Slides available under CC-BY-SA 3.0
   From www.slideshare.net/xen_com_mgr

Contenu connexe

Tendances

21.10.09 Microsoft Event, Microsoft Presentation
21.10.09 Microsoft Event, Microsoft Presentation21.10.09 Microsoft Event, Microsoft Presentation
21.10.09 Microsoft Event, Microsoft Presentation
dataplex systems limited
 
Xen cloud platform
Xen cloud platformXen cloud platform
Xen cloud platform
Bill Chea
 
9sept2009 concept electronics
9sept2009 concept electronics9sept2009 concept electronics
9sept2009 concept electronics
Agora Group
 

Tendances (20)

Linuxcon EU : Virtualization in the Cloud featuring Xen and XCP
Linuxcon EU : Virtualization in the Cloud featuring Xen and XCPLinuxcon EU : Virtualization in the Cloud featuring Xen and XCP
Linuxcon EU : Virtualization in the Cloud featuring Xen and XCP
 
16 roger boesch_xen_client
16 roger boesch_xen_client16 roger boesch_xen_client
16 roger boesch_xen_client
 
Vmware
VmwareVmware
Vmware
 
Linux Foundation Collaboration Summit 13 :10 years of Xen and Beyond
Linux Foundation Collaboration Summit 13 :10 years of Xen and BeyondLinux Foundation Collaboration Summit 13 :10 years of Xen and Beyond
Linux Foundation Collaboration Summit 13 :10 years of Xen and Beyond
 
Xen and Apache cloudstack
Xen and Apache cloudstack  Xen and Apache cloudstack
Xen and Apache cloudstack
 
UDS 2012 Xen
UDS 2012 XenUDS 2012 Xen
UDS 2012 Xen
 
virtualization tutorial at ACM bangalore Compute 2009
virtualization tutorial at ACM bangalore Compute 2009virtualization tutorial at ACM bangalore Compute 2009
virtualization tutorial at ACM bangalore Compute 2009
 
21.10.09 Microsoft Event, Microsoft Presentation
21.10.09 Microsoft Event, Microsoft Presentation21.10.09 Microsoft Event, Microsoft Presentation
21.10.09 Microsoft Event, Microsoft Presentation
 
Ian Pratt Usenix 08 Keynote
Ian Pratt Usenix 08 KeynoteIan Pratt Usenix 08 Keynote
Ian Pratt Usenix 08 Keynote
 
Clustering Enhancements
Clustering EnhancementsClustering Enhancements
Clustering Enhancements
 
XS Boston 2008 Fault Tolerance
XS Boston 2008 Fault ToleranceXS Boston 2008 Fault Tolerance
XS Boston 2008 Fault Tolerance
 
Nakajima numa-final
Nakajima numa-finalNakajima numa-final
Nakajima numa-final
 
Xen cloud platform
Xen cloud platformXen cloud platform
Xen cloud platform
 
Prairie DevCon-What's New in Hyper-V in Windows Server "8" Beta - Part 2
Prairie DevCon-What's New in Hyper-V in Windows Server "8" Beta - Part 2Prairie DevCon-What's New in Hyper-V in Windows Server "8" Beta - Part 2
Prairie DevCon-What's New in Hyper-V in Windows Server "8" Beta - Part 2
 
Overview of VMware & VMware Education from IBM
Overview of VMware & VMware Education from IBMOverview of VMware & VMware Education from IBM
Overview of VMware & VMware Education from IBM
 
Virtualization
VirtualizationVirtualization
Virtualization
 
XS Japan 2008 Ganeti English
XS Japan 2008 Ganeti EnglishXS Japan 2008 Ganeti English
XS Japan 2008 Ganeti English
 
5 scalability Cloudstack Developer Day
5  scalability Cloudstack Developer Day5  scalability Cloudstack Developer Day
5 scalability Cloudstack Developer Day
 
Nakajima hvm-be final
Nakajima hvm-be finalNakajima hvm-be final
Nakajima hvm-be final
 
9sept2009 concept electronics
9sept2009 concept electronics9sept2009 concept electronics
9sept2009 concept electronics
 

En vedette

The linux networking architecture
The linux networking architectureThe linux networking architecture
The linux networking architecture
hugo lu
 

En vedette (6)

LCA13: Why I Don't Want Your Code
LCA13: Why I Don't Want Your CodeLCA13: Why I Don't Want Your Code
LCA13: Why I Don't Want Your Code
 
DevConf 2014 Kernel Networking Walkthrough
DevConf 2014   Kernel Networking WalkthroughDevConf 2014   Kernel Networking Walkthrough
DevConf 2014 Kernel Networking Walkthrough
 
introduction to linux kernel tcp/ip ptocotol stack
introduction to linux kernel tcp/ip ptocotol stack introduction to linux kernel tcp/ip ptocotol stack
introduction to linux kernel tcp/ip ptocotol stack
 
The linux networking architecture
The linux networking architectureThe linux networking architecture
The linux networking architecture
 
The TCP/IP Stack in the Linux Kernel
The TCP/IP Stack in the Linux KernelThe TCP/IP Stack in the Linux Kernel
The TCP/IP Stack in the Linux Kernel
 
LinuxCon 2015 Linux Kernel Networking Walkthrough
LinuxCon 2015 Linux Kernel Networking WalkthroughLinuxCon 2015 Linux Kernel Networking Walkthrough
LinuxCon 2015 Linux Kernel Networking Walkthrough
 

Similaire à LinuxCon NA 2012: Virtualization in the cloud featuring xen

Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)
Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)
Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)
The Linux Foundation
 
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
The Linux Foundation
 
Windsor: Domain 0 Disaggregation for XenServer and XCP
	Windsor: Domain 0 Disaggregation for XenServer and XCP	Windsor: Domain 0 Disaggregation for XenServer and XCP
Windsor: Domain 0 Disaggregation for XenServer and XCP
The Linux Foundation
 
ARM Architecture-based System Virtualization: Xen ARM open source software pr...
ARM Architecture-based System Virtualization: Xen ARM open source software pr...ARM Architecture-based System Virtualization: Xen ARM open source software pr...
ARM Architecture-based System Virtualization: Xen ARM open source software pr...
The Linux Foundation
 

Similaire à LinuxCon NA 2012: Virtualization in the cloud featuring xen (20)

Scale11x : Virtualization with Xen and XCP
Scale11x : Virtualization with Xen and XCP Scale11x : Virtualization with Xen and XCP
Scale11x : Virtualization with Xen and XCP
 
Virtualization in the cloud
Virtualization in the cloudVirtualization in the cloud
Virtualization in the cloud
 
Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)
Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)
Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)
 
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
 
Mobile Virtualization using the Xen Technologies
Mobile Virtualization using the Xen TechnologiesMobile Virtualization using the Xen Technologies
Mobile Virtualization using the Xen Technologies
 
Open source hypervisors in cloud
Open source hypervisors in cloudOpen source hypervisors in cloud
Open source hypervisors in cloud
 
Crash Course in Open Source Cloud Computing
Crash Course in Open Source Cloud ComputingCrash Course in Open Source Cloud Computing
Crash Course in Open Source Cloud Computing
 
Xen and Client Virtualization: the case of XenClient XT
Xen and Client Virtualization: the case of XenClient XTXen and Client Virtualization: the case of XenClient XT
Xen and Client Virtualization: the case of XenClient XT
 
Kernel Recipes 2014 - Xen as a foundation for cloud infrastructure
Kernel Recipes 2014 - Xen as a foundation for cloud infrastructureKernel Recipes 2014 - Xen as a foundation for cloud infrastructure
Kernel Recipes 2014 - Xen as a foundation for cloud infrastructure
 
Xen Community Update 2011
Xen Community Update 2011Xen Community Update 2011
Xen Community Update 2011
 
LinuxTag13: 10 years of Xen and beyond
LinuxTag13: 10 years of Xen and beyondLinuxTag13: 10 years of Xen and beyond
LinuxTag13: 10 years of Xen and beyond
 
Xen: Hypervisor for the Cloud - CCC13
Xen: Hypervisor for the Cloud - CCC13Xen: Hypervisor for the Cloud - CCC13
Xen: Hypervisor for the Cloud - CCC13
 
Xen 10th anniversary Status Report (at SELF 2013)
Xen 10th anniversary Status Report (at SELF 2013)Xen 10th anniversary Status Report (at SELF 2013)
Xen 10th anniversary Status Report (at SELF 2013)
 
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
 
Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14
Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14
Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14
 
Virtualization concept slideshare
Virtualization concept slideshareVirtualization concept slideshare
Virtualization concept slideshare
 
Xen Project Hypervisor for the Cloud
Xen Project Hypervisor for the CloudXen Project Hypervisor for the Cloud
Xen Project Hypervisor for the Cloud
 
Windsor: Domain 0 Disaggregation for XenServer and XCP
	Windsor: Domain 0 Disaggregation for XenServer and XCP	Windsor: Domain 0 Disaggregation for XenServer and XCP
Windsor: Domain 0 Disaggregation for XenServer and XCP
 
ARM Architecture-based System Virtualization: Xen ARM open source software pr...
ARM Architecture-based System Virtualization: Xen ARM open source software pr...ARM Architecture-based System Virtualization: Xen ARM open source software pr...
ARM Architecture-based System Virtualization: Xen ARM open source software pr...
 

Plus de The Linux Foundation

Plus de The Linux Foundation (20)

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

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Dernier (20)

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

LinuxCon NA 2012: Virtualization in the cloud featuring xen

  • 1. Virtualization in the Cloud: Featuring Xen Lars Kurth Xen Community Manager lars.kurth@xen.org @lars_kurth FREENODE: lars_kurth @xen_com_mgr
  • 2. A Brief History of Xen in the Cloud Late 90s XenoServer Project (Cambridge Univ.) Global Public Computing The XenoServer project is building public infrastructure for wide-area “This dissertation proposes a new distributed computing distributed computing. paradigm, termed global public computing, which allows any user to run any code anywhere. Such platforms price We envisage a world in which XenoServer computing resources, and ultimately charge users for execution platforms will be scattered across resources consumed.“ the globe and available for any member of the public to submit code for execution. Evangelos Kotsovinos, PhD dissertation, 2004
  • 3. A Brief History of Xen in the Cloud Late 90s Oct ‘03 ‘06 ‘08 ‘09 ‘11 ‘12 XenoServer Project Amazon EC2 XCP 1.x (Cambridge Univ.) and Slicehost Cloud Mgmt launched Xen Presented Rackspace at SOSP Cloud XCP packages in Linux XCP Announced Xen for ARM based Servers PV in HVM Containers
  • 4. The Xen Hypervisor was designed for the Cloud straight from the outset!
  • 5. Xen.org • Guardian of Xen Hypervisor and related OSS Projects • Xen project Governance similar to Linux Kernel • Projects – Xen Hypervisor (led by Citrix) – Xen Cloud Platform aka XCP (led by Citrix) – Xen ARM : Xen for mobile devices (led by Samsung) – PVOPS : Xen components and support in Linux Kernel (led by Oracle) • 10+ vendors contributing more than 1% to the project (AWS, AMD, Citrix, GridCentric, Fujitsu, Huawei, iWeb, Intel, NSA, Oracle, Samsung, Suse, …)
  • 7. Architecture Considerations Type 1: Bare metal Hypervisor Type 2: OS ‘Hosted’ A pure Hypervisor that runs directly on the A Hypervisor that runs within a Host OS and hosts hardware and hosts Guest OS’s. Guest OS’s inside of it, using the host OS services to provide the virtual environment. VMn User-level VMM VMn VM1 User VM1 Apps VM0 Device Models VM0 Guest OS Guest OS and Apps and Apps Host OS Scheduler Hypervisor Ring-0 VM Monitor Device Drivers/Models Device Drivers “Kernel “ MMU Host HW Host HW I/O Memory CPUs I/O Memory CPUs Provides partition isolation + reliability, Low cost, no additional drivers higher security Ease of use & installation
  • 8. Xen: Type 1 with a Twist Control domain Thinner hypervisor (dom0) • Functionality moved to Dom0 Device Models VMn Using Linux PV OPS VM1 • Using Linux Device Drivers Drivers VM0 • PV, PV on HVM and PVH modes Guest OS • Sharing components with KVM Linux & BSD and Apps Hypervisor In other words Scheduler MMU XSM • Driver re-use I/O Memory CPUs Host HW • Ease of use & Installation • Isolation & Security 8
  • 9. Basic Xen Concepts Control Domain aka Dom0 Console • Dom0 kernel with drivers • Xen Management Toolstack VMn • Trusted Computing Base Control domain VM1 (dom0) Guest Domains One or more VM0 Toolstack driver, stub or • Your apps Dom0 Kernel service domains Guest OS and Apps • E.g. your cloud management stack Driver/Stub/Service Domain(s) Scheduler MMU XSM Hypervisor • A “driver, device model or control Host HW service in a box” I/O Memory CPUs • De-privileged and isolated • Lifetime: start, stop, kill 9
  • 10. Xen Variants for Server & Cloud Xen Hypervisor XCP Toolstack / Console Default / XL (XM) Libvirt / VIRSH XAPI / XE Increased level of functionality and integration with other components Get Binaries from … Linux Distros Linux Distros Debian & Ubuntu ISO from Xen.org Products Oracle VM Huawei UVP Citrix XenServer Used by … Many Others More info … 10 More info …
  • 11. Xen : Types of Virtualization
  • 12. PV Domains & Driver Domains Control domain Guest VMn Driver Domain Linux PV guests have limitations: (dom0) e.g. • limited set of virtual hardware Apps • Disk • Network Advantages PV Back Ends PV Front Ends PV Back End • Fast • Works on any system HW Drivers HW Driver (even without virt extensions) Guest OS Dom0 Kernel* Driver Domains Xen Hypervisor • Security • Isolation I/O Memory CPUs Host HW • Reliability and Robustness *) Can be MiniOS 12
  • 13. HVM & Stub Domains Dom0 Guest VMn Stubdomn Guest VMn Disadvantages • Slower than PV due to Emulation (mainly I/O devices) IO Emulation IO Emulation Device Model Device Model Advantages • No kernel support needed IO Event Stub Domains IO Event VMEXIT Mini OS VMEXIT • Security Xen Hypervisor • Isolation • Reliability and Robustness Host HW 13
  • 14. PV on HVM • HVM guest with PV elements HVM PV on PV HVM • Linux enables as many PV Boot Sequence Emulated Emulated PV interfaces as possible Memory HW HW PV • This has advantages Interrupts, Emulated PV* PV Timers & – Install the same way as native Spinlocks – PC-like hardware Disk & Network Emulated PV PV – Access to fast PV devices Privileged HW HW PV – Exploit nested paging Operations – Good performance trade-offs *) Emulated for Windows • Drivers in Linux 3.x
  • 15. PV in HVM Containers: Xen 4.3 • Salient Features HVM PV on PVH PV HVM – Dom0 runs in ring0 Boot Sequence Emulated Emulated PV PV – Event channel (no APIC) Memory HW HW HW PV – Native page tables Interrupts, Emulated PV* PV PV – Native IDT Timers & • Fastest of PV and HVM Spinlocks – No need for emulation Disk & Network Emulated PV PV PV – Uses HW, where PV Privileged HW HW HW PV is slower than HVM Operations • Being up streamed now *) Emulated for Windows More info …
  • 17. Xen and the Linux Kernel Xen was initially a University research project Invasive changes to the kernel to run Linux as a PV guest and Dom0
  • 18. Current State PVOPS Project Xen support in Linux 3.0+ (it is functional – some optimizations missing) On-going optimization work in Linux 3.6 + Supporting new Xen 4.3 functionality (e.g. PVH, ARM)
  • 19. What does this mean? • Xen Hypervisor is not in the Linux kernel • BUT: everything Xen needs to run is! • Xen packages are mostly in Linux distros – Install Dom0 Linux distro – Install Xen package(s) or meta package – Reboot – Config stuff: set up disks, peripherals, etc. More info …
  • 21. XCP – Xen Cloud Platform  GPLv2  XenServer is a commercial distro  Complete vertical stack for server virtualization  Distributed as o Appliance (ISO) o Packages in Debian & Ubuntu (more distros to come)
  • 22. Major XCP Features • VM lifecycle: live snapshots, checkpoint, migration • Resource pools: flexible storage and networking • Event tracking: progress, notification • Upgrade and patching capabilities • Real-time performance monitoring and alerting • Built-in support and templates for Windows and Linux guests • Open vSwitch support built-in (default)
  • 23. XCP 1.6 – to ship in Sep/Oct 12 • Internal Improvements: Xen 4.1.2, CentOS 5.7 with kernel 2.6.32.43, Open vSwitch 1.4.1 • New format Windows drivers: installable by Windows Update Service • Networking: Better VLAN scalability, LACP bonding, IPv6 • More guest OS templates: Ubuntu Precise 12.04, RHEL/CentOS, Oracle Enterprise Linux 6.1 & 6.2, Windows 8 • Storage XenMotion: – Migrate VMs between hosts or pools without shared storage – Move a VM’s disks between storage repositories while the VM is running More Info …
  • 24. XCP and Cloud Orchestration Stacks
  • 25. Challenges for FOSS hypervisors
  • 26. “Security and QoS/Reliability are amongst the top 3 blockers for cloud adoption” www.colt.net/cio-research
  • 27. Security and the Next Wave of Virtualization • Security is a key requirement for Cloud • Security is the primary goal of virtualization on the Client – Xen’s advanced security features were developed for security sensitive Desktop use-cases (NSA) • Maintaining isolation between VMs is critical (multi-tenancy)
  • 28. Xen Security & Robustness Advantages • Even without Advanced Security Features – Well-defined trusted computing base (much smaller than on type-2 HV) – Minimal services in hypervisor layer • More Robustness: Mature, Tried & Tested, Architecture • Xen Security Modules (or XSM) – Developed, maintained and contributed to Xen by NSA – Generalized Security Framework for Xen – Compatible with SELinux (tools, architecture) – XSM object classes maps onto Xen features 28
  • 29. Advanced Security: Disaggregation • Split Control Domain into Driver, Stub and Service Domains – Each contains a specific set of control logic – See: ”Breaking up is hard to do” @ Xen Papers – See: “Domain 0 Disaggregation for XCP and XenServer” • Unique benefit of the Xen architecture – Security: Minimum privilege; Narrow interfaces – Robustness: ability to safely restart parts of the system – Performance: lightweight, e.g. Mini OS directly on hypervisor – Scalability: more distributed system (less reliable on Dom0) • Used today by Qubes OS and Citrix XenClient XT • Soon for XCP and XenServer
  • 30. User VM User VM NF BF NF BF NB gntdev NB gntdev gntdev Dom0 Network NFS/ Qemu xapi Logging Qemu Network NFS/ Local driver iSCSI domain domain domain domain driver iSCSI storage Domain domain driver domain driver driver manager domain domain domain qemu qemu healthd storaged storaged storaged networkd networkd xenopsd tapdisk tapdisk tapdisk libxl vswitch blktap3 xapi syslogd vswitch blktap3 blktap3 dbus over v4v eth eth eth eth scsi Xen CPU CPU NIC NIC RAM RAM NIC NIC (or SR- (or SR- (or SR- (or SR- RAID IOV VF) IOV VF) IOV VF) IOV VF)
  • 31. News from the Xen Community
  • 32. Cool new functionality & initiatives • Xen for ARM using HW virt (using new PVH mode) – Started our first guest domain, including PV console disk and network devices! – No emulation (QEMU is needed) • New PVH virtualization mode (Oracle) • FreeBSD Xen port (SpectraLogic & HP) • Xen MIPS port (by BroadCom) • Language run-times running on bare-metal Xen – Openmirage.org, ErlangOnXen.org • Disaggregation is moving from Client into Server and Cloud • Portable Service VMs – Agree interface and mechanism to allow service VMs across products and hosting services
  • 34. • Designed for the Cloud : many advantages for cloud use! – Resilience, Robustness & Scalability – Security: Small surface of attack, Isolation & Advanced Security Features • Widely used by Cloud Providers and Vendors • XCP – Ready for use with cloud orchestration stacks – Packages in Linux distros: flexibility and choice • Open Source with a large community and eco-system – Exciting new developments in the pipeline
  • 35. IRC: ##xen @ FREENODE • Mailing List: xen-users & xen-api • Wiki: wiki.xen.org • Excellent XCP Tutorials – A day worth of material @ xen.org/community/xenday11 • Ecosystem pages • Presentations: slideshare.net/xen_com_mgr • Videos: vimeo.com/channels/xen @lars_kurth Questions … @xen_com_mgr FREENODE: lars_kurth Slides available under CC-BY-SA 3.0 From www.slideshare.net/xen_com_mgr

Notes de l'éditeur

  1. Xen started out as a research project at Cambridge University, UK in the late 90’sAim: to define infrastructure for wide-area distributed computingVision: was pretty much cloud computing as we know it todayOut of the project came a dissertation by EvangelosKotsovinos which defines Global Public Computing in terms ofDistributed resourcesPublic compute infrastructureCharge users for resources consumedWhat we understand as Public Cloud Computing AWS style today
  2. Hold this thought! We will come back to this later….!
  3. Overall, we have around 40-45 vendors contributing to the project per year and
  4. Type 1 hypervisor: example ESXSimple architecture; Hypervisor replaces the kernelNo need to provide rich “process” semantics, like “user”, filesystems, etc.Device drivers need to be rewritten for each hardware platformType 2 is hosted: example kvm- The hypervisor is just a driver that typically works with user-level monitor.HW access is intercepted by the ring 0- VM monitor passed to the User level Virtual Monitor, which passes requests to the kernelRe-use of device drivers is traded off against security and a large trusted computing base (green)
  5. PVOPS is the Kernel Infrastructure to run a PV Hypervisor on top of Linux
  6. Device Model emulated in QEMUModels for newer devices are much faster, but for now PV is even faster
  7. Automatic PerformancePV on HVM guests are very close to PV guests in benchmarks that favour PV MMUsPV on HVM guests are far ahead of PV guests in benchmarks that favour nested paging
  8. APIC = Advanced Programmable Interrupt ControllerIDT = Interrupt Descriptor Table
  9. PVOPS is the Kernel Infrastructure to run a PV Hypervisor on top of Linux
  10. VM lifecycle (start, stop, resume) ... automation is the key pointLive snapshots: Takes a snapshot of a live VM (e.g. for disaster recovery or migration)Resource pools (multiple physical machines): XS & XCP onlylive migration: VM is backed up while running, onto shared storage (e.g. NFS) in a pool and when completed restarted elsewhere in that pool. disaster recovery: you can find lots of information on how this works at http://support.citrix.com/servlet/KbServlet/download/17141-102-19301/XenServer_Pool_Replication_-_Disaster_Recovery.pdf (the key point is that I can back up the metadata for the entire VM)Flexible storage: XAPI does hide details for storage and networkingI.e. I apply generic commands (NFS, NETAPP, iSCSI ... once its created they all appear the same) from XAPI. I only need to know the storage type when I create storage and network objects (OOL)Upgrading a host to a later version of XCP (all my configs and VMs stay the same) …and patching (broken now - bug, can apply security patches to XCP/XS or Dom0 but not DomU)
  11. * Host Architectural Improvements. XCP 1.5 now runs on the Xen 4.1 hypervisor, provides GPT (new partition table type) support and a smaller, more scalable Dom0. * GPU Pass-Through. Enables a physical GPU to be assigned to a VM providing high-end graphics. * Increased Performance and Scale. Supported limits have been increased to 1 TB memory for XCP hosts, and up to16 virtual processors and 128 GB virtual memory for VMs. Improved XCP Tools with smaller footprint. * Networking Improvements. Open vSwitch is now the default networking stack in XCP 1.5 and now provides formal support for Active-Backup NIC bonding. * Enhanced Guest OS Support. Support for Ubuntu 10.04 (32/64-bit).Updated support for Debian Squeeze 6.0 64-bit, Oracle Enterprise Linux6.0 (32/64-bit) and SLES 10 SP4 (32/64-bit). Experimental VM templates for CentOS 6.0 (32/64-bit), Ubuntu 10.10 (32/64-bit) and Solaris 10. * Virtual Appliance Support (vApp). Ability to create multi-VM and boot sequenced virtual appliances (vApps) that integrate with Integrated Site Recovery and High Availability. vApps can be easily imported and exported using the Open Virtualization Format (OVF) standard.
  12. PVOPS is the Kernel Infrastructure to run a PV Hypervisor on top of Linux
  13. Just one example of a survey, many morehttp://www.colt.net/cio-research/z2-cloud-2.htmlAccording to many surveys, security is actually the main reason which makes or breaks cloud adoptionBetter security means more adoptionConcerns about security means slowed adoption
  14. Ask some questions
  15. PVOPS is the Kernel Infrastructure to run a PV Hypervisor on top of Linux
  16. Performance : similar to other hypervisorsMaturity: Tried & Tested, Most Problems that are Problems are well knownOpen source: Good body of Knowledge, Tools