Upgrading databases using the CDP CLI
It is possible to upgrade from Azure Single Server to Azure Flexible Server using the CDP CLI. You can use the regular Cloudera Data Hub and Data Lake database upgrade commands to do this. The upgade to PostgreSQL 14 automatically upgrades the database from Single Server to Flexible Server.
Data Lake database upgrade
Before you begin, make sure the prerequisites listed in Upgrading Azure Single Server to Flexible Server are met.
You can upgrade Data Lake database using the cdp datalake
start-database-upgrade
CLI command.
The --target-version
parameter is optional. If you do not provide it, the
database will be upgraded to PostgreSQL 14.
cdp datalake start-database-upgrade --help --form-factor public
NAME
start-database-upgrade - Upgrades the database of the Data Lake cluster.
DESCRIPTION
This command initiates the upgrade of the database of the Data Lake cluster.
SYNOPSIS
start-database-upgrade
--datalake <value>
[--target-version <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]
OPTIONS
--datalake (string)
The name or CRN of the Data Lake.
--target-version (string)
The database engine major version to upgrade to.
Possible values:
o VERSION_14
Cloudera Data Hub database upgrade
Before you begin, make sure the prerequisites listed in the Prerequisites section of Upgrading Azure Single Server to Flexible Server are met.
You can perform Cloudera Data Hub database upgrade using the cdp
datahub start-database-upgrade
CLI command.
The --target-version
parameter is optional. If you do not provide it, the
database will be upgraded to PostgreSQL 14
cdp datahub start-database-upgrade --help --form-factor public
NAME
start-datahub-upgrade - Upgrades the database of the Data Hub cluster.
DESCRIPTION
This command initiates the upgrade of the database of the Data Hub cluster.
SYNOPSIS
start-database-upgrade
--datahub <value>
[--target-version <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]
OPTIONS
--datahub (string)
The name or CRN of the Data Hub.
--target-version (string)
The database engine major version to upgrade to.
Possible values:
o VERSION_14