HA cluster with DRBD and Heartbeat [message #35769] |
Tue, 21 April 2009 13:30 |
sammy08
Messages: 21 Registered: April 2008
|
Junior Member |
|
|
Hello,
I have gone through the doc at http://wiki.openvz.org/HA_cluster_with_DRBD_and_Heartbeat but I am having difficulty configuring it to use a single IP Address (e.g 172.16.8.3) to access the HN from the public LAN. This is so that the user only need to connect the "floating IP" 172.16.8.3 for the HN and the failover from 172.16.8.1 to 172.16.8.2 is more or less seemless.
On the HN I am using the following IPs:
Public LAN
Host01 - eth0, 172.16.8.1
Host02 - eth0, 172.16.8.2
Private LAN
Host01 - eth1, 192.168.50.1
Host02 - eth1, 192.168.50.2
I have created containers on the primary HN and they are using the range 192.168.0.100/255.255.255.0
Webserver VE - 192.168.0.101
Accessible via http://172.16.8.1:8001
The objective is to be able to access the webserver VE via http://172.16.8.3:8001
Ideally I would want to do this per container as well but I guess doing it on the HN first would give me a better understanding of how it is meant to work.
regards,
Sammy
[Updated on: Tue, 21 April 2009 13:37] Report message to a moderator
|
|
|
|