How to set a block device exclusion for the Linux replication 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
How to turn on debug logging for Hystax Linux Replication Agent
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 ...
How to set volume exclusion for the Windows replication 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 ...
How to turn on debug logs for Hystax Windows Replication Agent
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 ...
How to configure custom replication agent settings when adding a new customer in the ACP
Task When a replication agent is downloaded from the ACP, it is injected with the current network information vital for connecting to the Acura instance and discovering machines for the given customer. Depending on the actual layout, Acura may be ...
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, ...