High availability commands
Use high availability commands to monitor the status of all Management servers in your IBM® API Connect cloud.
Command name | Action | Syntax |
---|---|---|
ha list |
Display the network, database, and runtime status for each management server in your IBM API Connect cloud. The following information is displayed for each server:
|
ha list |
ha list [timeout] [json] |
Optional flags to define the maximum length of time you will wait for a server to respond before there is a timeout, and to convert your output into JSON. |
ha list [timeout] [json] |
ha make primary [host <host>] [force] | Converts given server into Primary. Defaults to the local server. Note: If
cloud's current Primary is unavailable, this may result in data loss.
|
ha make primary [host <host>] [force] |
ha set host <host> <enabled|disabled> | Configures server in cloud to allow/disallow it to become Primary or Active Arbitrator (AA). | ha set host <host> <enabled|disabled> |
ha set default <enabled|disabled> | The high availability setting to use for new servers added to this cloud. | ha set default <enabled|disabled> |
ha show <default|host <host>> | Output the current high availability setting of the cloud or given server. | ha show <default|host <host>> |
Example output
Self IP HA Network Role Runtime FQDN
Yes 1.2.3.4 Yes Up RSS/AA Up myserver1.com
No 1.2.3.5 Yes Up Primary Up myserver2.com
No 1.2.3.6 No Up RSS Up myserver3.com