Hitachi

Hitachi Advanced Database Command Reference


36.2.1 Explanation of the specification format and options

Organization of this subsection

(1) Specification format

adbmonitor [-r] [-n]

(2) Explanation of options

-r

Specifies that the monitored HADB server is to be restarted automatically if it terminates abnormally. After the HADB server has been restarted automatically, this command will continue to monitor it.

When the HADB server is restarted, a troubleshooting-information file (light version) is output under the server directory's spool directory. Delete this troubleshooting-information file (light version) on a regular basis. Otherwise, the disk that stores the server directory might run out of space.

If this option is omitted and the monitored HADB server terminates abnormally, this command will terminate abnormally (with return code 8).

-n

Specifies that monitoring of the target HADB server is to be continued without terminating this command if the HADB server terminates normally. If the monitored HADB server is restarted successfully after it has terminated normally, this command will start monitoring the HADB server again.

If this option is omitted and the monitored HADB server terminates normally, this command will terminate normally (with return code 0).

The following table shows the relationship between the HADB server's status and each option of the adbmonitor command.

Table 36‒1: Relationship between HADB server's status and each option of the adbmonitor command

No.

HADB server status

Options

No options specified

-r option only is specified

-n option only is specified

-r and -n options are both specified

1

ACTIVE

Monitoring continues.

Monitoring continues.

Monitoring continues.

Monitoring continues.

2

STOP

adbmonitor command terminates normally.

adbmonitor command terminates normally.

Monitoring continues.

Monitoring continues.

3

STARTING

Monitoring continues.

Monitoring continues.

Monitoring continues.

Monitoring continues.

4

STOPPING

5

ABORT

adbmonitor command terminates abnormally.

HADB server is restarted automatically and monitoring continues. A troubleshooting-information file (light version) is output.

adbmonitor command terminates abnormally.

HADB server is restarted automatically and monitoring continues. A troubleshooting-information file (light version) is output.

6

QUIESCE

Monitoring continues.

Monitoring continues.

Monitoring continues.

Monitoring continues.

7

OFFLINE

8

MAINTNCE

9

CHGMODE

10

STOPWAIT

11

COREDUMP

12

FORCE

adbmonitor command terminates abnormally.

adbmonitor command terminates abnormally.

adbmonitor command terminates abnormally.

adbmonitor command terminates abnormally.