Disaster Recovery Configure Active For Replication
Configures the current Orchestrator to be active and the specified Orchestrator to be standby for Orchestrator disaster recovery replication. Required attributes: 1) standbyList
, a single-entry array containing the standbyAddress
and standbyUuid
, 2) drVCOUser
, a Orchestrator super user available on both the active and standby VCOs, and 3) drVCOPassword
, the password of drVCOUser
on the standby Orchestrator (unless the autoConfigStandby
option is specified as false
). The call sets up the active Orchestrator to allow replication from the standby and then (unless autoConfigStandby
is false
) makes a transitionToStandby
API call to the specified standby, expected to have been previously placed in STANDBY_CANDIDATE
state via prepareForStandby
. After this call, the active and standby VCOs should be polled via getReplicationStatus
until they both reach STANDBY_RUNNING
drState
(or a configuration error is reported). (Note: drVCOPassword
is not persisted.)
Privileges required:
CREATE
REPLICATION
Show optional properties
{
"standbyList": [
{
"standbyAddress": "string",
"standbyUuid": "string"
}
],
"drVCOUser": "string",
"drVCOPassword": "string"
}
{
"standbyList": [
{
"standbyAddress": "string",
"standbyReplicationAddress": "string",
"standbyUuid": "string"
}
],
"autoConfigStandby": false,
"drVCOUser": "string",
"drVCOPassword": "string"
}
standbyList
autoConfigStandby
drVCOUser
drVCOPassword
Request was successfully processed
{
"rows": 1
}
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"standbyList":["object"],"drVCOUser:"string","drVCOPassword:"string"}' https://{api_host}/portal/rest/disasterRecovery/configureActiveForReplication