[Openstack] Compute node with xenserver

Bob Ball bob.ball at citrix.com
Tue May 14 16:03:32 UTC 2013


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:
ENABLED_SERVICES="n-cpu,n-net,n-api,g-api,-mysql"
DATABASE_TYPE=mysql
MYSQL_HOST=<controller IP>
RABBIT_HOST=<controller IP>
KEYSTONE_AUTH_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.

Thanks,

Bob

From: Alexandre De Carvalho [mailto:alexandre7.decarvalho at gmail.com]
Sent: 14 May 2013 16:55
To: Bob Ball
Cc: openstack at lists.launchpad.net
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) ?

Alex

2013/5/14 Bob Ball <bob.ball at citrix.com<mailto:bob.ball at citrix.com>>
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.

Thanks,

Bob

From: Openstack [mailto:openstack-bounces+bob.ball<mailto:openstack-bounces%2Bbob.ball>=citrix.com at lists.launchpad.net<mailto:citrix.com at lists.launchpad.net>] On Behalf Of Alexandre De Carvalho
Sent: 14 May 2013 15:18
To: openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>
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 ?

--
regards,
Alexandre





--
Cordialement,
Alexandre DE CARVALHO


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130514/7b45da5b/attachment.html>


More information about the Openstack mailing list