//创建一个sentinel.conf文件 vim sentinel.conf vi sentinel.conf //设置哨兵监控 sentinel monitor myredis 127.0.0.1 6379 1 //密码 sentinel auth-pass myredis 123456

//创建一个sentinel.conf文件 vim sentinel.conf vi sentinel.conf //设置哨兵监控 sentinel monitor myredis 127.0.0.1 6379 1 //密码 sentinel auth-pass myredis 123456