Performing a Master/Standby Switchover for a DCS Instance
On the DCS console, you can manually switch the master and standby nodes of a DCS instance. This operation is used for special purposes, for example, releasing all service connections or terminating ongoing service operations.
Only master/standby instances support a master/standby node switchover.
For DCS Redis 4.0 and later cluster instances, if you need to manually switch master/standby nodes on a shard, go to the Shards and Replicas page of the instance. For details, see Managing Shards and Replicas.
- Services may be interrupted for up to 10 seconds during the switchover. Before performing a switchover, ensure that your application supports reconnection.
- During a master/standby node switchover, a large amount of resources will be consumed for data synchronization between the master and standby nodes. You are advised to perform this operation during off-peak hours.
- Data of the maser and standby nodes is synchronized asynchronously. Therefore, a small amount of data that is being operated on during the switchover may be lost.
Prerequisites
The DCS instance for which you want to perform a master/standby node switchover is in the Running state.
Procedure
- Log in to the DCS console.
- Click in the upper left corner and select a region and a project.
- In the navigation pane, choose Cache Manager.
- In the Operation column of the instance, choose More > Master/Standby Switchover, then click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot