Performing a Master/Standby Switchover
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 switchover.
To perform a manual switchover for a Proxy Cluster or Redis Cluster DCS Redis 4.0 or 5.0 instance, go to the Shards and Replicas page of the instance. For details, see Managing Shards and Replicas.
- During a master/standby node switchover, services will be interrupted for up to 10 seconds. Before performing this operation, ensure that your application supports connection re-establishment in case of disconnection.
- 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 of the management console and select a region and a project.
Select the same region as your application service.
- In the navigation pane, choose Cache Manager.
- In the Operation column of the instance, choose More > Master/Standby Switchover.
Last Article: Deleting an Instance
Next Article: Clearing DCS Instance Data
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.