1.5 Startup and termination of a server (applicable to HiRDB/Parallel Server only)

Executor: HiRDB administrator

When a HiRDB/Parallel Server is being used, each server can be started and terminated independently. This section explains the server startup and termination procedures, which are applicable to the following types of servers:

Organization of this section
(1) Server startup procedure
(2) Server termination procedure
(3) Server startup and termination procedures

(1) Server startup procedure

HiRDB can be started at a server with the command shown in Table 1-7.

Table 1-7 Startup procedure for a server

Startup modeExecution commandDescription of the startup modePrevious termination mode
Normal startuppdstart -sThis startup mode is used to restart a server after it terminated normally during HiRDB operation. Information that was in effect during the previous session is not inherited.Normal termination

(2) Server termination procedure

HiRDB can be terminated at a server with the command shown in Table 1-8.

Table 1-8 Termination procedure for a server

Termination modeInput commandDescription of the termination mode
Normal terminationpdstop -sThis mode prohibits acceptance of any new transactions and terminates the server after all current transaction processing has been completed.

(3) Server startup and termination procedures

To start and terminate a server:
  1. Enter the pdstart command to start and run HiRDB:
    pdstart
  2. Because an error occurred in a server, enter the pdstop -s command to terminate the server normally (if the server did not terminate abnormally):
    pdstop -s server-name
  3. After the error has been corrected, enter the pdstart -s command to restart the server:
    pdstart -s server-name