High Availability Guide : HotStandby and HAC ADMIN COMMANDs
  
HotStandby and HAC ADMIN COMMANDs
This section describes the ADMIN COMMANDs available with HotStandby.
Depending on the tool you are using, the ADMIN COMMAND syntax differs:
solidDB® SQL Editor (solsql)
When used with solsql, the command name must be given with single quotation marks. For example:
ADMIN COMMAND 'hotstandby switch primary'; ADMIN COMMAND 'hacontroller shutdown';
solidDB® Remote Control (solcon)
When used with solcon, the command name must be given without the ADMIN COMMAND prefix and quotation marks. For example:
hotstandby switch primary hacontroller shutdown
Tip: You can abbreviate 'hotstandby' to 'hsb' and 'hacontroller' to 'hac'. For example:
ADMIN COMMAND hsb switch primary
ADMIN COMMAND hac shutdown
In the syntax descriptions, the shortest possible form is used; the ADMIN COMMAND and the quotation marks are omitted, and the abbreviations 'hsb' and 'hac' are used.
Note ADMIN COMMANDs always return a success return code (0) if there is no syntax error in the command. The actual result code of the command is included in the “RC” field of the result set.
For more information about the ADMIN COMMAND, see section ADMIN COMMAND in the solidDB® SQL Guide.
See also
HotStandby commands (ADMIN COMMAND)
High Availability Controller commands (ADMIN COMMAND)