How do I restart a Redis Enterprise Cluster node?

Last updated 18, Apr 2024

Question

How do I restart a Redis Enterprise Cluster node?

Answer

The node to be restarted should not hold any resources such as shards or an endpoint. It should not be a master node either, so it is recommended to move the master node manually to a different node using the rladmin cluster master command before rebooting the node.

Use rladmin migrate command to relocate shards and the endpoint that are on this node. At this point, it is safe to restart the node. After the node is back, no further actions are required. The node will sync up automatically and will be a part of the cluster in a few seconds. Run:

rladmin status extra all

and make sure everything is in OK status.