How to set receiver timeout

How to set receiver timeout

Task

Set receiver timeout.

Solution

Since version 4.2.2 there is an ability to specify a timeout for data transfer by replication agents. The default value is 5 minutes.
The timeout parameter is stored in etcd. To configure it, use the following commands:
  1. kubectl exec -ti etcd-0 -- etcdctl mkdir /agent_specific
  2. kubectl exec -ti etcd-0 -- etcdctl set /agent_specific/network_timeout <VALUE>

<VALUE> represents the timeout duration in minutes. If the parameter is defined in etcd, the setting automatically applies to all newly launched agents. Alternatively, the timeout must be set manually for each agent.

To set the timeout manually, edit the appropriate configuration file:
  1. /hx/agent.conf — for external agents.
  2. /etc/hystax/acura/repman.conf — for internal Linux agents.
  3. C:\ProgramData\Hystax\acura\repman.conf — for internal Windows agents.

Locate or add the network_timeout parameter and specify the desired value (in minutes).
Save and restart the agent.
    • Related Articles

    • 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 set a block device exclusion for the Linux replication agent

      TaskSet 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 ...
    • How to interpret data using Grafana

      Task How to interpret data using Grafana. Solution To access the Grafana dashboards log in at http://<ACURA_IP>:30082. User: grafana_user; password: LxY83mXr. On the Home Dashboard page find: the list of useful dashboards global replication speed and ...
    • 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 configure a new network interface for Acura's instance

      Challenge Use TUI to set up a new network interface. Please refer to the KB article below if you are looking to perform this operation for an Acura (version 4.2 or newer) deployment in VMware: How to change network settings of an Acura instance in ...