[root@localhost redis]# /usr/local/redis/bin/redis-sentinel /usr/local/redis/sentinel.conf 7984:X 24 Jun 202415:59:36.245 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo7984:X 24 Jun 202415:59:36.245 # Redis version=7.0.10, bits=64, commit=00000000, modified=0, pid=7984, just started7984:X 24 Jun 202415:59:36.245 # Configuration loaded7984:X 24 Jun 202415:59:36.245 * Increased maximum number of open files to 10032(it was originally set to 1024).
7984:X 24 Jun 202415:59:36.245 * monotonic clock: POSIX clock_gettime_._ _.-``__ ''-._ _.-```.`_. ''-._ Redis 7.0.10 (00000000/0)64 bit.-`` .-```.```\/ _.,_ ''-._ ( ' , .-`|`, ) Running in sentinel mode|`-._`-...-` __...-.``-._|'` _.-'| Port: 26379| `-._ `._ / _.-'| PID: 7984`-._ `-._ `-./ _.-' _.-'|`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | https://redis.io `-._ `-._`-.__.-'_.-' _.-'|`-._`-._ `-.__.-' _.-'_.-'||`-._`-._ _.-'_.-'|`-._ `-._`-.__.-'_.-' _.-' `-._ `-.__.-' _.-' `-._ _.-' `-.__.-' 7984:X 24 Jun 202415:59:36.246 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.7984:X 24 Jun 202415:59:36.264 * Sentinel new configuration saved on disk
7984:X 24 Jun 202415:59:36.264 # Sentinel ID is 5d1670addf29afbffc1cf278f58a91b672f6b96c7984:X 24 Jun 202415:59:36.264 # +monitor master mymaster 192.168.74.148 6379 quorum 17984:X 24 Jun 202415:59:36.265 * +slave slave 192.168.74.148:6380 192.168.74.148 6380 @ mymaster 192.168.74.148 63797984:X 24 Jun 202415:59:36.267 * Sentinel new configuration saved on disk
7984:X 24 Jun 202415:59:36.267 * +slave slave 192.168.74.148:6381 192.168.74.148 6381 @ mymaster 192.168.74.148 63797984:X 24 Jun 202415:59:36.271 * Sentinel new configuration saved on disk