Restarting the HADB

You may want to restart the HADB if you notice strange behavior in the HADB (for example consistent timeout problems) and want to check whether a restart cures the problem.

When you restart the HADB, data and database services remain available. When you stop and start the HADB in separate operations, data and database services are unavailable while the HADB is stopped. This is because hadbm restart performs a rolling restart of nodes: it stops and starts the nodes one by one. In contrast, hadbm stop stops all nodes simultaneously.

If an hadbm set command fails, restarting the HADB restores the previous configuration. For details about hadbm set, see “Viewing and Modifying Configuration Attributes” on page 62.

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

hadbm restart [--no-rolling] [dbname]

For example:

hadbm restart

The default dbname is hadb, all lowercase. By default, this command restarts each of the nodes in the database to the current state or a better state. If you specify the --no-rolling or -g option, this command restarts all nodes at once, with loss of service.


Legal Notices