第一步:找到redis下的sentinel.conf文件
第二步:复制当前sentinel.conf文件3份;
cp -i sentinel.conf 移动到那个文件下 /sentinel-26380.conf
第三步:修改三个sentinel.conf文件里的port端口
第四步:配置主服务的ip端口
第五步:哨兵模式开启,redis-sentinel sentinel-26380.conf
第六步:检测哨兵模式是否开启
第一步:找到redis下的sentinel.conf文件
第二步:复制当前sentinel.conf文件3份;
cp -i sentinel.conf 移动到那个文件下 /sentinel-26380.conf
第三步:修改三个sentinel.conf文件里的port端口
第四步:配置主服务的ip端口
第五步:哨兵模式开启,redis-sentinel sentinel-26380.conf
第六步:检测哨兵模式是否开启