这是我得到的错误消息:
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.
这是我的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
任何想法谢谢,E。
单播指令是'ucast'而不是'单播:
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
作为您得到状态的错误消息, unicast不是一个有效的configuration选项。 如果我的记忆为我服务,你应该使用ucast 。