How to install and configure Two-node architecture with legacy networking (compute controller services) on openstack using packstack on centos 7 ?

asked 2015-01-10 13:05:56 -0600

anonymous user

Anonymous

Hi

I am new to cloud and openstack. Please give detailed steps as to how i can install and configure compute node and a controller node on 2 separate host machines running on centos 7 operating system.

I have already installed openstack juno version using packstack as per the following url: https://openstack.redhat.com/Quickstart

Please suggest further steps to add a new compute node on a different host machine with details so that i can monitor the VM's created on 2nd Host Machine from my controller node.

edit retag flag offensive close merge delete

Comments

Please Help !!

HK gravatar imageHK ( 2015-01-10 13:07:41 -0600 )edit

hi dbaxps.. i hav successfully installed & configured 2 hosts Controller+Network Node && Compute Node. Now how do i deploy VM's on the Compute node and later be able to monitor them from the Controller ? Do i need to deploy the Vm's from the Controller node to the Compute node or directly on compute

HK gravatar imageHK ( 2015-01-15 03:09:49 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
2

answered 2015-01-11 03:14:09 -0600

dbaxps gravatar image

updated 2015-01-15 03:27:09 -0600

Nova networking is deprecated on RDO Juno,IceHouse,Havana. Only Neutron networking , view :
http://bderzhavets.blogspot.com/2014/...
Just ignore cinder backend set up with Gluster or ISCSI LVM. Set up above installs Controller && Compute via one run on Controller.
If you insist on adding procedure view :-
http://cloudssky.com/en/blog/RDO-Open...
Launch browser to http://controller-ip/dashboard as admin or demo on Controller.
Passwords in keystonerc_admin (demo ) files.

1. Login as demo and remove external gateway to public network.
2. Login as admin and recreate public network matching your real LAN say 192.168.1.0/24 with Gateway
    matching IP or your real gateway.  Make public network shared.
3. Login as demo and create demo_network say 40.0.0.0/24 with DHCP enabled and DNS server
4. Create new router say RouterDemo
5. Create external gateway to new public && and interface to demo_network for RouterDemo.
6. Enable security rules for demo tenant
7. Create ssh-keypair
8. Try launch Cirros VM
edit flag offensive delete link more

Comments

Thanks for help. Do i run these commands only on the controller node or on both the controller as well as compute nodes ? And will i be able to monitor VM's created on compute node from the controller node by this ?

HK gravatar imageHK ( 2015-01-11 11:53:15 -0600 )edit
1

If you are going to follow http://bderzhavets.blogspot.com/2014/...
You grab answer-file from post, put on Controller ( clean ) and run just once:

packstack --answer-file=./answerTwoNode.txt
dbaxps gravatar imagedbaxps ( 2015-01-11 14:31:56 -0600 )edit
1

It will result two clean hosts become Controller+NetworkNode && Compute Node after successful completition of packstack. Actually, it is production style approach. You will be able monitor VMs running on Compute via dashboard on Controller.

dbaxps gravatar imagedbaxps ( 2015-01-11 14:35:47 -0600 )edit

we have to run these command on controller or compute or on both??

Queen gravatar imageQueen ( 2015-01-13 23:10:41 -0600 )edit

or i have to just make changes in compute and controller node

Queen gravatar imageQueen ( 2015-01-13 23:20:15 -0600 )edit
1

answered 2015-01-13 23:19:53 -0600

Queen gravatar image

i have already installed openstack using packstack on both machines..so to configure one opensatck on two different node on different machines. do i have to uninstall the present one on both machines and install compute and controller separately

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2015-01-10 13:05:56 -0600

Seen: 1,843 times

Last updated: Jan 15 '15