Disaster Recovery Get Replication Status

Disaster Recovery Get Replication Status

Gets the disaster recovery replication status, optionally with client contact, state transition history, and storage information. No input parameters are required. Can optionally specify one or more of the following with parameters: clientContact, clientCount, stateHistory, and storageInfo.

Privileges required:

READ REPLICATION

Request
URI
POST
https://{api_host}/portal/rest/disasterRecovery/getReplicationStatus
COPY
Request Body
{
    "with": [
        "string"
    ]
}
array of string
with
Optional

with

Possible values are : clientContact, stateHistory, clientCount, storageInfo,
Responses
200

Request was successfully processed

Returns disaster_recovery_get_replication_status_result of type(s) application/json
{
    "activeAddress": "string",
    "activeReplicationAddress": "string",
    "clientContact": [
        {
            "activeAddress": "string",
            "activeLastResponseTime": "string",
            "clientLogicalId": "string",
            "clientType": "string",
            "id": 0,
            "modified": "string",
            "standbyAddress": "string",
            "standbyLastResponseTime": "string"
        }
    ],
    "clientCount": {
        "edgeCount": 0,
        "gatewayCount": 0,
        "currentActiveEdgeCount": 0,
        "currentStandbyEdgeCount": 0,
        "currentActiveGatewayCount": 0,
        "currentStandbyGatewayCount": 0
    },
    "drState": "string",
    "drVCOUser": "string",
    "failureDescription": "string",
    "lastDrProtectedTime": "string",
    "role": "string",
    "roleTimestamp": "string",
    "standbyList": [
        {
            "standbyAddress": "string",
            "standbyReplicationAddress": "string",
            "standbyUuid": "string"
        }
    ],
    "stateHistory": [
        {
            "from": "string",
            "to": "string",
            "timestamp": "string"
        }
    ],
    "stateTimestamp": "string",
    "vcoIp": "string",
    "vcoReplicationIp": "string",
    "vcoUuid": "string"
}
string
activeAddress
Required

activeAddress

string
activeReplicationAddress
Optional

activeReplicationAddress

array of object
clientContact
Optional

clientContact

object
clientCount
Optional

clientCount

string
drState
Required

drState

Possible values are : UNCONFIGURED, ACTIVE_CONFIGURING, ACTIVE_CONFIGURED, ACTIVE_UNCONFIG, LAUNCHING_STANDBY, LAUNCHED_STANDBY, ACTIVE_WAIT_STANDBY, PENDING_STANDBY_CANDIDATE, STANDBY_CANDIDATE, STANDBY_CONFIG_RQST, STANDBY_CONFIGURING, STANDBY_CONFIGURED, PENDING_STANDBY_UNCONFIG, STANDBY_UNCONFIG, PENDING_STANDBY_PROMOTION, STANDBY_PROMOTED, PENDING_ACTIVE_DEMOTION, COPYING_DB, COPY_DB_DONE, COPYING_FILES, COPY_FILES_DONE, SYNC_CONFIGURING, STANDBY_SYNC, STANDBY_BACKGROUND_IMPORT, STANDBY_BACKGROUND_IMPORT_DONE, STANDBY_DATA_MIGRATION, STANDBY_DATA_MIGRATION_DONE, STANDBY_DATA_MIGRATION_IN_PROGRESS, STANDBY_RUNNING, UPGRADING, FAILURE_ACTIVE_CONFIGURING, FAILURE_LAUNCHING_STANDBY, FAILURE_STANDBY_CONFIGURING, FAILURE_GET_STANDBY_CONFIG, FAILURE_COPYING_DB, FAILURE_COPYING_FILES, FAILURE_SYNC_CONFIGURING, FAILURE_BACKGROUND_IMPORT, FAILURE_DATA_MIGRATION, FAILURE_SYNCING_FILES, FAILURE_GET_STANDBY_STATUS, FAILURE_GET_ACTIVE_STATUS, FAILURE_MYSQL_ACTIVE_STATUS, FAILURE_MYSQL_STANDBY_STATUS, FAILURE_STANDBY_CANDIDATE, FAILURE_STANDBY_UNCONFIG, FAILURE_STANDBY_PROMOTION, FAILURE_ACTIVE_DEMOTION,
string
drVCOUser
Required

drVCOUser

string
failureDescription
Required

failureDescription

string As date-time As date-time
lastDrProtectedTime
Optional

lastDrProtectedTime

string
role
Required

role

Possible values are : STANDALONE, ACTIVE, STANDBY, ZOMBIE,
string As date-time As date-time
roleTimestamp
Required

roleTimestamp

array of object
standbyList
Required

standbyList

array of object
stateHistory
Optional

stateHistory

string As date-time As date-time
stateTimestamp
Optional

stateTimestamp

string
vcoIp
Required

vcoIp

string
vcoReplicationIp
Optional

vcoReplicationIp

string
vcoUuid
Required

vcoUuid


400
Returns generic_400 of type(s) application/json
Operation doesn't return any data structure

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/portal/rest/disasterRecovery/getReplicationStatus