启动
redis-sentinel sentinel.conf
sentinel.conf 参数说明:
bind ip
port 端口
daemonize 是否后台运行
pidfile
logfile
dir 工作目录
sentinel monitor mymaster 192.168.1.1 6379 2
说明:至少要配置3个哨兵
启动
redis-sentinel sentinel.conf
sentinel.conf 参数说明:
bind ip
port 端口
daemonize 是否后台运行
pidfile
logfile
dir 工作目录
sentinel monitor mymaster 192.168.1.1 6379 2
说明:至少要配置3个哨兵