WAN Replication¶
Length: 161 words; Published: June 24, 2015; Updated: October 22, 2019; Category: Performance; Type: Best Practices
When running the cluster over a WAN, you may frequently experience transient network connectivity failures. To prevent this from partitioning the cluster, you may want to increase the keepalive timeouts.
Recommendations
The following parameters can tolerate 30 second connectivity outages:
wsrep_provider_options = "evs.keepalive_period = PT3S;
evs.suspect_timeout = PT30S;
evs.inactive_timeout = PT1M;
evs.install_timeout = PT1M"
Note
All wsrep_provider_options
settings need to be specified on a single line. In case of multiple instances of wsrep_provider_options
, only the last one is used.
In configuring these parameters, consider the following:
- You want the evs.suspect_timeout parameter set as high as possible to avoid partitions. Partitions cause state transfers, which can effect performance.
- You must set the evs.inactive_timeout parameter to a value higher than that of the evs.suspect_timeout parameter.
- You must set the evs.install_timeout parameter to a value higher than the value of the evs.inactive_timeout parameter.
Related Documents