Re: Configuring keepalived + ipvs with persistence: doesn't balance to other node if initial persistent node fails.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/12/2013 15:26, Jose Luis Godoy wrote:
real_server 192.168.58.201 443 {
     weight 1
     inhibit_on_failure

Remove inhibit_on_failure.

That keeps the server in the pool but with weight 0, meaning no *new* connections go to it. Existing persistent connections remain.

Alternatively, if you don't want to do that, set the sysctl net.ipv4.vs.expire_quiescent_template to 1, and keep inhibit_on_failure.

Both options are in effect synonyms, meaning in both cases that the persistence templates are removed for the VS in question when either it is removed from the pool (removing inhibit_on_failure) or quiesced (weight set to 0).

Graeme
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Devel]     [Linux NFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]     [X.Org]

  Powered by Linux