主机: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