OpenVZ Forum


Home » General » Support » Heartbeat+openvz (simple openvz+heartbeat)
Heartbeat+openvz [message #45095] Fri, 27 January 2012 22:11 Go to previous message
mitsuoyazawa is currently offline  mitsuoyazawa
Messages: 1
Registered: January 2012
Junior Member
Hi,

I have 2 machines running CentOS6.2 with openvz
with 4 VE's on each machine.

4 of this VE's are identical to the other (in the other machine)
so lets say....
PC1:1001-1004 = PC2:1001-1004

what i need its that if PC1 fails. heartbeat turns on 1001-1004 on PC2

I have the following configuration.
ha.cf
logfacility daemon
node node01
node node02
keepalive 1
warntime 10
deadtime 30
initdead 120
udpport 694
ucast em1 192.168.1.2
ucast em1 192.168.1.3
auto_failback off

haresources
node01 vzha

vzha, its a script that does vzctl start 1001 - 1004
or stop them.
-------------------------
everything works fine. my problem is that
node01 thinks node02 is down, and
node02 thinks node02 is down.
So I have a split-brain issue.

maybe someone can help me with this issue. thanks.
 
Read Message
Read Message
Previous Topic: CPU stuck for 67s!
Next Topic: Swap with non-VSwap kernel
Goto Forum:
  


Current Time: Sun Jul 14 20:55:04 GMT 2024

Total time taken to generate the page: 0.02290 seconds