How can I take a Redis Enterprise node offline safely for patching/upgrade?

Last updated 18, Apr 2024

Question

How can I take a Redis Enterprise node offline safely for patching/upgrade?

Answer

The node can be taken offline by using the maintenance mode. This is the recommended approach because this mode performs a series of checks to ensure the node can be restarted safely without causing any disruption. Refer to the documentation to learn how to set the maintenance_mode flag using the rladmin tool from the command line.

There is also an API that can be used along with the CLI. Here is the summary of the available API commands for maintenance mode. Refer to the maintenance mode REST API.