skhdebMac:~ shenkonghui$ redis-cli -h 10.168.247.33 -a dangerous -p 26379 info Sentinel
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
# Sentinel
sentinel_masters:1
sentinel_tilt:0
sentinel_running_scripts:0
sentinel_scripts_queue_length:0
sentinel_simulate_failure_flags:0
master0:name=mymaster,status=sdown,address=10.168.247.8:6379,slaves=0,sentinels=1
这里看到的master是10.168.247.8
而直接查看sentinel.conf文件看到的master是10.168.145.86,这才是实际的master
哨兵日志