Performing a Primary/Standby Switchover
Scenarios
GeminiDB Redis instances provide an automatic HA mechanism. Generally, you do not need to manually perform a primary/standby switchover. You can use this feature to perform DR drills and test client processing capabilities in HA scenarios. You can also perform a primary/standby switchover as needed to meet service requirements.
Prerequisites
Currently, this operation can be performed only on primary/standby GeminiDB Redis instances that are in the Available state.
Precautions
- When you perform a primary/standby switchover, the instance IP addresses remain unchanged, so there is no need to update the service connection address.
- During a primary/standby switchover, the connection is disconnected for less than 10 seconds, which can cause slow latency or command execution failures. To address this issue, you need to have a command retry or connection retry mechanism on the client. Perform primary/standby switchovers during off-peak hours.
Procedure
- Log in to the GeminiDB console.
- In the service list, choose Databases > GeminiDB Redis API.
- On the Instances page, click the target instance.
- In the Node Information area on the Basic Information page, click Primary/Standby Switchover.
Figure 1 Performing a primary/standby switchover.
- In the displayed dialog box, click OK.
Figure 2 Performing a primary/standby switchover.
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