16 Mar, 2017

4 commits


17 Sep, 2015

1 commit


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

    Marcelo Ricardo Leitner
     

26 Jun, 2013

1 commit


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

    Julian Anastasov
     

01 Nov, 2011

3 commits


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

    Horms