Running the Configurator Script

Execute the configurator script.

Execute the Big Data Protector configurator script to:

  1. Download certificates from the ESA/PPC.
  2. Create the parcels and CSDs to install the Big Data Protector.

The certificates are required to establish a secure communication between the CDP-PVC-Base cluster nodes and ESA.

Before you begin

Perform the steps, mentioned in the section, before executing the configurator script. These steps are required to:

  • Export the ESA/PPC IP and port as variables.
  • Create a directory to store ESA/PPC certificates.
  • Download ESA/PPC certificates.
  • Retrieve the Fully Qualified Domain Name for ESA/PPC.
  • Add the ESA/PPC FQDN and IP address to the /etc/hosts file.
  • Set the SSL_CERT_FILE variable to point to the ESA/PPC certificate.
  1. To export the variables for ESA/PPC IP and port, run the following command:
     export ESA_IP=<ESA_IP_Address>
     export ESA_PORT=8443
    
  2. To create a directory for the certificates, run the following command:
    sudo mkdir -p /opt/esa/certs
    
  3. To download the Server certificate from ESA/PPC, run the following command:
    openssl s_client -connect $ESA_IP:$ESA_PORT -servername $ESA_IP -showcerts </dev/null 2>/dev/null \
    | sed -n '/-----BEGIN CERTIFICATE-----/,/-----END CERTIFICATE-----/p' \
    | sudo tee /opt/esa/certs/ProtegrityCA.pem >/dev/null
    
  4. To retrieve ESA/PPC FQDN, run the following command:
    ESA_FQDN=$(openssl x509 -in /opt/esa/certs/ProtegrityCA.pem -noout -subject \
    | grep -oP 'CN\s*=\s*\K[^,]+')
    echo "ESA FQDN: $ESA_FQDN"
    
  5. To add the ESA/PPC FQDN and the IP Address to the /etc/hosts file, run the following command:
       echo "$ESA_IP $ESA_FQDN" | sudo tee -a /etc/hosts
    
  6. Set the SSL_CERT_FILE variable on the instance where the configurator script will run. The variable must point to the location of the Server certificate. For example:
    export SSL_CERT_FILE=<full_path_to_the_server_certificate_file>
    

Executing the Configurator Script

Execute the Big Data Protector configurator script to:

  1. Download certificates from the ESA/PPC.
  2. Create the parcels and CSDs to install the Big Data Protector.

To run the configurator script and generate the Big Data Protector Parcels and CSDs:

  1. Log in to the CLI on the Master node that has connectivity to ESA/PPC.

  2. To execute the configurator script, run the following command:

    ./BDPConfigurator_CDP-PVC-Base-<CDP_version>_<BDP_version>.sh
    
  3. Press ENTER.
    The prompt to continue the configuration of Big Data Protector appears.

    *****************************************************************************
            Welcome to the Big Data Protector Configurator Wizard
    *****************************************************************************
    This will setup the Big Data Protector Installation Files for CDP PVC Base
    
    Do you want to continue? [yes or no]:
    
  4. To start the configuration of Big Data Protector, type yes.

  5. Press ENTER.
    The prompt to select the type of installation files appears.

    Big Data Protector Configurator started...
    Unpacking...
    Extracting files...
    
    Select the type of Installation files you want to generate.
    [ 1: Create All ]      : Creates entire Big Data Protector CSDs and Parcels.
    [ 2: Update PTY_CERT ] : Creates new PTY_CERT parcel with an incremented patch version.
                         Use this if you have updated the ESA certificates.
    [ 3: Update PTY_LOGFORWARDER_CONF ]
                       : Creates new PTY_LOGFORWARDER_CONF parcel with an incremented patch version.
                         Use this if you want to set Custom LogForwarder configuration files to
                         forward logs to an External Audit Store.
    
    [ 1, 2 or 3 ]:
    

    Note: From v10.0.0, the PTY_FLUENTBIT_CONF parcel is renamed to PTY_LOGFORWARDER_CONF.

  6. To create the Big Data Protector parcels and CSDs, type 1.

  7. To update the PTY_CERT parcels with an incremented patch version, type 2.

    Note: For more information about updating the PTY_CERT parcel, refer to Updating the Certificates Parcel.

  8. To update the PTY_LOGFORWARDER_CONF parcel with an incremented patch version, type 3.

    Note: For more information about updating the PTY_LOGFORWARDER_CONF parcel, refer to Updating the Log Forwarder Parcel.

  9. Press ENTER.
    The prompt to select the operating system for the Cloudera Manager parcel appears.

    Select the OS version for Cloudera Manager Parcel.
    This will be used as the OS Distro suffix in the Parcel name.
    
    [ 1: el7 ]    :  RHEL 7 and clones (CentOS, Scientific Linux, etc)
    [ 2: el8 ]    :  RHEL 8 and clones (CentOS, Scientific Linux, etc)
    [ 3: el9 ]    :  RHEL 9 and clones (CentOS, Scientific Linux, etc)
    [ 4: sles12 ] :  SuSE Linux Enterprise Server 12.x
    [ 5: sles15 ] :  SuSE Linux Enterprise Server 15.x
    
    Enter the no.:
    

    Note: Failure to set the value of the SSL_CERT_FILE variable returns the following error:

    ERROR: SSL_CERT_FILE is not set or does not point at a valid CA bundle.
    Secure mode is mandatory for ESA TLS validation.
    1. Save the ESA CA cert to a readable path (e.g. /opt/esa/certs/ProtegrityCA.pem).
    2. Add '<esa_ip> <esa_cn>' to /etc/hosts so the ESA CN/SAN resolves.
    3. export SSL_CERT_FILE=<path-from-step-1> and re-run this configurator.
    Exiting Configurator Script....
    

    For more information about setting the value of the SSL_CERT_FILE variable, refer to Before you begin.

  10. Depending on the requirements, type 1, 2, 3, 4, or 5 to select the operating system version for the Big Data Protector parcels.

  11. Press ENTER.
    The prompt to enter the Fully Qualified Domain Name (FQDN) for ESA appears.

    Secure mode: verifying ESA against CA bundle '/<location_of_certificate>/CA.pem'.
    Enter ESA Fully Qualified Domain Name (FQDN): 
    
  12. Enter Fully Qualified Domain Name (FQDN) for ESA/PPC.

  13. Press ENTER.
    The prompt to enter the ESA host listening port appears.

    Enter ESA host listening port:
    
  14. Enter ESA/PPC host listening port or leave it blank to use the default port.

  15. Press ENTER.

    The prompt to enter the ESA/PPC JSON Web Token appears.

    If you have an existing ESA JSON Web Token (JWT) with Export Certificates role, enter it otherwise enter 'no':
    

    Note: The script silently reads the user input. Therefore, the user will be unable to see the entered JWT or no.

  16. Enter the JWT token.

    a. If you do not have an existing ESA JSON Web Token (JWT), type no.
    b. Press ENTER.
    The prompt to enter the user name with Export Certificates permission appears.

    ```
     JWT was not provided. Script will now prompt for ESA username and password.
     Enter ESA Username with Export Certificates role: admin
    ```
    

    c. Enter the ESA username that has permissions to export the certificates.

    d. Press ENTER.
    The prompt to enter the password appears.

    e. Enter the password.

    f. Press ENTER.
    The script retrieves the JWT from the ESA, validates it, and the prompt to package custom log forwarder configuration appears.

    Fetching JWT from ESA....
    
    Fetching Certificates from ESA....
    
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 11264  100 11264    0     0   164k      0 --:--:-- --:--:-- --:--:--  166k
    
    -------------------------------------------------------------------------------
    
    Do you want to package any custom LogForwarder configuration files for External Audit Store?
    [ yes ] : Create a PTY_LOGFORWARDER_CONF parcel containing configuration files to be used with External Audit Store.
    [ no ]  : Skip this step.
    
    [ yes or no ]:        
    
  17. To package the Log Forwarder configuration file(s) for an external Audit Store, type yes.

    Note: Entering no at this prompt will skip the generation of the Log Forwarder configuration files. For more information on the logs, refer to the end of this section.

  18. Press ENTER.
    The prompt to enter the local directory path containing the Log Forwarder configuration files appears.

    Do you want to package any custom LogForwarder configuration files for External Audit Store?
    [ yes ] : Create a PTY_LOGFORWARDER_CONF parcel containing configuration files to be used with External Audit Store.
    [ no ]  : Skip this step.
    
    [ yes or no ]: yes
    
    Creation of PTY_LOGFORWARDER_CONF parcel is enabled.
    
    Enter the local directory path on this machine that stores the LogForwarder configuration files for External Audit Store:
    

    Note: The PTY_LOGFORWARDER_CONF parcel is used to package any custom Log Forwarder configuration files that the user provides and can be distributed across the CDP nodes through the Cloudera Manager. Ensure that you name the custom Log Forwarder configuration files for the external Audit Store with the .conf extension.

  19. Enter the local directory path that contains the Log Forwarder configuration files.

  20. Press ENTER.

    Generating Installation files...
    
    Big Data Protector parcels & CSDs are generated in ./Installation_Files/ directory.
    NOTE:
        Copy Big Data Protector CSDs (jars) to Cloudera Manager local csd repository.
        Copy Big Data Protector parcels (*.parcel and *.sha files) to Cloudera Manager local parcel repository.
    
    You can use the './Installation_Files/set_unset_bdp_config.sh' helper script for setting/unsetting BDP configs in Cloudera Manager.
    
    You can use the './Installation_Files/bdp_smooth_upgrade.sh' script to automate the Cloudera BDP smooth upgrade process, including parcel deployment, activation, and configuration updates.
    Check the updated configurations on Cloudera Manager and Restart the required services.
    

    The configurator script generates the following Big Data Protector parcels and CSDs in the ./Installation_Files/ directory:

    • BDP_PEP-<BDP_version>.jar
    • bdp_smooth_upgrade.sh
    • cluster.config
    • PTY_BDP-<BDP_version>_CDP7.1.p0-<operating_system_version>.parcel
    • PTY_BDP-<BDP_version>_CDP7.1.p0-<operating_system_version>.parcel.sha
    • PTY_CERT-<BDP_version>_CDP7.1.p0-<operating_system_version>.parcel
    • PTY_CERT-<BDP_version>_CDP7.1.p0-<operating_system_version>.parcel.sha
    • PTY_LOGFORWARDER_CONF-<BDP_version>_CDP7.1.p0-<operating_system_version>.parcel
    • PTY_LOGFORWARDER_CONF-<BDP_version>_CDP7.1.p0-<operating_system_version>.parcel.sha
    • set_unset_bdp_config.sh

    If you type no at the prompt to create the PTY_LOGFORWARDER_CONF parcel, then the installer skips the creation of the Log Forwarder parcel and proceeds to generate the installation files.

    Do you want to package any custom LogForwarder configuration files for External Audit Store?
    
    [ yes ] : Create a PTY_LOGFORWARDER_CONF parcel containing configuration files to be used with External Audit Store.
    [ no ]  : Skip this step. 
    
    [ yes or no ] : no 
    
    Creation of PTY_LOGFORWARDER_CONF parcel is skipped. 
    
    Generating Installation files...
    
    Big Data Protector parcels & CSDs are generated in ./Installation_Files/ directory.
    NOTE:
        Copy Big Data Protector CSDs (jars) to Cloudera Manager local csd repository.
        Copy Big Data Protector parcels (*.parcel and *.sha files) to Cloudera Manager local parcel repository.
    
    You can use the './Installation_Files/set_unset_bdp_config.sh' helper script for setting/unsetting BDP configs in Cloudera Manager.
    
    You can use the './Installation_Files/bdp_smooth_upgrade.sh' script to automate the Cloudera BDP smooth upgrade process, including parcel deployment, activation, and configuration updates.
    Check the updated configurations on Cloudera Manager and Restart the required services.
    

    This completes the process of executing the configurator script. The required installation files are generated under the ./Installation_Files/ directory.

Last modified : October 13, 2026