Introduction
A suspended device in an HA pair may be resumed, which will restore it to normal HA opertation. When you resume the active device, then both devices in the HA pair are resumed. When you resume the standby device, only it is resumed. It may take a few minutes to recover, while it syncs to the active device. During this time it may not respond, or return a server error (e.g. HTTP 503 response).
To Resume a Device in an HA Pair:
Step 1
Send an HA resume POST request to the suspended device.
curl -X POST -H "Accept: application/json" -H "Authorization: Bearer ACCESS_TOKEN" https://ftd.example/api/fdm/latest/devices/default/action/ha/resume
{
"nodeRole" : "HA_SECONDARY",
"nodeState" : "HA_DISABLED_NODE",
"peerNodeState" : "HA_UNKNOWN_NODE",
"configStatus" : "UNKNOWN",
"haHealthStatus" : "CRITICAL",
"id" : "default",
"type" : "hastatus",
"links" : {
"self" : "ftd.example/api/fdm/latest/devices/default/action/ha/resume/default"
}
}
Step 2
Send periodic HA status GET requests to the device until it is restored to active or standby state. In the case of the standby device, it may not respond for a few minutes.
curl -H 'Accept: application/json' -H "Authorization: Bearer ACCESS_TOKEN" https://ftd.example/api/fdm/latest/devices/default/operational/ha/status/default
{
"nodeRole" : "HA_SECONDARY",
"nodeState" : "HA_STANDBY_NODE",
"peerNodeState" : "HA_ACTIVE_NODE",
"configStatus" : "IN_SYNC",
"haHealthStatus" : "HEALTHY",
"id" : "default",
"type" : "hastatus",
"links" : {
"self" : "https://ftd.example/api/fdm/latest/devices/default/operational/ha/status/default"
}
}