To restart a Redis Enterprise cluster, the command is different based on whether you have a single-node or a multi-node setup.
Please note that restarting your cluster may cause a brief interruption in service.
For Single Node
In the case of a single node, you can restart it using the
rladmin command-line utility provided by Redis Enterprise. Here are the steps to do so:
This will prompt you for confirmation before restarting your server.
Be aware that the
cluster reset command will stop all databases and the cluster processes which means all data will be lost unless you have persistence enabled.
For Multiple Nodes
With a multi-node setup, you should ideally restart each node one at a time to minimize service disruption. To restart an individual node:
restart_service command like so:
In this command, replace
<id> with the ID of the node you wish to restart.
Before running these commands, make sure you understand their implications. Always ensure your data is securely backed up before performing any maintenance tasks that could potentially disrupt service.