Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Configuring OpenStack to Use the Xen Project Hypervisor

2,663 views

Published on

Stefano Stabellini and Anthony Perard discuss and demonstrate how to use Xen Project in OpenStack. Talk is from FOSDEM 2015 in February.

Published in: Technology

Configuring OpenStack to Use the Xen Project Hypervisor

  1. 1. OpenStack and Xen Stefano Stabellini & Anthony Perard Feb 2015
  2. 2. © 2014 Citrix. Confidential.2 Why Xen? Xen is a type-1 hypervisor small footprint (Less then 100K LOC) GPLv2 Powers the largest public cloud in production (>50% of vendors listed in Gartner 2014 Cloud magic quadrant, more in terms of hosts)
  3. 3. © 2014 Citrix. Confidential.3 Make Xen the best hypervisor for OpenStack
  4. 4. © 2014 Citrix. Confidential.4 OpenStack
  5. 5. © 2014 Citrix. Confidential.5 OpenStack
  6. 6. © 2014 Citrix. Confidential.6 OpenStack
  7. 7. © 2014 Citrix. Confidential.7 OpenStack
  8. 8. © 2014 Citrix. Confidential.8 OpenStack
  9. 9. © 2014 Citrix. Confidential.9 OpenStack
  10. 10. © 2014 Citrix. Confidential.10 OpenStack
  11. 11. © 2014 Citrix. Confidential.11 OpenStack
  12. 12. © 2014 Citrix. Confidential.12 Status and Goals Xen via Libvirt is currently in Group C Goals: • Xen should be a great platform for OpenStack production deployments • Get Xen via Libvirt in Group A within 1 year • Xen should be a great platform for OpenStack development and hacking • devstack should deploy Xen and OpenStack
  13. 13. © 2014 Citrix. Confidential.13 From 0 to Xen and OpenStack 1. Install Ubuntu 14.04 LTS 2. Install Xen apt-get install xen-hypervisor-4.4-amd64 3. git clone devstack && configure it to use Xen LIBVIRT_TYPE=xen 4. ./stack.sh
  14. 14. © 2014 Citrix. Confidential.14 From 0 to Xen and OpenStack What we actually did 1. Install Ubuntu 14.04 LTS 2. Install Xen apt-get install xen-hypervisor-4.4-amd64 3. git clone devstack && configure it to use Xen LIBVIRT_TYPE=xen 4. ./stack.sh 5. Fix Bugs!!
  15. 15. © 2014 Citrix. Confidential.15 Bugs 2 Xen related bug in Nova 1 Xen related bug in Libvirt Stability issues with libvirt 1.2.2-0ubuntu13.1.8 under stress
  16. 16. © 2014 Citrix. Confidential.16 Bugs 2 Xen related bug in Nova 1 Xen related bug in Libvirt Stability issues with libvirt 1.2.2-0ubuntu13.1.8 under stress FIXED!
  17. 17. © 2014 Citrix. Confidential.17 Bugs 2 Xen related bug in Nova 1 Xen related bug in Libvirt Stability issues with libvirt 1.2.2-0ubuntu13.1.8 under stress FIXED!
  18. 18. © 2014 Citrix. Confidential.18 Latest Update 2 patches under review for Nova 1 patch upstream in Libvirt  everything works out of the box! Using the latest OpenStack and libvirt trees  Tempest runs and *all* tests pass!
  19. 19. © 2014 Citrix. Confidential.19 Tuning OpenStack and Xen • Dom0 Memory: 1-4G dom0_mem=1024M • Dom0 vcpus: 4 dom0_max_vcpus=4 dom0_vcpus_pin • use LVM for local storage VOLUME_GROUP=volume_group_name • PV vs HVM guests nova image-meta set vm_mode=HVM nova image-meta delete vm_mode
  20. 20. © 2014 Citrix. Confidential.20 More information www.xenproject.org wiki.xenproject.org wiki.xenproject.org/wiki/Tuning_Xen_for_Performance wiki.xenproject.org/wiki/OpenStack http://lists.xenproject.org/mailman/listinfo/xen-devel
  21. 21. Demo
  22. 22. © 2014 Citrix. Confidential.22 Questions?
  23. 23. © 2014 Citrix. Confidential.23 WORK BETTER. LIVE BETTER.

×