most suitable networking model for this example

asked 2015-01-02 14:51:49 -0500

updated 2019-05-29 06:28:37 -0500

5 server cluster located in remote data center. Private ip addresses has been assigned as we have get the servers. All servers can ping each other. Servers have two nics. One nic have private ip as shown below;

cat /etc/hosts
10.90.212.xx    z1master        z1
10.90.212.xx    z2compute       z2
10.90.214.xx    z3compute       z3
10.90.210.xx    z4compute       z4
10.91.5.xx      z5mng           z5

The another nic has public ip addresses as shown below;

6x.21.92.xx    z1.xx.com  zs1 
6x.21.92.xx    z2.xx.com  zs2 
6x.21.93.xx    z3.xx.com  zs3 
6x.21.91.xx    z4.xx.com  zs4 
6x.21.245.xx   z5.xx.com  zs5

Also, I have additional single public ip addresses rather then having ip blocks like /24 /27 etc.

UPDATE1: I have ip addresses for floating ip block like this.

195.154.21.1xx
195.154.21.1xx
195.154.21.1xx
212.128.50.1xx
212.128.46.1xx
212.128.58.1xx

This is 1 controller, 4 compute node setup. Since it is remote location, I have no control on switches, routers etc. Alas, I couldn't figure out a proper way of networking. My questions;

1. Which way would be the most suitable way to create network between, controller and compute nodes and VMs? FlatDHCP/Flat, legacy nova or neutron? 
2. How can i assign single public ip addresses as floating ip to the VMs?

UPDATE2:

- I have decided to go with legacy nova. It seems nova creates 192.xx private ip address for VMs. 
- I still need to know command for single ip dedication for floating ip. I hope soon will figure this out.
edit retag flag offensive close merge delete

Comments

I forgot the mention, installation based on Ubuntu 14.04 and Juno.

kunthar gravatar imagekunthar ( 2015-01-02 14:55:30 -0500 )edit

the best practice is add more info by updating your original question instead of add comments.:-)

9lives gravatar image9lives ( 2015-01-03 01:12:34 -0500 )edit

thank you for constructive, positive, informative answer.

kunthar gravatar imagekunthar ( 2015-01-03 05:00:15 -0500 )edit

I would probably go with DVR since you are on Juno and make each of those 6x addresses a bridge interface that would then become your ext_net interface. Then use your 6x addresses to define a floating IP pool. However I have no idea how many 6x addresses you have or if they are in numeric order.

schmaustech gravatar imageschmaustech ( 2015-01-05 17:47:09 -0500 )edit