Post-Upgrade Procedure

This section describes the post-upgrade tasks that must be performed after upgrade tasks in order to successfully complete the upgrade to version 5.0.2.p6.

Generate the encrypted password

Perform the following steps on active name-node to generate the encrypted password:

  1. Go to the scripts directory:

    cd /opt/etc/scripts
  2. Run the following command:

    /bin/bash EncryptPassword.sh
    
  3. Enter the following details in the dialog box:
    • <password-to-encrypt> : db password

    • <password-to-generate-key> : Key used in password encryption

    Note:

    1. The db password for password-to-encrypt property should be same as the value of postgres_password defined in /etc/reflex-provisioner/inventory/templates/group_vars/global/all/mrx/agg/main.yml file.

    2. password-to-generate-key can be any string, it is used to generate encrypted password in combination with postgres_password

Use encrypted password

To use the password generated in the above section, perform the following steps:

  1. Store <password-to-generate-key> in a HDFS file:

    Note: The default path to store the generated key is : /data/streaming/key.txt

  2. Perform the following steps on both the name nodes to update the local file,ImpalaToPostgres_DB.properties available at location /opt/sample_jobs/dimensionImpalaToPostgres/:

    1. Use the encrypted password generated in the preceding steps for the property db.pwd property.

    2. Use HDFS path as mentioned in step-1 for the property key.filepath.

      Note: Default path is : /data/streaming/key.txt

  3. Update HDFS file postgres_fb.xml available at path /data/streaming

    1. Enter the encrypted password string for the field tag password.

    2. Set the value of property key_filepath to HDFS path defined in step-1.

      Note: Default Path from Installer is : /data/streaming/key.txt

Extracting the MURAL Job Scheduler Scripts

Run the following command on both the master nodes to extract the MURAL job scheduler scripts:

tar -zxvf mural5Jobs.tgz