riozhang's blog

请章博士和各位高手指点------备份服务器上ldirectord启动问题

两台机器CentOS5.2,应用为MySQL cluster,想实现负载和HA,
两台机器的主机名和ip如下:
192.168.100.5 server5.domain
192.168.100.7 server7.domain

现在两台机器都安装了LVS+heartbeat+ldirectord,配置文件如下

ha.cf :

debugfile /var/log/ha-debug
logfile /var/log/ha-log
keepalive 1000ms
deadtime 30
warntime 5
initdead 120
udpport 694
bcast eth3
mcast eth3 225.0.0.1 694 1 0
ucast eth1 192.168.100.7
auto_failback on
node server5.domain
node server7.domain
respawn hacluster /usr/lib64/heartbeat/ipfail

Subscribe to RSS - riozhang's blog
randomness