How to set a block device exclusion for the Linux replication agent

Excluding block devices from replication on the Linux agent

Task

Set a block device exclusion for the Linux replication agent.

Solution

In case there are disks on the machines that don't need to be replicated, they can be excluded by setting certain parameters in the cbt.conf configuration file.


1 Stop the service with the following command:  service hlragent stop

2 Open the cbt.conf file. The cbt.conf file is located in the folder /etc/hystax/acura/.   sudo vi cbt.conf

3 Add the following parameters to indicate the required drives:


cbt.conf - example


"excluded_block_devices" :

 [

   "/dev/sda",

   "/dev/sdb"

 ],


4. Start the service.  service hlragent start 

 

Behavior:

After the device's exclusion, it will be skipped during the next backup: a snapshot of this volume hasn't been taken, and a cloud volume of the disk isn't created.




    • Related Articles

    • Enabling debug logging for the Hystax Linux Replication Agent (HLRAgent)

      Task Turn on debug logging to perform advanced troubleshooting of Hystax Linux Replication Agent (HLRAgent) Solution Stop the HLRAgent service with the following command: sudo service hlragent stop Enable debug logs, set the value ...
    • Excluding volumes from replication on the Windows agent

      Task Set a volume exclusion for the Windows replication agent. Solution In case there are disks on the machines that are not needed for replication, they can be excluded by setting certain parameters in the cbt.conf configuration file: 1. Stop the ...
    • Achieving consistent replication of Linux databases

      To get consistent state of running databases on Linux, e.g. MySQL, PostgreSQL, use pre-backup and post-backup scripts, located in /usr/bin/hlragent/scripts/. These scripts are automatically called during the replication process. To flush the data, ...
    • Log file locations by agent type

      Log files locations, by agent type: Agent type Log file location Windows replication agent %ProgramData%\Hystax\acura\LOG\repman.log %ProgramData%\Hystax\acura\LOG\hwragent.log.txt Linux replication agent /var/log/repman.log VMware replication agent ...
    • Enabling debug logs for the Hystax Windows Replication Agent (HWRAgent)

      Task Turn on debug logging to perform advanced troubleshooting for Hystax Windows Replication Agent (HWRAgent). Solution HWRAgent is running as two separate processes - HWRAgent service and Replication Manager (Repman_x64.exe), so you need to turn on ...