Nonstop Database, HiRDB Version 9 System Operation Guide

[Contents][Index][Back][Next]

1.5 Startup and termination of a server (applicable to HiRDB parallel server configurations only)

Executor: HiRDB administrator

When a server in a HiRDB parallel server configuration 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

To start HiRDB at a server, use the command shown in the following table.

Table 1-7 Startup procedure for a server

Startup mode Execution command Description of the startup mode Previous termination mode
Normal startup pdstart -s This 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.
However, the following types of information are inherited:
  • Status of replica RDAREAs
  • Error shutdown status of RDAREAs
Normal termination

(2) Server termination procedure

To terminate HiRDB at a server, use the command shown in the following table.

Table 1-8 Termination procedure for a server

Termination mode Input command Description of the termination mode
Normal termination pdstop -s This 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