Sync Config.ini

Replicate the Config.ini on all the nodes in the cluster using the utility Script

The sync_config_ini.sh script in the <installation_directory>/cluster_utils/ directory, updates the config.ini parameters across all the nodes in the cluster. For example, if you want to make any changes to the config.ini file, make the changes on the Lead node and then propagate the change to all the nodes in the cluster using the sync_config_ini.sh script.

  1. Log in to the lead or the Primary node.

  2. Navigate to the <installation_directory>/cluster_utils/ directory.

  3. To replicate the config.ini file from the lead node to all the nodes, run the following command:

    ./sync_config_ini.sh
    
  4. Press ENTER.

    The prompt to continue appears.

    ********************************************
    Welcome to BDP Script for Cloning config.ini
    ********************************************
    
    This will clone deployed config.ini from lead node to all other nodes.
    
    Do you want to continue? [yes or no]:
    
  5. To continue, type yes.

  6. Press ENTER.

    The prompt to enter the location of the Private Key file appears.

    Big Data Protector config.ini cloning started
    Enter the path of the Private Key (.PEM) file:
    
  7. Enter the location of the Private Key file.

  8. Press ENTER.

    The script creates a backup, updates the configuration, and updates the file permissions on all the nodes.

    Checking connectivity of cluster nodes...
    
    Big Data Protector config.ini cloning started
    
    Creating config.ini backup on all nodes...
    
    Creating bdp/data_07-24-2025_07:44:54/ directory on all nodes...
    
    Changing ownership of bdp/data_07-24-2025_07:44:54/ directory recursively on all nodes...
    
    Changing permission of bdp/data_07-24-2025_07:44:54/ on all nodes...
    
    Removing original config.ini from all nodes...
    Removed config.ini from all nodes
    
    Copying current node's config.ini to all other nodes...
    
    Changing ownership of bdp/data_07-24-2025_07:44:54/config.ini...
    
    Changing permission of bdp/data_07-24-2025_07:44:54/config.ini...
    
    Moving bdp/data_07-24-2025_07:44:54/config.ini to bdp/data/...
    
    Changing permission of bdp/data/config.ini...
    
    Removing bdp/data_07-24-2025_07:44:54/ directory and config.ini backup file...
    
    Successfully updated BDP config.ini across all cluster nodes. Please restart Hadoop Service daemons to reload new config.ini.
    
    The script's logs and operation results are logged in /opt/protegrity/logs/sync_config_ini.log
    

Last modified : October 03, 2025