Hitachi

Hitachi Advanced Database Setup and Operation Guide


10.2.4 Setting up the HADB server to restart automatically

When the HADB server terminates abnormally, it does not normally restart automatically. However, if the adbmonitor command has been executed, the HADB server restarts automatically after terminating abnormally.

The procedure for setting the HADB server to restart automatically is described below.

Note that you can set the HADB server to restart automatically only if the multi-node function is not being used.

Procedure

  1. Start the HADB server.

    Execute the adbstart command.

  2. Set the HADB server to restart automatically.

    Execute the adbmonitor -r command.

When you execute the adbmonitor -r command, the adbmonitor command monitors the status of the HADB server. Then, if the HADB server terminates abnormally, it restarts from the command process of the adbmonitor command.

Important

Depending on the cause of abnormal termination of the HADB server, it might not be able to restart automatically (it might terminate abnormally due to the same cause). In this case, use Ctrl+C, for example, to forcibly terminate the command process of the adbmonitor command.

You can check whether the HADB server terminated abnormally based on whether the message KFAA60003-E was output to the message log file. Even if the HADB server terminated abnormally and then restarted normally via the automatic restart process, use the adbinfoget command to collect troubleshooting information. Then contact the customer support center.

If you terminate the HADB server normally by executing the adbstop command, the command process of the adbmonitor command, which was monitoring the HADB server, also terminates. Therefore, the next time you start the HADB server, execute the adbmonitor -r command after you have started the server if you want to set up automatic restart.