Ask Your Question
0

I need to set up a MultiNode deployment with 1 controller node and 1 compute node, But the official docs says I need to have 2NIC but my machines have 1 NIC card each. Can I still proceed or is there some other work around this?

asked 2017-03-02 23:50:57 -0600

ShubhamMeshram gravatar image

I need to set up a MultiNode deployment with 1 controller node and 1 compute node, But the official docs says I need to have 2NIC but my machines have 1 NIC card each. Can I still proceed or is there some other work around this?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2017-03-03 03:18:18 -0600

updated 2017-03-16 02:52:20 -0600

If you want to follow the install guide to the letter, you need two NICs. I think it should work with VLAN interfaces - instead of two NICs, create two VLAN interfaces on a physical NIC.

If your goal is to learn, try out the VLANs or simply put all addresses on the same NIC. If your goal is to have a functioning cloud, try Packstack. It works very well with a single NIC.

EDIT: To install the controller, just follow the quickstart page. It works as-is. Personally, I added the following options to the packstack command:

  • -d for debug messages, useful if something goes wrong
  • --default-password=myfavouritepassword. Otherwise, Packstack generates unreadable passwords; good for production, bad for experimentation

Then provision your second machine with Centos and use the add a compute host page, but don't follow it by the letter. Changes:

  • Ignore the paragraph Adjust network card names. A single network interface is sufficient, and CONFIG_NEUTRON_OVS_TUNNEL_IF can be left alone.
  • Ignore the paragraph Skip installing on an already existing servers. In my experience, when you exclude the controller, thinking that it is already installed, certain components will be missing on it later.

Later, you can add more compute hosts in the same way. It's very convenient. In my virtual environment, the controller took about 30 min, each compute host 20-25 min to set up.

Until recently, the add a compute host page assumed Nova-Network instead of Neutron, but that seems to have been updated.

Caveat: I used two Virtualbox machines, each with a single NIC, rather than physical PCs.

edit flag offensive delete link more

Comments

I want to set it up with packstack on two of my laptops with each one having only one NIC card. Which is the documentation i need to follow? I want to make one of them as controller n one as compute node

ShubhamMeshram gravatar imageShubhamMeshram ( 2017-03-16 02:00:49 -0600 )edit

I edited the answer above.

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-16 02:39:12 -0600 )edit

Thank you :) I did the same as given in the guide and you seem to be telling the same thing and I now have multi node setup. But the controller node seems to be super slow. The cursor has vanished, it is become really unresponsive, I am ssh(ing) into the controller node from the compute node.....

ShubhamMeshram gravatar imageShubhamMeshram ( 2017-03-16 23:59:19 -0600 )edit

from the compute node to do the changes even that takes time. My controller node has 6GB RAM and compute node has 8GB RAM. Should I interchange them? I mean should i make my compute node as controller and vice versa?

ShubhamMeshram gravatar imageShubhamMeshram ( 2017-03-17 00:03:08 -0600 )edit

I have a controller and one, sometimes two compute nodes. All are virtual machines with 6GB memory. However, since you talk about a vanishing cursor, you seem to be running desktop software. That may be the problem in your case; my servers run a small Centos server OS.

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-18 03:30:14 -0600 )edit

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: 2017-03-02 23:50:57 -0600

Seen: 289 times

Last updated: Mar 16 '17