求教一下,实在弄不好了
启动HA时提示
[root@Alpha ~]# service heartbeat start
Starting High-Availability services: INFO: Running OK
CRITICAL: Resource 192.168.199.221/24/eth0 is active, and should not be!
CRITICAL: Non-idle resources can affect data integrity!
有两台虚拟机
Alpha
网卡有
haresource为ha.cf 为
Beta
网卡有
haresource为
ha.cf 为
启动HA时提示
[root@Alpha ~]# service heartbeat start
Starting High-Availability services: INFO: Running OK
CRITICAL: Resource 192.168.199.221/24/eth0 is active, and should not be!
CRITICAL: Non-idle resources can affect data integrity!
有两台虚拟机
Alpha
网卡有
eth0 | 192.168.199.221 |
eth0:1 | 192.168.188.231 |
- Alpha 192.168.199.221/24/eth0 nginx
- debugfile /var/log/ha-debug
- logfile /var/log/ha-log
- logfacility local0
- keepalive 2
- deadtime 30
- warntime 10
- initdead 120
- udpport 694
- ucast eth0:1 192.168.188.232
- auto_failback on
- node Alpha
- node Beta
- ping 192.168.199.3
- respawn hacluster /usr/lib/heartbeat/ipfail
Beta
网卡有
eth0 | 192.168.199.222 |
eth0:1 | 192.168.188.232 |
haresource为
- Alpha 192.168.199.221/24/eth0 nginx
ha.cf 为
- debugfile /var/log/ha-debug
- logfile /var/log/ha-log
- logfacility local0
- keepalive 2
- deadtime 30
- warntime 10
- initdead 120
- udpport 694
- ucast eth0:1 192.168.188.231
- auto_failback on
- node Alpha
- node Beta
- ping 192.168.199.3
- respawn hacluster /usr/lib/heartbeat/ipfail
编辑回复