ping 正常会返回pong
info replication 查看主从信息(非哨兵使用)
info 查看主从哨兵信息
sentinel masters 返回被监视的所有master及状态(哨兵使用)
sentinel master 返回指定的master及状态(哨兵使用)
sentinel slaves 返回slave及状态(哨兵使用)
sentinel sentinels 返回sentinel,除本身之外的哨兵及状态(哨兵使用)
sentinel get-master-addr-by-name 返回现在的master IP和Port(哨兵使用)
sentinel reset * 清理已经移除的master-slave或者sentinel信息
sentinel failover 手动执行故障转移
sentinel ckquorum 返回(OK 3 usable Sentinels. Quorum and failover authorization can be reached)
sentinel flushconfig 如果sentinel.conf丢失,可以使用这个命令生成新的配置文件