This procedure describes how to send simple requests to the High Availability Server using the ctl utility.
To send requests to the High Availability Server using the ctl utility:
ctl -U <em dbo User> -P <em dbo Pass> -C Config_HA
{-M <Computer_Name> | -all}
{-reg |-cmd stop | -cmd life_check | -cmd shutdown} | -cmdstr "<commandString>"}]
[-timeout <<response Timeout> (seconds)>] [-diagon]
NOTE: You can use a password file name <-pf> instead of using -U and -P.
For more information, see Parameters common to all ctl commands.
Parent Topic |
The following table describes the ctl parameters specific to High Availability Server.
Parameter |
Description |
|
---|---|---|
-C Config_HA |
Configuration High Availability Server to which the command is directed. |
|
-M |
Specifies a computer name. This name is used to identify the computer to which the Configuration Agent belongs. -M cannot be used with -all. |
|
-all |
Directs a query or command to all Configuration Agents. |
|
-cmd |
Indicates a command to be performed by the High Availability Server. -cmd cannot be used with -reg. |
|
shutdown |
Stops the High Availability Server, and all components that the High Availability Server administers, without changing their configurations. This command cannot be specified with other commands in the same run of the ctl utility. |
|
-cmdstr |
Specifies a text string to be sent to the High Availability Server. If the text string contains spaces or tabs, it must be enclosed with double quotation marks (" "). NOTE: -cmdstr cannot be used with -reg or -cmd. For more information about the ‑cmdstr parameter, System configuration. |