16 Mar, 2017
4 commits
-
Document sysctl pmtu_disc based on commit 3654e61137db ("ipvs: add
pmtu_disc option to disable IP DF for TUN packets").Signed-off-by: Hangbin Liu
Signed-off-by: Simon Horman -
Document sysctl sync_ports based on commit f73181c8288f ("ipvs: add support
for sync threads").Signed-off-by: Hangbin Liu
Signed-off-by: Simon Horman -
Document sysctl sync_qlen_max and sync_sock_size based on
commit 1c003b1580e2 ("ipvs: wakeup master thread").Signed-off-by: Hangbin Liu
Signed-off-by: Simon Horman -
Fix sync_threshold description which should have two values. Also add
sync_refresh_period and sync_retries based on commit 749c42b620a9
("ipvs: reduce sync rate with time thresholds").Signed-off-by: Hangbin Liu
Signed-off-by: Simon Horman
17 Sep, 2015
1 commit
-
This is a way to avoid nasty routing loops when multiple ipvs instances can
forward to eachother.Signed-off-by: Alex Gartrell
Signed-off-by: Simon Horman
25 Feb, 2015
1 commit
-
Currently, when TCP/SCTP port reusing happens, IPVS will find the old
entry and use it for the new one, behaving like a forced persistence.
But if you consider a cluster with a heavy load of small connections,
such reuse will happen often and may lead to a not optimal load
balancing and might prevent a new node from getting a fair load.This patch introduces a new sysctl, conn_reuse_mode, that allows
controlling how to proceed when port reuse is detected. The default
value will allow rescheduling of new connections only if the old entry
was in TIME_WAIT state for TCP or CLOSED for SCTP.Signed-off-by: Marcelo Ricardo Leitner
Signed-off-by: Julian Anastasov
Signed-off-by: Simon Horman
26 Jun, 2013
1 commit
-
Add sync_persist_mode flag to reduce sync traffic
by syncing only persistent templates.Signed-off-by: Julian Anastasov
Tested-by: Aleksey Chudov
Signed-off-by: Simon Horman
19 Mar, 2013
1 commit
-
Dmitry Akindinov is reporting for a problem where SYNs are looping
between the master and backup server when the backup server is used as
real server in DR mode and has IPVS rules to function as director.Even when the backup function is enabled we continue to forward
traffic and schedule new connections when the current master is using
the backup server as real server. While this is not a problem for NAT,
for DR and TUN method the backup server can not determine if a request
comes from client or from director.To avoid such loops add new sysctl flag backup_only. It can be needed
for DR/TUN setups that do not need backup and director function at the
same time. When the backup function is enabled we stop any forwarding
and pass the traffic to the local stack (real server mode). The flag
disables the director function when the backup function is enabled.For setups that enable backup function for some virtual services and
director function for other virtual services there should be another
more complex solution to support DR/TUN mode, may be to assign
per-virtual service syncid value, so that we can differentiate the
requests.Reported-by: Dmitry Akindinov
Tested-by: German Myzovsky
Signed-off-by: Julian Anastasov
Signed-off-by: Simon Horman
01 Nov, 2011
3 commits
-
Reported-by: Randy Dunlap
Signed-off-by: Simon Horman
Signed-off-by: Pablo Neira Ayuso -
Also reword the test to make it read more easily (to me)
Signed-off-by: Simon Horman
Signed-off-by: Pablo Neira Ayuso -
Add missing documentation for conntrack, snat_reroute and sync_version.
Also fix up a typo, IPVS_DEBUG should be IP_VS_DEBUG.
Acked-by: Julian Anastasov
Acked-by Hans Schillstrom
Signed-off-by: Simon Horman
Signed-off-by: Pablo Neira Ayuso
04 Jul, 2006
1 commit
-
* Derived from http://www.linuxvirtualserver.org/docs/sysctl.html, v1.4
maintained by Wensong Zhang* Adjusted preample to match ip-sysctl.txt
* Sorted options into alphabetical order
* Added expire_quiescent_template
* Removed timeout_* which are no longer present
* Incoporated doc/debug-levels.txt from IPVS source tree into
description of ipvs_debug* Minor spelling fixes
* Further editing more than welcome
Signed-Off-By: Horms
Signed-off-by: David S. Miller