哨兵模式启动redis

# 启动Redis服务器进程
./redis-server ../redis.conf
# 启动哨兵进程
./redis-sentinel ../sentinel.conf

windows 启动 redis-server.exe sentinel.conf --sentinel

首先是主机(192.168.11.128)的Redis服务进程,然后启动从机的服务进程,最后启动3个哨兵的服务进程。

以客户端进入,info查看状态

192.168.65.1
192.168.65.1

 

猜你喜欢

转载自www.cnblogs.com/cowshed/p/11397706.html