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 [-cworking_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: