Changing Failover Priority
Scenarios
GaussDB provides failover priority on availability or reliability. You can change the failover priority of a GaussDB instance on the Basic Information page.
![](https://support.huaweicloud.com/intl/en-us/usermanual-gaussdb/public_sys-resources/note_3.0-en-us.png)
To apply for the permissions needed, submit an application by choosing Service Tickets > Create Service Ticket in the upper right corner of the management console.
Precautions
This function is available only to distributed instances.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select a region and project.
- Click
in the upper left corner of the page and choose .
- Click the name of the target instance to go to the Basic Information page.
- In the DB Information area, click Change in the Failover Priority field.
- In the displayed dialog box, select Reliability or Availability as required.
- Reliability: Data consistency is given priority during a failover. This is recommended for applications with highest priority for data consistency.
- Availability: Database availability is given priority during a failover. This is recommended for applications that require their databases to provide uninterrupted online services.
In availability scenarios, exercise caution when changing the following database parameters:- recovery_time_target: If this parameter is incorrectly changed, the instance will undergo frequent forced failovers. To change this parameter, contact technical support.
- audit_system_object: If this parameter is incorrectly changed, DDL audit logs will be lost. To change this parameter, contact technical support.
- Click OK.
- After you change some parameters, manually reboot the instance for the changes to take effect. For details, see Rebooting a DB Instance.
The failover priority cannot be changed when the DB instance is in the Rebooting state.
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