Używam usługi rozruchu sprężynowego za pomocą danych sprężynowych redis i tutaj jest następująca konfiguracja.Zgubienie komunikatu o błędzie Sentinel dla Redis
Usługa wydaje się działać, ale widzę w dziennikach strumień wiadomości Lost Sentinel. Węzły wskaźnikowe są dostępne z maszyny wirtualnej, w której uruchomiłem usługę. Udało mi się telnetować do nich bezpośrednio z tej maszyny wirtualnej. Jakiś pomysł dlaczego tak się dzieje?
spring:
profiles:
active: core-perf,swagger
default: core-perf,swagger
redis:
Pool: #Pool properties
# Max number of "idle" connections in the pool. Use a negative value to indicate
# an unlimited number of idle connections.
maxIdle: 8
# Target for the minimum number of idle connections to maintain in the pool.
# This setting only has an effect if it is positive.
minIdle: 0
# Max number of connections that can be allocated by the pool at a given time. Use a negative value for no limit.
maxActive: 8
# Maximum amount of time (in milliseconds) a connection allocation should block
# before throwing an exception when the pool is exhausted. Use a negative value
# to block indefinitely.
maxWait: -1
sentinel: #Redis sentinel properties.
master: mymaster
nodes: 10.202.56.209:26379, 10.202.56.213:26379, 10.202.58.80:26379
2015-06-15 17: 30: 54,896 Błąd 6677 --- [wątku-9] redis.clients.jedis.JedisSentinelPool: Utrata połączenia wskaźnikowych w 10.202.58.80:26379. Spanie 5000ms i ponawianie próby. 2015-06-15 17: 30: 59.894 BŁĄD 6677 --- [Wątek-8] redis.clients.jedis.JedisSentinelPool: Utracono połączenie z Sentinel o 10.202.56.213:26379. Spanie 5000ms i ponawianie próby. 2015-06-15 17: 30: 59.897 BŁĄD 6677 --- [Wątek 9] redis.clients.jedis.JedisSentinelPool: Utracono połączenie z Sentinel o 10.202.58.80:26379. Spanie 5000ms i ponawianie próby. 2015-06-15 17: 31: 04.975 BŁĄD 6677 --- [Wątek 9] redis.clients.jedis.JedisSentinelPool: Utracono połączenie z systemem Sentinel o 10.202.58.80:26379. Spanie 5000ms i ponawianie próby. 2015-06-15 17: 31: 04.976 BŁĄD 6677 --- [Wątek-8] redis.clients.jedis.JedisSentinelPool: Utracono połączenie z Sentinelem o 10.202.56.213:26379. Spanie 5000ms i ponawianie próby. 2015-06-15 17: 31: 09.976 BŁĄD 6677 --- [Wątek 9] redis.clients.jedis.JedisSentinelPool: Utracono połączenie z systemem Sentinel o 10.202.58.80:26379. Spanie 5000ms i ponawianie próby. 2015-06-15 17: 31: 09.976 BŁĄD 6677 --- [Wątek-8] redis.clients.jedis.JedisSentinelPool: Utracono połączenie z Sentinel o 10.202.56.213:26379. Spanie 5000ms i ponawianie próby. 2015-06-15 17: 31: 15.054 BŁĄD 6677 --- [Wątek-8] redis.clients.jedis.JedisSentinelPool: Utracono połączenie z Sentinelem o 10.202.56.213:26379. Spanie 5000ms i ponawianie próby. 2015-06-15 17: 31: 15.055 BŁĄD 6677 --- [Wątek 9] redis.clients.jedis.JedisSentinelPool: Utracono połączenie z Sentinel o 10.202.58.80:26379. Spanie 5000ms i ponawianie próby. 2015-06-15 17: 31: 20.055 BŁĄD 6677 --- [Wątek-8] redis.clients.jedis.JedisSentinelPool: Utracone połączenie z Sentinelem o 10.202.56.213:26379. Spanie 5000ms i ponawianie próby.