10.2.1 Starting the HADB server
To start the HADB server, execute the adbstart command. The HADB server starts.
Enter the command as follows:
adbstart
- Important
-
Multiple operation modes are available for the HADB server. For details about the HADB server operation modes, see 10.2.3 HADB server operation modes.
By specifying an option when you execute the adbstart command, you can change the operation mode after the HADB server has started. If no option is specified, the HADB server inherits the operation mode that was in effect when the HADB server terminated previously. For details about how to specify options for the adbstart command, see adbstart (Start the HADB Server) in the manual HADB Command Reference.
After you have started the HADB server, set it up to restart automatically as needed. For details, see 10.2.4 Setting up the HADB server to restart automatically.
- Organization of this subsection
(1) HADB server startup modes
The HADB server can be started in either of the modes described below. How it operates differs depending on the startup mode.
No. |
Startup mode |
Command to be executed |
Explanation |
Previous termination mode |
---|---|---|---|---|
1 |
Normal start |
adbstart |
This is the normal startup mode. In a normal start, database recovery processing does not take place. |
Normal termination |
2 |
Restart |
If the previous termination mode was either of the two shown to the right, the HADB server is automatically restarted. During the restart, system logs are used to perform database recovery processing. |
|
(2) Checking whether the startup process has been completed
To check whether the HADB server has completed startup, check the return code of the adbstart command.
-
If the return code is 0
Startup processing ended normally. The HADB server can now accept database access requests from applications.
-
If the return code is 4
Although startup processing has ended, a warning message was output.
The HADB server has started. Check the displayed message or the message output to the message log file, and take the necessary action.
-
If the return code is 8
An error occurred during HADB server startup processing and startup processing ended abnormally. Check the displayed message or the message output to the message log file, and take the necessary action.