Sun GlassFish Enterprise Server v2.1.1 High Availability Administration Guide

Starting a Node

You might need to manually start an HADB node that was stopped because its host was taken off-line for a hardware or software upgrade or replacement. Also, you might need to manually start a node if it fails to restart for some reason (other than a double failure). For more information on how to recover from double failures, see Clearing a database.

In most cases, you should first attempt to start the node using the normal start level. You must use the repair start level if the normal start level fails or times out.

To start a node in the database, use the hadbm startnode command. The syntax is:

hadbm startnode
 [--adminpassword=password | --adminpasswordfile=file]

The dbname operand specifies the database name. The default is hadb.

The nodeno operand specifies the number of the node to start. Use hadbm status to display the numbers of all nodes in a database.

For more information, see hadbm-startnode(1).

Start level option

The hadbm startnode command has one special option, --startlevel (short form -l), that specifies the level at which to start the node.

Node start levels are:

See General Options for a description of other command options.

Example 3–6 Example of starting a node

hadbm startnode 1