Hi all,

i am new with heartbeat and i get a error which i cant solve my self.

Here my small config:

lb1:~# cat /etc/heartbeat/ha.cf
logfacility        local0
bcast        eth0
mcast eth0 225.0.0.1 694 1 0
auto_failback off
node        lb1
node        lb2
respawn hacluster /usr/lib/heartbeat/ipfail
apiauth ipfail gid=haclient uid=hacluster

lb1:~# cat /etc/ha.d/haresources
lb1
        ldirectord::ldirectord.cf
        LVSSyncDaemonSwap::master
        IPaddr2::193.34.120.202/24/eth0/193.34.120.255


and the last one:

lb1:~# cat /etc/ha.d/ldirectord.cf
# Global Directives
checktimeout=10
checkinterval=2
autoreload=no
logfile="local0"
quiescent=yes

virtual = 193.34.120.202:3306
        service = mysql
        real = 193.34.120.13:3306 gate
        real = 193.34.120.14:3306 gate
        checktype = negotiate
        login = "ldirector"
        passwd = "ldirectorpassword"
        database = "ldirectordb"
        request = "SELECT * FROM connectioncheck"
        scheduler = wrr


When i try to start hearbeat i the following error:

Starting High-Availability services:
 Heartbeat failure [rc=6]. Failed.

heartbeat: 2009/01/18_00:32:30 info: **************************
heartbeat: 2009/01/18_00:32:30 info: Configuration validated. Starting 
heartbeat 1.2.5
heartbeat: 2009/01/18_00:32:30 ERROR: Bad nodename in /etc/ha.d/haresources 
[ldirectord::ldirectord.cf]
heartbeat: 2009/01/18_00:32:30 ERROR: Configuration error, heartbeat not 
started.


Anyone know what happend with that?
I want to try out a mysql-cluster with heartbeat.
Hope for many help from you guys ;)

bye


-- 
Mit freundlichen Grüßen
Daniel
mailto:[email protected]


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to