Where is the public Virtual IP address configure during MOS6.1 deploy cent OS open stack env?

Asked by lidiwen on 2015-11-05

Per HA deployment for Networking from Network Architecture. where is the public VIP address configure.

After I deploy 1 controller(combine cinder) + 1 computer nodes, I cannot find where is the Horizon Dashpboard IP configure?

The public Virtual IP should configure on one of the controller node if user has more than 1 controller nodes? but if it only have 1 controller node, does it should configure in the only one controller node? I cannot find the IP via ifconfig shows

Here is the document "Mirantis-OpenStack-6.1-ReferenceArchitecture" says:

Fuel leverages Pacemaker resource agents in order to deploy highly avaiable networking for OpenStack
environments.
Virtual IP addresses deployment details
Starting from the Fuel 5.0 release, HAProxy service and network interfaces running virtual IP addresses reside in
separate haproxy network namespace. Using a separate namespace forces Linux kernel to treat connections from
OpenStack services to HAProxy as remote ones, this ensures reliable failover of established connections when
the management IP address migrates to another node. In order to achieve this, resource agent scripts for
ocf:fuel:ns_haproxy and ocf:fuel:ns_IPaddr2 were hardened with network namespaces support.

Successfull failover of public VIP address requires controller nodes to perform active checking of the public
gateway. Fuel configures the Pacemaker resource clone_ping_vip__public that makes public VIP to migrate in case
the controller can't ping its public gateway.

Question information

Language:
English Edit question
Status:
Solved
For:
Fuel for OpenStack Edit question
Assignee:
No assignee Edit question
Solved by:
Denis Klepikov
Solved:
2015-11-07
Last query:
2015-11-07
Last reply:
2015-11-06
lidiwen (lidiwencs) said : #1

Horizon Dashboard IP arp from the controller node:
[root@node-109 ~]# arp 172.16.0.7
Address HWtype HWaddress Flags Mask Iface
172.16.0.7 ether 32:51:e4:56:51:42 C br-ex

The controller(combine cinder) public network IP arp from compute node:
[root@node-108 ~]# arp 172.16.0.10
Address HWtype HWaddress Flags Mask Iface
172.16.0.10 ether 00:50:56:85:44:8d C br-ex

The compute public network IP arp from controller node:
[root@node-109 ~]# arp 172.16.0.9
Address HWtype HWaddress Flags Mask Iface
172.16.0.9 ether 00:50:56:85:55:a0 C br-ex

The horizon dashboard IP's HWaddress differs with the controller node and the compute node. Is it a virtual Mac address?
Where is the IP address configured?

Best Denis Klepikov (dklepikov) said : #2

Hello.

Yes, you are right:
Virtual IP addresses deployment details
Starting from the Fuel 5.0 release, HAProxy service and network interfaces running virtual IP addresses reside in
separate haproxy network namespace.

You can find horizon ip into haproxy network namespace.

1. Log in to controller node
2. Get namespaces list using "ip netns" command
3. log in haproxy namespace "ip netns exec haproxy bash"
4. Check "ifconfig" output - there you can find horizon IP.

lidiwen (lidiwencs) said : #3

Thanks Denis Klepikov, that solved my question.