backup_cm_list_candidates

Use this command, on a central manager only, to identify the possible backup, or secondary, central managers from among the registered units in the environment.

This API is available in Guardium V11.2 and later.

REST API syntax

This API is available as a REST service with the GET method. Call this API as follows:
GET https://[Guardium hostname or IP address]:8443/restAPI/backup_cm_list_candidates

GuardAPI syntax

backup_cm_list_candidates

This API takes no parameters.

GrdAPI example

To list IPs of potential secondary central managers, enter:

grdapi backup_cm_list_candidates
Format of output:
<ip> (<hostname>)
<ip> (<hostname>)
<ip> 

REST API example

To list IPs of potential secondary central managers, enter:

curl \
-k --header "Authorization:Bearer d51c41d0-a6b1-4aa3-90bc-5232a44e8b0d" \
--include --header "Content-Type: application/json" \
-X GET https://localhost:8443/restAPI/backup_cm_list_candidates
Format of output:
<ip> (<hostname>)
<ip> (<hostname>)
<ip>