Enabling Single Server

During environment registration in Cloudera, the Flexible Server in public service mode is used by default, but you can specify to use the Single Server (deprecated) or Single Server with Private Link (deprecated) options.

Steps

During environment registration in Cloudera, in the Database section, enable one of the Single Server options by selecting Single Server (deprecated) or Single Server with Private Link (deprecated) from the dropdown. The Flexible Server option is pre-selected by default.

  1. Register an Azure environment using the cdp create-azure-environment CDP CLI command as usual.
  2. Set IDBroker mappings as usual using the cdp environments set-id-broker-mappings command.
  3. Create a Data Lake using the cdp create-azure-datalake CDP CLI command, including a reference to the database HA type. For example:
    cdp datalake create-azure-datalake 
      --datalake-name <datalake-name> 
    ...
      --database-type SINGLE_SERVER

    The following table explains the required parameters:

    Parameter Description Possible values
    database-type (string)

    The type of the azure database.

    FLEXIBLE_SERVER (recommended) is the next

    generation managed PostgreSQL service in Azure that provides maximum flexibility over your database, built-in cost-optimizations.

    SINGLE_SERVER is a fully managed database service with minimal requirements for customizations of the database.

    • FLEXIBLE_SERVER

    • SINGLE_SERVER

  4. Create a Cloudera Data Hub using the create-azure-cluster CDP CLI command, including a reference to the database HA type and the database PostgreSQL engine version. For example:
    cdp datahub create-azure-cluster 
     --cluster-name <marketplace-data-hub>  
    ...
     --datahub-database HA 
     --database-type SINGLE_SERVER

    The following table explains the required parameters:

    Parameter Description Possible values

    datahub-database (string)

    Represents the database availability type.
    • HA (This means, same zone HA)

    • NON_HA

    database-type (string)

    The type of the azure database.

    FLEXIBLE_SERVER (default value) is the next generation managed PostgreSQL service in Azure that provides maximum flexibility over your database, built-in cost-optimizations.

    SINGLE_SERVER is a fully managed database service with minimal requirements for customizations of the database.

    If you do not specify this parameter, FLEXIBLE_SERVER is used by default.

    • FLEXIBLE_SERVER

    • SINGLE_SERVER