High Availability Guide : Getting started with HotStandby : HotStandby with HAC quick start procedure : Starting and stopping HA Controller
  
Starting and stopping HA Controller
Before you can start HAC, you must have a solidhac.ini configuration file in the HAC working directory. See HotStandby with HAC quick start procedure for a short description of configuring HAC. For more information about configuring HAC, see Configuring HA Controller and HA Manager. For a list of parameters and detailed parameter descriptions, see High Availability Controller (HAC) parameters and The solidhac.ini configuration file.
Note Depending on the platform you are using, the HAC binary is named either solidhac, or solidhac.exe. In the examples, solidhac.exe is used for clarity. Similarly, the name of the sample solidDB® start script is either start_solid.sh, or start_solid.bat. In the examples, start_solid.bat is used.
Starting HAC
The syntax for starting HAC is:
solidhac.exe [-c working_directory | -?]
The ? argument, or any other argument except -c prints the usage message.
When HAC starts, it starts to listen to the port specified HAController.Listen parameter in the solidhac.ini configuration file. That port is used, for example, for transporting commands between HAC and the HAManager, and for issuing HAC-specific ADMIN COMMANDs.
Stopping HAC
To issue the command, you must first connect to HAC by specifying the port that is defined with the HAController.Listen parameter in the solidhac.ini configuration file. For example, you can use solsql or the ODBC interface to connect to HAC.
You can stop (terminate) HAC by executing the following command:
ADMIN COMMAND 'hacontroller shutdown'
Example: Starting HAC
If solidhac.exe is located in c:\solid\hac, which is also the current directory, and you use c:\solid\run\server1 as the working directory for HAC, you start HA Controller with the following command:
solidhac.exe -c c:\solid\run\server1
or
solidhac.exe -c ..\run\server1
Related reference
High Availability Controller commands (ADMIN COMMAND)