When Does a Master/Standby Switchover Occur?
A master/standby switchover may occur in the following scenarios:
- A master/standby switchover operation is initiated on the DCS Console.
- A master/standby switchover will be triggered when the master node of a master/standby instance fails.
For example, if commands (such as KEYS) that consume a lot of resources are used or logs are aged and deleted in batches, the CPU usage will surge, triggering a master/standby switchover.
- If you restart a master/standby instance on the DCS console, a master/standby switchover will be triggered.
- A master/standby switchover may be triggered during Redis instance scale-out.
During scale-up, a new standby node with the new specifications is created. After full and incremental data on the master node is synchronized to the standby node, a master/standby switchover is performed and the original node is deleted.
To monitor master/standby switchovers, create event monitoring on Cloud Eye. For details, see Creating an Alarm Rule to Monitor an Event. The system reports master/standby switchovers based on event alarm rules. Check whether the client services are abnormal if needed. If the services are abnormal, check whether the client connections are normal, and whether client connections can be retried after master/standby switchovers. Restart the client if the connections cannot be retried.
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