db_stop
Stops a running database. The database nodes will remain online and available.
Mandatory parameters
Parameter name | Data type | Description |
---|---|---|
db_name | string | Name of an existing database to be stopped. |
Optional parameters
Parameter name | Data type | Description |
---|---|---|
force | boolean | When set to True, the database is forced to shutdown. This should only be used if the database cannot shut down normally. |
cluster | string | Which database clusters should be stopped. Can be a cluster name, '+all' or 'MAIN' (database name can be passed instead of 'MAIN') |
Substitute parameters
There are no substitute parameters.
Allowed users
The following users are allowed to run this job:
- root
Allowed groups
The following groups are allowed to run this job:
- root
- exaadm
- exadbadm
Examples
The following examples show how to run this job in a Python program using XML-RPC or on the command line using confd_client.