Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

User will need an admin or operator access for this API, Unauthorized users will get "401 Unauthorized"

Change a standby DPOD installation to active mode:
Change the DPOD standby installation to active, this will change DPOD's log targets and host aliases on all monitored devices to point at the standby machine

Note
This API may take several minutes to complete


POST /op/api/v1/dr/standbyToActive

{
"resultCode": "SUCCESS",
"resultErrorCode": "SUCCESS",
"resultMessage": "Success"
}


ERROR (all devices that are not mentioned in the error message were setup successfully):

{
"resultCode": "ERROR",
"resultErrorCode": "ERROR_FROM_SETUP_SYSLOGS",
"resultMessage": " -- could not connect to device, deviceName=XG45-QA-101 deviceHost=192.168.72.50"
}


Change a standby DPOD installation back to inactive mode:

POST /op/api/v1/dr/standbyToInactive

{
"resultCode": "SUCCESS",
"resultErrorCode": "SUCCESS",
"resultMessage": "Success"
}

ERROR:

{
"resultCode": "ERROR",
"resultErrorCode": "ALREADY_IN_STANDBY_MODE",
"resultMessage": "DPOD is already in standby mode"
}