db_state
This job returns the current state of the given database. Some common states are 'Running' (meaning the database is online), 'Setup' (meaning the database is offline), 'Startup' (meaning the database is starting up), and 'Shutdown' (meaning the database is shutting down).
Mandatory Parameters
Parameter Name | Data Type | Description |
---|---|---|
db_name | string | Name of an existing database. |
Optional Parameters
There are no optional parameters.
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 code snippets show how to use this job using both Python (via XML-RPC) and on the command-line using confd_client.