redis哨兵模式怎么开启redis哨兵模式的开启方法:1.在redis目录下创建sentinel.conf文件。2.编辑sentinel.conf文件添加以下内容:# sentinel monitor 被监控的主机名(自定义) 被监控的主机IP 被监控