I've installed Heartbeat in two CentOS 6.2 machines which are running http service. I want these machines to be in Active/Passive state. I want only one machine to be active. Here's my ha.cf
file:
logfacility local0
ucast eth1 192.168.0.66
#bcast eth1
keepalive 2
warntime 6
deadtime 10
auto_failback on
use_logd yes
node web5
node web5b
And here's the haresources
file:
web5 IPaddr::192.168.0.60/24/eth1/192.168.0.255
The problem is when I start heartbeat on both servers, the IP 192.168.0.60 stays active in both servers. I want it to be active only on Web5 and if web5 goes down it'll be active in Web5b. My heartbeat version is 3.0.4.
Any help?