主機:127.0.0.1:5000 +sentinel 127.0.0.1:9100
從機:127.0.0.1:5001+sentinel 127.0.0.1:9101
從機:127.0.0.1:5002+sentinel 127.0.0.1:9102
sentinel監控的都是主機,投票數是2.
sentinel啟動的時候就一直不停的刷這個日志
6897:X 27 Nov 18:17:56.426 * +sentinel sentinel 127.0.0.1:9100 127.0.0.1 9100 @ mymaster 192.168.244.130 5000
6897:X 27 Nov 18:17:56.443 * -dup-sentinel master mymaster 192.168.244.130 5000 #duplicate of 192.168.244.130:9100 or 5247bf3139536ff889fdeb688943aeba8df7a332
6897:X 27 Nov 18:17:56.443 * +sentinel sentinel 192.168.244.130:9100 192.168.244.130 9100 @ mymaster 192.168.244.130 5000
6897:X 27 Nov 18:17:56.452 * -dup-sentinel master mymaster 192.168.244.130 5000 #duplicate of 127.0.0.1:9100 or 5247bf3139536ff889fdeb688943aeba8df7a332
6897:X 27 Nov 18:17:56.452 * +sentinel sentinel 127.0.0.1:9100 127.0.0.1 9100 @ mymaster 192.168.244.130 5000
6897:X 27 Nov 18:17:56.457 * -dup-sentinel master mymaster 192.168.244.130 5000 #duplicate of 192.168.244.130:9100 or 5247bf3139536ff889fdeb688943aeba8df7a332
6897:X 27 Nov 18:17:56.458 * +sentinel sentinel 192.168.244.130:9100 192.168.244.130 9100 @ mymaster 192.168.244.130 5000
6897:X 27 Nov 18:17:58.472 * -dup-sentinel master mymaster 192.168.244.130 5000 #duplicate of 127.0.0.1:9100 or 5247bf3139536ff889fdeb688943aeba8df7a332
Redis(Sentinel)監控集群安裝部署
Redis-Sentinel
Redis --- Sentinel
----------------------biu~biu~biu~~~在下問答機器人小D,這是我依靠自己的聰明才智給出的答案,如果不正確,你來咬我啊!