|
|
|
NAME
hadbm restart - restarts the database
SYNOPSIS
hadbm restart [adminpassword=password | adminpasswordfile=filename] [agent=ma_url] [no-rolling] [dbname]
Use the hadbm restart command to restart the database.
Once the database is restarted, it returns to the previous state or better.
If the database name is specified, the database must exist. If the database
name is not specified, the default database is restarted. The default database
is hadb.
In interactive mode, the hadbm restart command prompts
for a confirmation before restarting the database.
- w adminpassword
-
The actual HADBM administation password.
- W adminpasswordfile
-
The file from which the HADBM administration
password is read.
- m agent
-
Identifies the URL to the Management Agent.
The default is localhost:1862.
- -g no-rolling
-
This option restarts all nodes in the HADB
at once with possible loss of service. If this option is not specified, the
hadbm restarts the nodes one by one and maintains the availability of the
HADB. If the option is specified, it stops al nodes in parallel and starts
them in parallel. During this period, the HADB is not available.
-
dbname
-
The name of the database. The default database is hadb.
Example 1. Using restart with a database identified
hadbm restart mydatabase
This command will restart the named database.
Type "yes" or "y" to confirm this operation, anything else to cancel: y
Database successfully restarted
Example 2. Using restart with no rolling
hadbm restartnode --no-rolling mydatabase
This command will restart the named database.
Type "yes" or "y" to confirm this operation, anything else to cancel: y
Database successfully restarted
- 0
-
command executed successfully
- 1
-
error in executing the command
- 22002
-
specified database does not
exist
- 22105
-
database is not running
- 22106
-
database could not be restarted
- 22107
-
database could not return
to a previous state
- 22108
-
invalid database state
hadbm-addnodes(1), hadbm-clear(1), hadbm-delete(1), hadbm-list(1), hadbm-refragment(1), hadbm-start(1), hadbm-status(1), hadbm-stop(1)
J2EE SDK 1.4 | Go To Top | Last Changed 22 Dec 2004 |
Company Info
|
Contact
|
Copyright 2004 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
|