一般需要設(shè)置主的優(yōu)先級(jí)大于從作者: 寧?kù)o致遠(yuǎn)_guan 時(shí)間: 2015-12-28 17:01
我想說(shuō),我的主從切換還有問(wèn)題呢,不知道為什么從一直沒(méi)法接管主的,一直報(bào)錯(cuò)[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