diff options
| author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2026-06-05 17:29:15 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-05 17:29:15 +0300 |
| commit | 5c948473e9c8fa28673ea612363222030508b211 (patch) | |
| tree | 8e9e0e655ac115c1d1ef5e9623ffa0449924771b /docs | |
| parent | bacd452a421ffb75e3edbeca9c51d828d0949a0c (diff) | |
| parent | c1d7e587fed222498c8305f5b34416dc915cbfac (diff) | |
| download | vyos-documentation-5c948473e9c8fa28673ea612363222030508b211.tar.gz vyos-documentation-5c948473e9c8fa28673ea612363222030508b211.zip | |
Merge pull request #2074 from vyos/mergify/bp/sagitta/pr-2053
high-availability: T7059: Add persistence-timeout option in virtual-server (backport #2053)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/configuration/highavailability/index.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/configuration/highavailability/index.md b/docs/configuration/highavailability/index.md index 6cf6a254..d34ad411 100644 --- a/docs/configuration/highavailability/index.md +++ b/docs/configuration/highavailability/index.md @@ -394,6 +394,20 @@ set high-availability virtual-server 203.0.113.1 algorithm 'least-connection' set high-availability virtual-server 203.0.113.1 forward-method 'nat' ``` +### Persistence timeout + +Timeout in seconds for persistent connections. IPVS will forward all +connections from the same source IP to the same real server for the +duration of the timeout. +Default value is 300 seconds. + +Set to `0` to disable persistence and allow the load-balancing +algorithm to distribute every connection independently. + +```none +set high-availability virtual-server 203.0.113.1 persistence-timeout '180' +``` + ### Health-check Custom health-check script allows checking real-server availability |
