Redis主从集群一主二从并使用slaveof IP 端口号的方式实现单次主从关系确立-----Redis
[root@localhostmyredis]#redis-server/myredis/redis6379.conf[root@localhostmyredis]#redis-cli-aabc123Warning:Usingapasswordwith'-a'or'-u'optiononthecommandlineinterfacemaynotbesafe.127.0.0.1:6379>keys*