Cloudera Operational Database service CLI commands

List of the Cloudera Operational Database (COD) service CLI commands. Reviewing these commands can help you manage your COD.

Table 1. COD CLI commands
Command Description Required Role
create-database Create a database with the provided name in a given environment. ODAdmin
describe-client-connectivity List the available connectors to programmatically interact with the database and required information to use each connector. ODUser
describe-database Query the details of a database. ODUser
drop-database Stop and destroy the database. Data remains in the configured cloud storage. ODAdmin
list-database List all databases which the user has permission to view. ODUser
start-database Start an existing database. ODAdmin
stop-database Stop a database. ODAdmin
When using the COD CLI command you have to provide the database name and its environment. For example:
cdp opdb describe-database --database-name <my_database> --environment-name <my_environment>