Ask Your Question
0

Access Virtual IP of Linux's cluster pair in OpenStack

asked 2017-05-25 05:33:58 -0500

Teera W. gravatar image

updated 2017-05-27 00:06:24 -0500

I have provisioned two Linux VMs in OpenStack and setup Linux's cluster using IBM Product (TSA).
This will be generate alias (secondary) IP address to be virtual IP address that bind to Active node.

Node 1: eth0: 10.0.0.3 (Active)
|--- eth0:0 - 10.0.0.10 (alias IP address)

Node 2: eth0: 10.0.0.6 (Standby)

But I cannot access 10.0.0.10 from another VM (Ex. Node2, another VM in same private network.)
How can I have additional setup to floating this VIP to can access from another VM ?

I'm not sure, is it cause from alias ip (vip) has no one instance to attach it?
Do can I use floating ip assign to this vip or need install package of OpenStack load balance to help on this?

edit retag flag offensive close merge delete

Comments

I tested your case at home by pinging node 1 from node2 and have the same symptom. My setup uses the Openvswitch mech driver. Tracing bridge and TAP device for node 1, I can see ARP requests from node2 and corresponing ARP replies. The replies are not seen on bridge or TAP for node 2.

Bernd Bausch gravatar imageBernd Bausch ( 2017-05-28 03:40:34 -0500 )edit

Speculating: When using the L2 population driver, which is the default, ARP replies are provided by Neutron. If an instance has an IP address that is not managed by Neutron, perhaps ARP doesn't work. I would like to test this but can't remove L2pop right now.

Bernd Bausch gravatar imageBernd Bausch ( 2017-05-28 03:41:15 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-05-29 02:10:38 -0500

Teera W. gravatar image

updated 2017-05-29 02:12:22 -0500

I founded solution for create VIP in OpenStack.

Currently, we use private network for VMs instance, and then I add new Port in private network set as Virtual IP address.

Go to network -> private -> port of VM -> Add Allow Address Pair -> Enter Virtual IP address. (Do this for both nodes)

Ref: http://kb.internap.com/cloud/configure-a-floating-ip-between-multiple-instances-with-neutron/ (http://kb.internap.com/cloud/configur...)

edit flag offensive delete link more

Comments

1

You basically advertise this IP address to Neutron, which then ensures that ARP works. Thanks for figuring this out!

Bernd Bausch gravatar imageBernd Bausch ( 2017-05-29 02:22:08 -0500 )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-05-25 05:33:58 -0500

Seen: 1,248 times

Last updated: May 29 '17