创建一个双机备份时,两个机器的CARP接口状态都是Master
-
遇到一个情况,用hyper-v和vmware测试创建一个双机备份时,两个机器的CARP接口状态都是Master,但是以前从2.3版本升级到2.4版本的双机备份CARP的状态是正常的,一个master一个backup,大神指点一下我该怎么处理啊
日志里面有这样的信息,两个机器能够互相ping通,但是配置无法再同步了
Apr 11 13:02:28 php-fpm 314 /rc.carpmaster: HA cluster member "(183...*@hn0): (WAN)" has resumed CARP state "MASTER" for vhid 2
Apr 11 13:02:28 php-fpm 314 /rc.carpmaster: HA cluster member "(192.168.1.3@hn1): (LAN)" has resumed CARP state "MASTER" for vhid 1
Apr 11 13:02:28 kernel Starting DNS Resolver…
Apr 11 13:02:28 php-cgi rc.bootup: Unbound start waiting on dhcp6c.
Apr 11 13:02:27 check_reload_status Carp master event
Apr 11 13:02:27 kernel carp: 2@hn0: BACKUP -> MASTER (master timed out)
Apr 11 13:02:27 kernel carp: 1@hn1: BACKUP -> MASTER (master timed out)
Apr 11 13:02:27 check_reload_status Carp master event -
http://blog.51cto.com/fxn2025/1966196
参照这篇文章里的故障排除方法检查一下,应该能解决问题。