How do I find out if a Redis Enteprise shard has failed over?

Last updated 22, Mar 2024

Question

How do I find out if a Redis Enteprise shard has failed over?

Answer

Check the log cluster_wd.log and search for patterns like the following:

2021-10-05 15:20:30,554 WARNING cluster_wd ClusterState: Node 3 (xxx.xxx.xxx.xxx) just died2021-10-05 15:20:34,486 INFO cluster_wd ClusterState: Node 3 (xxx.xxx.xxx.xxx) became alive

Cross this info with the syslog system log in order to understand if the node was down at all. If not, this is an indication of networking issues. Check also the the log cnm_exec.log for something like:

2021-10-05 15:20:33,441 INFO sm_event_logger MainThread: === [bdb:29] STATEMACHINE [SMRedisFailover] STARTED ===2021-10-05 15:20:33,527 INFO sm_event_logger MainThread: === [bdb:15] STATEMACHINE [SMRedisFailover] STARTED ===