edo*_*tan 0 linux centos heartbeat
这是我收到的错误消息:
heartbeat[22269]: 2012/03/21_07:36:55 ERROR: Illegal directive [unicast] in /etc/ha.d/ha.cf
heartbeat[22269]: 2012/03/21_07:36:55 ERROR: Heartbeat not started: configuration error.
heartbeat[22269]: 2012/03/21_07:36:55 ERROR: Configuration error, heartbeat not started.
Run Code Online (Sandbox Code Playgroud)
这是我的 ha.cf 文件:
logfile /var/log/ha-log
###logfacility local0
keepalive 1
deadtime 10
initdead 90
udpport 694
unicast eth0 "node02_IP_Address
auto_failback on
node node01
node node02
###respawn hacluster /usr/lib/heartbeat/ipfail
Run Code Online (Sandbox Code Playgroud)
任何想法谢谢,E。
Unicast 的指令是“ucast”而不是“unicast”:
logfile /var/log/ha-log
###logfacility local0
keepalive 1
deadtime 10
initdead 90
udpport 694
ucast eth0 node02_IP_Address
auto_failback on
node node01
node node02
###respawn hacluster /usr/lib/heartbeat/ipfail
Run Code Online (Sandbox Code Playgroud)