I am trying to build a load balanced cluster on Red Hat 9. I have installed heartbeat and it works fine. I installed ldirectord 1.2.3 on my first node and tried to bring it up. I then tried to connect to the virtual site and it worked. I though all was well. Then I looked at the logs
. My /var/log/ldirectord.log includes this:
Code:
[Thu May 12 15:50:17 2005|ldirectord] Config file ldirectord.cf not found
[Thu May 12 15:50:17 2005|ldirectord] Exiting with exit_status 1: Initialisation Error
[Thu May 12 15:55:47 2005|oailxwbcl1] ldirectord is stopped for /etc/ha.d/conf/oailxwbcl1
[Thu May 12 15:55:47 2005|oailxwbcl1] Exiting with exit_status 1: Initialisation Error
[Thu May 12 15:55:47 2005|ldirectord] Config file ldirectord.cf not found
[Thu May 12 15:55:47 2005|ldirectord] Exiting with exit_status 1: Initialisation Error
[Thu May 12 16:01:09 2005|oailxwbcl1] ldirectord is stopped for /etc/ha.d/conf/oailxwbcl1
[Thu May 12 16:01:09 2005|oailxwbcl1] Exiting with exit_status 1: Initialisation Error
[Thu May 12 16:09:24 2005|oailxwbcl1] ldirectord is stopped for /etc/ha.d/conf/oailxwbcl1
[Thu May 12 16:09:24 2005|oailxwbcl1] Exiting with exit_status 1: Initialisation Error
my ldirectord.cf includes this:
Code:
# Global Directives
checktimeout=3
checkinterval=1
fallback=127.0.0.1:80
autoreload=yes
logfile="/var/log/ldirectord.log"
logfile="local0"
quiescent=yes
virtual=10.90.2.194:80
real=10.90.2.69:80 gate
real=10.90.2.116:80 gate
service=http
request="/.check"
receive="alive"
virtualhost=oailxwbcl1.ssfhs.org
scheduler=rr
protocol=tcp
the webroot has a file named .check with alive as the contents.
my haresources is
Code:
oailxwbtst.ssfhs.org 10.90.2.194 ldirectord::oailxwbcl1
I have read through he man pages and I don't see anything I have missed.
If anyone can point me in the right direction I'd appreciate it.
Thanks,