Starting a Node
If no node is running in the database, use hadbm clear
to start the nodes even if you are running with inetd
. See "Clearing the HADB".
You may want to start a node in the following circumstances:
- If you have stopped a node, for example for hardware or software replacement. See "Stopping a Node".
- If a node has stopped due to a hardware failure, after the hardware has been mended.
- If a node has stopped due to a software failure and the node was unable to recover automatically.
In most cases, you should first attempt to start the node using the normal
start level. You must use the repair
start level if starting a node using the normal
start level fails or times out.
To start a node in the database, use the hadbm startnode
command. The syntax is as follows:
hadbm startnode [--startlevel=level] nodeno [dbname]
For example:
hadbm startnode 1
The hadbm startnode
command options are listed in the following table.
Table 0-10 hadbm startnode
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 . Starting a node at the repair level forces an active node to repair data from its mirror node.
|
-- level clear
|
|
|
This option enables reinitialization of data on a crashed or replaced disk.
|
-- set
|
|
|
|
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