Disaster Recovery Demote Active
Demotes the current VCO from active to zombie. No input parameters are required. The active server is expected to be in the drState FAILURE_GET_STANDBY_STATUS or FAILURE_MYSQL_ACTIVE_STATUS, meaning that DR protection had been engaged (with the last successful replication status observed at lastDRProtectedTime) but that active failed a health check since that time. If the active server is in the drState STANDBY_RUNNING, meaning that it has detected no problems in interacting with the standby server, the operator can force demotion of the active using the optional force parameter passed with value of true; in this case, the operator must ensure that the standby server has already been successfully promoted.
Privileges required:
CREATE REPLICATION
{
"force": false
}
force
Request was successfully processed
{
"rows": 1
}
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/portal/rest/disasterRecovery/demoteActive