Jump to: navigation, search

Difference between revisions of "XenServer/DevStack"

 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
 
= [[DevStack]] and [[XenServer]] =
 
  
First you need to [[XenServer/Install|install XenServer or XCP on a physical machine]].
+
= DevStack and XenServer =
  
Then there are two possible ways forward:
+
[http://devstack.org DevStack] is a great way to get started with OpenStack.  XenServer and XCP are great ways to use the Xen hypervisor that powers some of the world's largest clouds.
* Create your own Ubuntu PV VM on your [[XenServer]], set VIRT_DRIVER=xenserver, and then run stack.sh
 
* Use [https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md tools/xen] to build an Ubuntu PV VM for you
 
  
<<[[TableOfContents]](2)>>
+
To get started, you first you need to [[XenServer/Install|install XenServer or XCP on a physical machine]].
  
== Installing [[DevStack]] on your own Ubuntu paravirtualized VM ==
+
Then there are a few possible ways forward:
 +
* Using the script at https://raw.github.com/citrix-openstack/qa/master/install-devstack-xen.sh - running this from off-box on a fresh install of XenServer will push down ssh keys and install devstack using the default settings.
 +
* Use the readme in [https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md tools/xen] to build an Ubuntu PV VM for you
 +
* Create your own Ubuntu PV VM on your XenServer, set VIRT_DRIVER=xenserver, and then run stack.sh.  You will need to set up networking manually to meet your specific needs
  
This is not really heavily tested, you are probably best looking at the approach below.
+
== Installing DevStack on your own Ubuntu paravirtualized VM ==
 +
 
 +
This is not really heavily tested, you are probably best using the approach above.
  
 
Please note:
 
Please note:
Line 18: Line 19:
 
* It must be on the same hypervisor as the one you are managing
 
* It must be on the same hypervisor as the one you are managing
  
== Installing [[DevStack]] by generating an Ubuntu xva ==
+
= Useful Notes =
 
 
The basic process is:
 
* Install [[XenServer]]
 
* Prepare [[XenServer]] Dom0 (installs xapi plugins, and Open vSwitch isolation rules)
 
* Create [[DevStack]] config file, that matches your setup
 
* Create Ubuntu xva image
 
* Install xva on [[XenServer]]
 
 
 
You can read more about this in the readme:
 
* https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md
 
 
 
(More details coming soon...)
 
 
 
== Useful Notes ==
 
  
 
Please note:
 
Please note:
* For nova to work correctly with a [[XenServer]] pool, it must be created using the Host Aggregates feature
+
* For nova to work correctly with a XenServer pool, it must be created using the Host Aggregates feature
* It is intended that every [[XenSever]] has a VM running (as a minimum) the [[OpenStack]] compute worker
+
* It is intended that every XenSever has a VM running (as a minimum) the [[OpenStack]] compute worker
 
* When using Host Aggregates, you still have a VM on every member of the pool
 
* When using Host Aggregates, you still have a VM on every member of the pool

Latest revision as of 16:32, 13 August 2013

DevStack and XenServer

DevStack is a great way to get started with OpenStack. XenServer and XCP are great ways to use the Xen hypervisor that powers some of the world's largest clouds.

To get started, you first you need to install XenServer or XCP on a physical machine.

Then there are a few possible ways forward:

  • Using the script at https://raw.github.com/citrix-openstack/qa/master/install-devstack-xen.sh - running this from off-box on a fresh install of XenServer will push down ssh keys and install devstack using the default settings.
  • Use the readme in tools/xen to build an Ubuntu PV VM for you
  • Create your own Ubuntu PV VM on your XenServer, set VIRT_DRIVER=xenserver, and then run stack.sh. You will need to set up networking manually to meet your specific needs

Installing DevStack on your own Ubuntu paravirtualized VM

This is not really heavily tested, you are probably best using the approach above.

Please note:

  • The VM must be running in PV mode (/sys/hypervisor/uuid is needed)
  • It must be on the same hypervisor as the one you are managing

Useful Notes

Please note:

  • For nova to work correctly with a XenServer pool, it must be created using the Host Aggregates feature
  • It is intended that every XenSever has a VM running (as a minimum) the OpenStack compute worker
  • When using Host Aggregates, you still have a VM on every member of the pool