diff options
| author | Nataliia Solomko <natalirs1985@gmail.com> | 2026-05-18 15:42:55 +0300 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2026-06-02 15:20:52 +0000 |
| commit | c1d7e587fed222498c8305f5b34416dc915cbfac (patch) | |
| tree | 4a9a76e652da6e34942005fbe6c1e06d8381bcbf | |
| parent | 64c487858d074667cfdb33a51f81e22889a79bae (diff) | |
| download | vyos-documentation-c1d7e587fed222498c8305f5b34416dc915cbfac.tar.gz vyos-documentation-c1d7e587fed222498c8305f5b34416dc915cbfac.zip | |
high-availability: T7059: Add persistence-timeout option in virtual-server
(cherry picked from commit dc04c30291806195311e585450b490d0c672c356)
| -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 |
