 |
|
|
NAME
hadbm stop - gracefully stops the
database
SYNOPSIS
hadbm stop [adminpassword=password | adminpasswordfile=filename] [agent=ma_url] [dbname]
Use the hadbm stop command to stop the database gracefully.
It is a good practice to stop the database if some maintenance activity is
planned that affects the mirror nodes simultaneously. The data is intact in
a database that is stopped gracefully, in contrast to the one that has not
been stopped gracefully. Once you stop the database using the hadbm
stop command, use the hadbm start command to
start the database. If the database name is specified, the named database
must exist. If the database name is not identified, the default database is
used. The default database is hadb.
In interactive mode, the hadbm stop command prompts
for a confirmation before stopping the node.
- 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.
-
dbname
-
The name of the database. The default database is hadb.
Example 1. Using stop with a database identified
hadbm stop mydatabase
This command will stop the named database.
Type "yes" or "y" to confirm this operation, anything else to cancel: y
Database successfully stopped
- 0
-
command executed successfully
- 1
-
error in executing the command
- 22002
-
specified database does not
exist
- 22101
-
database could not be stopped
- 22102
-
database is already in a stopped
state
- 22103
-
database is not fully stopped
hadbm-addnodes(1), hadbm-clear(1), hadbm-delete(1), hadbm-list(1), hadbm-refragment(1), hadbm-restart(1), hadbm-start(1), hadbm-status(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.
|