本文共 435 字,大约阅读时间需要 1 分钟。
127.0.0.1:6379> info replication
Replication
role:master
connected_slaves:0master_replid:bea12d30c2c8e7aae41724165989a2713fb11147master_replid2:0000000000000000000000000000000000000000master_repl_offset:0second_repl_offset:-1repl_backlog_active:0repl_backlog_size:1048576repl_backlog_first_byte_offset:0repl_backlog_histlen:0一、查看防火墙和selinux是否关闭
二、配置完主从后一定不要忘记重启redis
转载于:https://blog.51cto.com/14142911/2344068