← Back to team overview

openstack team mailing list archive

Re: Compute node with xenserver


Hi Alex,

There appear to be conflicting (or partially incomplete) guides for this at http://devstack.org/guides/multinode-lab.html and at http://devstack.org/localrc.html.  There is full documentation on the stack script and which settings you need to consider for multi host (search for multi) at http://devstack.org/stack.sh.html.

We set the following variables on the slave to enable a multi-host setup:
MYSQL_HOST=<controller IP>
RABBIT_HOST=<controller IP>
GLANCE_HOSTPORT=<controller IP>:9292
PUB_IP=<This node public network IP>
VM_IP=<This node VM network IP>

Of course, on the master MULTI_HOST also needs to be set to true.

Note that the hostnames for the computes need to be unique, and so if you already have a compute called "DevStackOSDomU" (the default) then you'll have to change GUEST_NAME in localrc and the hostname for the second compute node.  This is also true if you want to add further compute nodes.



From: Alexandre De Carvalho [mailto:alexandre7.decarvalho@xxxxxxxxx]
Sent: 14 May 2013 16:55
To: Bob Ball
Cc: openstack@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Openstack] Compute node with xenserver

Thanks for your reply Bob. Ok now i have a xenserver with a domU. I have followed this doc : https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md

But now how to indicate that this xenserver is the compute node of my Controller on Ubuntu 12.04 LTS (used devstack) ?


2013/5/14 Bob Ball <bob.ball@xxxxxxxxxx<mailto:bob.ball@xxxxxxxxxx>>
Hi Alexandre,

Interesting question!

I'd suggest you follow the devstack installation guide at https://wiki.openstack.org/wiki/XenServer/DevStack.  There is a handy script there which makes installation of devstack on an existing XenServer or other XenAPI host very straight forward.

It would also be helpful to review http://docs.openstack.org/trunk/openstack-compute/admin/content/introduction-to-xen.html to understand how the host is setup for Nova in XenServer since the nova code lives in a virtual machine to isolate it from the privileged domain 0.



From: Openstack [mailto:openstack-bounces+bob.ball<mailto:openstack-bounces%2Bbob.ball>=citrix.com@xxxxxxxxxxxxxxxxxxx<mailto:citrix.com@xxxxxxxxxxxxxxxxxxx>] On Behalf Of Alexandre De Carvalho
Sent: 14 May 2013 15:18
To: openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
Subject: [Openstack] Compute node with xenserver

Hi !

I have

1) Controller on Ubuntu 12.04 LTS (used devstack)
2) Node Compute on Ubuntu 12.04 LTS with KVM hypervisor (used devstack)

And i would like to have a node compute on xenserver. But i don't know how to do it. Can you help me and say me the steps to do it, please ?



Follow ups