Sun Java System Application Server Enterprise Edition 8.1 2005Q2 High Availability Administration Guide

- Previous: Managing Domains
- Next: Stopping a Node

### 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]
     [--agent=maurl]
     [--startlevel=level]
     nodeno
     [dbname]

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:

- normal (default): starts the node with the data found locally on the node (in the memory and in the data device file on the disk) and synchronizes it with the mirror for recent updates it missed.

- repair: forces the node to discard local data and copy it from its mirror.

- clear: reinitializes the devices for the node and forces a repair of data from its mirror node. Use when the device files need to be initialized, necessary if they are damaged or the disk that contained the device files is replaced.

See General Options for a description of other command options.

##### Example 3–6 Example of starting a node

    hadbm startnode 1

- Previous: Managing Domains
- Next: Stopping a Node

- © 2010, Oracle Corporation and/or its affiliates