Hi all !
I have a 2 node cluster (running RedHat linux 7.3)
I'm using heartbeat (Ultramonkey) and ldirectord.
I have the same configuration on both server (ha.d, haresources and
ldirectord.cf)
At the boot on the primary node of the cluster the HTTP server starts
correctly ( so I have setted in the haresources)
If the primary node goes down ( unplug network cable / poweroff ) the other
node of the cluster starts and the takeover of the IP does occour correctly.
But if I kill the httpd service on the primary server the secondary node
doesn't start.
This the command in the haresources file
cluster-1 IPaddr::172.31.120.4/24 ldirectord::ldirectord.cf httpd
And this is the ldirectord.cf
hecktimeout=3
checkinterval=1
fallback=127.0.0.1:80
autoreload=yes
logfile="/var/log/ldirectord.log"
quiescent=no
virtual=172.31.120.4:80
real=172.31.120.1:80 gate
real=172.31.120.2:80 gate
service=http
request="index.html"
receive="Test Page"
scheduler=rr
protocol=tcp
persistent=60
netmask=255.255.255.255
This is what i can read when i kill the httpd service:
(starting httpd)
[Wed Apr 16 12:37:11 2003|ldirectord.cf] Starting Linux Director v1.63 as
daemon
[Wed Apr 16 12:37:11 2003|ldirectord.cf] Added virtual server:
172.31.120.4:80
[Wed Apr 16 12:37:15 2003|ldirectord.cf] Added real server: 172.31.120.1:80
(0 x 172.31.120.4:80) (Weight set to 1)
(after killed httpd)
[Wed Apr 16 12:38:39 2003|ldirectord.cf] Deleted real server:
172.31.120.1:80 (1 x 172.31.120.4:80)
On the other node..nothing occour...where is my error ??
Thank you !
*********************************************************************
Damiano Bonometti
*********************************************************************
|