Sync Log Forwarder Configuration

Update the Log Forwarder configuration on the cluster using the Log Forwarder Script

The sync_logforwarder.sh script in the <installation_directory>/cluster_utils/ directory, updates the Log Forwarder configuration across the nodes in the cluster. For example, if you want to make any changes to the Log Forwarder conifguration, make the changes on the Lead node and then propagate the change to all the nodes in the cluster using the sync_logforwarder.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 RPAgent configuration from the lead node to all the nodes, run the following command:

    ./sync_logforwarder.sh
    
  4. Press ENTER.

    The prompt to continue appears.

    ************************************************************
    Welcome to BDP Script for Cloning Logforwarder Configuration
    ************************************************************
    
    This will clone deployed Logforwarder configuration & files 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 Logforwarder Configuration 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 stops the Log Forwarder on all the nodes, creates a backup, updates the configuration, and restarts the Log Forwarder on all the nodes.

    Checking connectivity of cluster nodes...
    
    Big Data Protector Logforwarder Configuration cloning started
    
    Stopping Logforwarder on current node...
    
    Stopping Logforwarder on all nodes...
    
    Creating logforwarder_old/data_07-24-2025_07:46:51/new_data directory on all nodes...
    
    Changing ownership of logforwarder_old/ directory recursively on all nodes...
    
    Changing permission of logforwarder_old/ on all nodes...
    
    Removing Logforwarder Configuration from all nodes...
    Removed /opt/protegrity/logforwarder/data/ from all nodes
    
    Copying current node's logforwarder/data/ to all other nodes...
    
    Changing ownership of logforwarder_old/data_07-24-2025_07:46:51/new_data/data.tgz...
    
    Changing permission of logforwarder_old/data_07-24-2025_07:46:51/new_data/data.tgz...
    
    Extracting logforwarder_old/data_07-24-2025_07:46:51/new_data/data.tgz to logforwarder/data/...
    
    Changing permission of logforwarder/data/...
    
    Removing backup directory logforwarder_old/...
    
    Starting Logforwarder on current node...
    
    Starting Logforwarder on all nodes...
    
    Successfully updated Logforwarder Configuration across all cluster nodes
    
    The script's logs and operation results are logged in /opt/protegrity/logs/sync_logforwarder.log
    

Last modified : October 03, 2025