Restarting a Node

You may want to restart a node if you notice strange behavior in a node (for example excessive CPU consumption) and want to check whether a restart cures the problem.


Caution

Do not stop a node if its mirror node is not running, because this may force the database into a Non Operational state. For details about node status, see "Getting the Status of the HADB".


To restart a node in the database, use the hadbm restartnode command. The syntax is as follows:

hadbm restartnode [--startlevel=level] nodeno [dbname]

For example:

hadbm restartnode 1

The hadbm restartnode command options are listed in the following table.

Table 0-12  hadbm restartnode Options 

Long Form

Short Form

Default

Description

--startlevel

-l

normal

Specifies the level at which you want to start the node. Valid levels are normal and repair. Using the normal start level when restarting a node is generally recommended. Starting a node at the repair level forces an active node to repair data from its mirror node.

nodeno

none

none

Specifies the node you want to start. You can use the hadbm status command to display the numbers of all nodes in a database.

dbname

none

hadb

Specifies the database name.


Legal Notices