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.

Xen and OpenStack

369 views

Published on

This talk will explain how to deploy OpenStack using the Xen hypervisor to run your virtual machines.

It will start by describing the OpenStack architecture and its most important components. It will go into details on how to use DevStack to setup an OpenStack development environment based on Xen and Libvirt. It will cover the current status of Xen in OpenStack, in particular with regards to the OpenStack CI-loop, and the latest plans to improve Xen support in Nova.

The audience will learn the most important OpenStack and Xen config options, the pitfalls to avoid in their deployment and how to tweak both of them to get the best performance and stability out of your OpenStack cloud.

Published in: Software
  • Be the first to comment

  • Be the first to like this

Xen and OpenStack

  1. 1. OpenStack and Xen Stefano Stabellini August 2015
  2. 2. © 2014 Citrix. Confidential.2 Make Xen the best hypervisor for OpenStack
  3. 3. © 2014 Citrix. Confidential.3 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 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
  12. 12. © 2014 Citrix. Confidential.12 Status and Progress Jan 2015: Xen via Libvirt still in Group C • No automated testing at all • Bugs in Nova and Libvirt prevented OpenStack from working out of the box with Xen via Libvirt • Tempest could not be run on OpenStack with Xen via Libvirt
  13. 13. © 2014 Citrix. Confidential.13 Status and progress Jun 2015: Xen via Libvirt is in Group B • everything works out of the box! Using the latest OpenStack and libvirt trees • Tempest runs and *all* tests pass! • The Xen Project CI-loop is up and running • The Xen Project CI-loop has voting rights
  14. 14. © 2014 Citrix. Confidential.14 Xen Project OpenStack CI-loop http://jenkins.openstack.xenproject.org http://wiki.xenproject.org/wiki/ OpenStack_CI_Loop_for_Xen-Libvirt
  15. 15. © 2014 Citrix. Confidential.15 Xen Project OpenStack CI-loop What it means to be “voting” http://review.openstack.org
  16. 16. © 2014 Citrix. Confidential.16 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
  17. 17. © 2014 Citrix. Confidential.17 Tuning OpenStack and Xen • Dom0 Memory: 1-4G dom0_mem=2048M • Dom0 vcpus: 4 dom0_max_vcpus=4 dom0_vcpus_pin • use LVM for local storage volume_group=<volume_group_name> # /etc/cinder/cinder.conf • PV vs HVM guests nova image-meta set vm_mode=HVM nova image-meta delete vm_mode
  18. 18. © 2014 Citrix. Confidential.18 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
  19. 19. © 2014 Citrix. Confidential.19 OpenStack Working Group We need help! http://lists.xenproject.org/mailman/listinfo/wg-openstack
  20. 20. © 2014 Citrix. Confidential.20 Questions?
  21. 21. © 2014 Citrix. Confidential.21 WORK BETTER. LIVE BETTER.

×