Ask Your Question
0

How can I install Openstack in 2 machines?

asked 2013-05-08 09:24:58 -0500

djangoat gravatar image

updated 2013-08-22 19:45:22 -0500

fifieldt gravatar image

Hi I'm looking for an easy to understand tutorial on how to install Openstack using 2 machines.

I have already read this one https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVSMultiNode/OpenStackGrizzlyInstallGuide.rst but obviously the tutorial is for 3 machines.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
3

answered 2013-05-08 12:49:41 -0500

jay-janardhan gravatar image

updated 2013-05-08 18:59:43 -0500

smaffulli gravatar image

To keep it simple, start with devstack. Run your controller on one machine and make the second on ea compute node (where you create VMs). Simplest way is to download and run devstack on one machine. Follow the steps below to make the second one a compute node.

Controller node: edit /etc/nova/nova/nova.conf, add multi_host=true

On compute nodes: edit /home/stack/devstack/localrc, set

ENABLED_SERVICES=n-cpu,rabbit,g-api,quantum,q-agt
SERVICE_HOST=<controller IP>
MYSQL_HOST=$SERVICE_HOST
RABBIT_HOST=$SERVICE_HOST
Q_HOST=$SERVICE_HOST

rerun stack.sh

now, if you run nova-manage service list on the controller you should see compute node added.

If you are looking for a long answer then it all depends on why you want two machines in your Openstack. What services you want to run and where/why?

edit flag offensive delete link more

Comments

Is there any advice if I want to install controller+ network(neutron) into one node, and compute into other nodes. Actually, I want to have a test how juno can support xen server and kvm in one openstack cluster

yuecong1104 gravatar imageyuecong1104 ( 2014-11-22 01:55:18 -0500 )edit
0

answered 2013-05-10 10:59:11 -0500

RomilGupta gravatar image

Hi , if you are an openstack beginner and wants a single node setup in your virtual box or any machine. I would suggest you could go through the below link :

[http://ilearnstack.wordpress.com/2013/04/26/setting-up-a-single-node-openstack-environment/]

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-05-08 09:24:58 -0500

Seen: 1,529 times

Last updated: May 10 '13