Switching between the primary and standby databases of an RDS instance

Last Updated: May 27, 2016

Description

RDS primary instances are composed of primary and standby databases distributed across different servers. You can use the API to switch between the primary and standby databases, and new primary databases will bear the service traffic.

Request parameters

Name Type Required? Description
Action String Yes Required parameter. Value: SwitchDBInstanceHA
DBInstanceId String Yes Instance ID
NodeId String Yes Unique ID of a node. You can view the value of this parameter through the [DescribeDBInstanceHAConfig] ({{doc/[5]Open API/[1]实例管理/[17]查询RDS可用区信息和数据复制状态.md}}) interface.
Force String Yes Yes: forced; No: unforced; default value: unforced

Return parameters

Name Type Description
<Public Return Parameters> - For details, refer to the Appendix.
Thank you! We've received your feedback.