Hi All,
I'm new to Redis, I'm trying configure Redis environment for high-availablity as below,
Machine 1 : Redis Master & a Sentinel (monitoring Redis master)
Machine 2 : Redis Slave & a Sentinel (monitoring Redis master)
Machine 3 : Redis Slave & a Sentinel (monitoring Redis master)
From application client (StackExchange.Redis), I'm able to connect Redis Master with below config
<redisCacheClient allowAdmin="true" ssl="false" connectTimeout="5000" database="0">
<hosts>
<add host="<Machine 1_IP>" cachePort="6379" />
</hosts>
Now, When my Machine 1 goes down, Sentinels switches the master to either Machine 2 or Machine 3.
1. How will my Application client know that Redis master has been switched?
2. Should I provide all Redis-server IP in Application client's app.config section?
Please advise.
Thanks.