upgrade-database

This CDP CLI beta command for Cloudera Operational Database (COD) upgrades an operational database in an environment to a given runtime.

Command syntax

upgrade-database

--environment <value>
--database <value>
[--runtime <value>]
[--os-upgrade-only | --no-os-upgrade-only]
[--cli-input-json <value>]
[--generate-cli-skeleton]
  • --environment (string)

    The name of the environment.

    cdp opdb upgrade-database --environment <environment-name>
  • --database <value>

    The name of the database.

    cdp opdb upgrade-database --environment <environment-name> --database <database-name>
  • -runtime <runtime-version>

    The runtime version of the database.

    cdp opdb upgrade-database --environment <environment-name> --database <database-name> -runtime <runtime-version>
  • [--os-upgrade-only | --no-os-upgrade-only]

    Controls whether to perform only an Operating System upgrade.

    cdp opdb upgrade-database --environment <environment-name> --database <database-name> 
    -runtime <runtime-version> --os-upgrade-only