Heartbeat for OpenVZ Guest

MasterTH

Renowned Member
Jun 12, 2009
239
7
83
www.sonog.de
Hi,

i'm trying to install heartbeat on two openvz-maschine that runs on different proxmox servers.
But i don't know why, nothing works :(

haresources:
Code:
node1 192.168.1.2

ha.cf
Code:
debugfile       /var/log/ha-debug
logfile         /var/log/ha-log
logfacility     local0
keepalive       2
deadtime        10
udpport         694
udp             venet0
bcast           venet0
mcast           venet0 225.0.0.1 694 1 0
ucast           venet0 192.168.0.5
auto_failback   off
node            node1
node            node2
authkeys
Code:
auth 3
3 md5 somerandomstring
Heartbeat starts and no error occurs, but the ip address is not added to the interface.
Authkeys is just for testing. I'd change the string if its going to be online...


Thanks for your help.
 
what does this return on both nodes?

/etc/init.d/heartbeat status

if HB is running on both nodes, try simplifying the ha.cf file . I'd start by commenting out these 2 lines:
mcast venet0 225.0.0.1 694 1 0
ucast venet0 192.168.0.5