Kbase P23960: How to use the DBMAN command
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  30/04/2004 |
|
Status: Verified
GOAL:
How to start a remote database using DBMAN.
GOAL:
How to use the DBMAN command.
FIX:
After you use Progress Explorer to create the database configuration and store it in the conmgr.properties file, use the DBMAN command-line utility to start, stop, or query a database:
dbman [-host host-name -port port-number | service-name -user user-name ] -database db-name [-config config-name -start|-stop|-query]
The dbman command-line utility supports the following parameters:
-database db-name
Specifies the name of the database you want to start. It must match the name of a database in the conmgr.properties file.
-config config-name
Specifies the name of the configuration with which you want to start the database.
-start
Starts the database db-name as defined by the configuration config-name.
-stop
Stops the database db-name.
-query
Queries the Connection Manager for the status of the database db-name.
-host host-name
Identifies the host machine where the AdminServer is running. The default is the local host. If your AdminServer is running on a remote host, you must use the -host host-name parameter to identify the host where the remote AdminServer is running.
-port port-number|service-name
Identifies the port that the AdminServer is listening on. If your AdminServer is running on a remote host, you must use the -port port-number parameter to identify the port on which the remote AdminServer is listening. The default port number is 20931.
-user user-name
If your AdminServer is running on a remote host, you must use the -user user-name parameter to supply a valid user name for that host. You will be prompted for the password.