一般需要设置主的优先级大于从作者: 宁静致远_guan 时间: 2015-12-28 17:01
我想说,我的主从切换还有问题呢,不知道为什么从一直没法接管主的,一直报错[root@localhost scripts]# tailf /var/log/keepalived-redis-state.log
Run SLAVEOF cmd ...
ERR wrong number of arguments for 'slaveof' command
[master]
Mon Dec 28 16:42:46 CST 2015
Being master....
Run SLAVEOF cmd ...
Could not connect to Redis at -p:6379: Name or service not known
Run SLAVEOF NO ONE cmd ...
Could not connect to Redis at -p:6379: Name or service not known