Zsphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget*/translations/zh_CN/networking/ipvs-sysctlmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget*/translations/zh_TW/networking/ipvs-sysctlmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget*/translations/it_IT/networking/ipvs-sysctlmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget*/translations/ja_JP/networking/ipvs-sysctlmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget*/translations/ko_KR/networking/ipvs-sysctlmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget*/translations/sp_SP/networking/ipvs-sysctlmodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhcomment)}(h SPDX-License-Identifier: GPL-2.0h]h SPDX-License-Identifier: GPL-2.0}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhhD/var/lib/git/docbuild/linux/Documentation/networking/ipvs-sysctl.rsthKubhsection)}(hhh](htitle)}(h IPvs-sysctlh]h IPvs-sysctl}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h"/proc/sys/net/ipv4/vs/* Variables:h]h"/proc/sys/net/ipv4/vs/* Variables:}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubhdefinition_list)}(hhh](hdefinition_list_item)}(h{am_droprate - INTEGER default 10 It sets the always mode drop rate, which is used in the mode 3 of the drop_rate defense. h](hterm)}(ham_droprate - INTEGERh]ham_droprate - INTEGER}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhubh definition)}(hhh](h paragraph)}(h default 10h]h default 10}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhubh)}(hXIt sets the always mode drop rate, which is used in the mode 3 of the drop_rate defense.h]hXIt sets the always mode drop rate, which is used in the mode 3 of the drop_rate defense.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhubeh}(h]h ]h"]h$]h&]uh1hhhubeh}(h]h ]h"]h$]h&]uh1hhhhKhhubh)}(hXHamemthresh - INTEGER default 1024 It sets the available memory threshold (in pages), which is used in the automatic modes of defense. When there is no enough available memory, the respective strategy will be enabled and the variable is automatically set to 2, otherwise the strategy is disabled and the variable is set to 1. h](h)}(hamemthresh - INTEGERh]hamemthresh - INTEGER}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj$ubh)}(hhh](h)}(h default 1024h]h default 1024}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj6ubh)}(hX$It sets the available memory threshold (in pages), which is used in the automatic modes of defense. When there is no enough available memory, the respective strategy will be enabled and the variable is automatically set to 2, otherwise the strategy is disabled and the variable is set to 1.h]hX$It sets the available memory threshold (in pages), which is used in the automatic modes of defense. When there is no enough available memory, the respective strategy will be enabled and the variable is automatically set to 2, otherwise the strategy is disabled and the variable is set to 1.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj6ubeh}(h]h ]h"]h$]h&]uh1hhj$ubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hbackup_only - BOOLEAN - 0 - disabled (default) - not 0 - enabled If set, disable the director function while the server is in backup mode to avoid packet loops for DR/TUN methods. h](h)}(hbackup_only - BOOLEANh]hbackup_only - BOOLEAN}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjaubh)}(hhh](h bullet_list)}(hhh](h list_item)}(h0 - disabled (default)h]h)}(hjh]h0 - disabled (default)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj}ubah}(h]h ]h"]h$]h&]uh1j{hjxubj|)}(hnot 0 - enabled h]h)}(hnot 0 - enabledh]hnot 0 - enabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1j{hjxubeh}(h]h ]h"]h$]h&]bullet-uh1jvhhhKhjsubh)}(hrIf set, disable the director function while the server is in backup mode to avoid packet loops for DR/TUN methods.h]hrIf set, disable the director function while the server is in backup mode to avoid packet loops for DR/TUN methods.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjsubeh}(h]h ]h"]h$]h&]uh1hhjaubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hXconn_reuse_mode - INTEGER 1 - default Controls how ipvs will deal with connections that are detected port reuse. It is a bitmap, with the values being: 0: disable any special handling on port reuse. The new connection will be delivered to the same real server that was servicing the previous connection. bit 1: enable rescheduling of new connections when it is safe. That is, whenever expire_nodest_conn and for TCP sockets, when the connection is in TIME_WAIT state (which is only possible if you use NAT mode). bit 2: it is bit 1 plus, for TCP connections, when connections are in FIN_WAIT state, as this is the last state seen by load balancer in Direct Routing mode. This bit helps on adding new real servers to a very busy cluster. h](h)}(hconn_reuse_mode - INTEGERh]hconn_reuse_mode - INTEGER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK2hjubh)}(hhh](h)}(h 1 - defaulth]h 1 - default}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK!hjubh)}(hqControls how ipvs will deal with connections that are detected port reuse. It is a bitmap, with the values being:h]hqControls how ipvs will deal with connections that are detected port reuse. It is a bitmap, with the values being:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK#hjubh)}(h0: disable any special handling on port reuse. The new connection will be delivered to the same real server that was servicing the previous connection.h]h0: disable any special handling on port reuse. The new connection will be delivered to the same real server that was servicing the previous connection.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK&hjubh)}(hbit 1: enable rescheduling of new connections when it is safe. That is, whenever expire_nodest_conn and for TCP sockets, when the connection is in TIME_WAIT state (which is only possible if you use NAT mode).h]hbit 1: enable rescheduling of new connections when it is safe. That is, whenever expire_nodest_conn and for TCP sockets, when the connection is in TIME_WAIT state (which is only possible if you use NAT mode).}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK*hjubh)}(hbit 2: it is bit 1 plus, for TCP connections, when connections are in FIN_WAIT state, as this is the last state seen by load balancer in Direct Routing mode. This bit helps on adding new real servers to a very busy cluster.h]hbit 2: it is bit 1 plus, for TCP connections, when connections are in FIN_WAIT state, as this is the last state seen by load balancer in Direct Routing mode. This bit helps on adding new real servers to a very busy cluster.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK/hjubeh}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhK2hhhhubh)}(hX;conntrack - BOOLEAN - 0 - disabled (default) - not 0 - enabled If set, maintain connection tracking entries for connections handled by IPVS. This should be enabled if connections handled by IPVS are to be also handled by stateful firewall rules. That is, iptables rules that make use of connection tracking. It is a performance optimisation to disable this setting otherwise. Connections handled by the IPVS FTP application module will have connection tracking entries regardless of this setting. Only available when IPVS is compiled with CONFIG_IP_VS_NFCT enabled. h](h)}(hconntrack - BOOLEANh]hconntrack - BOOLEAN}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKChj5ubh)}(hhh](jw)}(hhh](j|)}(h0 - disabled (default)h]h)}(hjOh]h0 - disabled (default)}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK5hjMubah}(h]h ]h"]h$]h&]uh1j{hjJubj|)}(hnot 0 - enabled h]h)}(hnot 0 - enabledh]hnot 0 - enabled}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK6hjdubah}(h]h ]h"]h$]h&]uh1j{hjJubeh}(h]h ]h"]h$]h&]jjuh1jvhhhK5hjGubh)}(hMIf set, maintain connection tracking entries for connections handled by IPVS.h]hMIf set, maintain connection tracking entries for connections handled by IPVS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK8hjGubh)}(hThis should be enabled if connections handled by IPVS are to be also handled by stateful firewall rules. That is, iptables rules that make use of connection tracking. It is a performance optimisation to disable this setting otherwise.h]hThis should be enabled if connections handled by IPVS are to be also handled by stateful firewall rules. That is, iptables rules that make use of connection tracking. It is a performance optimisation to disable this setting otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK;hjGubh)}(hxConnections handled by the IPVS FTP application module will have connection tracking entries regardless of this setting.h]hxConnections handled by the IPVS FTP application module will have connection tracking entries regardless of this setting.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK@hjGubh)}(hDOnly available when IPVS is compiled with CONFIG_IP_VS_NFCT enabled.h]hDOnly available when IPVS is compiled with CONFIG_IP_VS_NFCT enabled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKChjGubeh}(h]h ]h"]h$]h&]uh1hhj5ubeh}(h]h ]h"]h$]h&]uh1hhhhKChhhhubh)}(hX"cache_bypass - BOOLEAN - 0 - disabled (default) - not 0 - enabled If it is enabled, forward packets to the original destination directly when no cache server is available and destination address is not local (iph->daddr is RTN_UNICAST). It is mostly used in transparent web cache cluster. h](h)}(hcache_bypass - BOOLEANh]hcache_bypass - BOOLEAN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKLhjubh)}(hhh](jw)}(hhh](j|)}(h0 - disabled (default)h]h)}(hjh]h0 - disabled (default)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKFhjubah}(h]h ]h"]h$]h&]uh1j{hjubj|)}(hnot 0 - enabled h]h)}(hnot 0 - enabledh]hnot 0 - enabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKGhjubah}(h]h ]h"]h$]h&]uh1j{hjubeh}(h]h ]h"]h$]h&]jjuh1jvhhhKFhjubh)}(hIf it is enabled, forward packets to the original destination directly when no cache server is available and destination address is not local (iph->daddr is RTN_UNICAST). It is mostly used in transparent web cache cluster.h]hIf it is enabled, forward packets to the original destination directly when no cache server is available and destination address is not local (iph->daddr is RTN_UNICAST). It is mostly used in transparent web cache cluster.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKIhjubeh}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhKLhhhhubh)}(hX;debug_level - INTEGER - 0 - transmission error messages (default) - 1 - non-fatal error messages - 2 - configuration - 3 - destination trash - 4 - drop entry - 5 - service lookup - 6 - scheduling - 7 - connection new/expire, lookup and synchronization - 8 - state transition - 9 - binding destination, template checks and applications - 10 - IPVS packet transmission - 11 - IPVS packet handling (ip_vs_in/ip_vs_out) - 12 or more - packet traversal Only available when IPVS is compiled with CONFIG_IP_VS_DEBUG enabled. Higher debugging levels include the messages for lower debugging levels, so setting debug level 2, includes level 0, 1 and 2 messages. Thus, logging becomes more and more verbose the higher the level. h](h)}(hdebug_level - INTEGERh]hdebug_level - INTEGER}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKbhj-ubh)}(hhh](jw)}(hhh](j|)}(h20 - transmission error messages (default)h]h)}(hjGh]h20 - transmission error messages (default)}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKOhjEubah}(h]h ]h"]h$]h&]uh1j{hjBubj|)}(h%1 - non-fatal error messagesh]h)}(hj^h]h%1 - non-fatal error messages}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKPhj\ubah}(h]h ]h"]h$]h&]uh1j{hjBubj|)}(h2 - configurationh]h)}(hjuh]h2 - configuration}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKQhjsubah}(h]h ]h"]h$]h&]uh1j{hjBubj|)}(h3 - destination trashh]h)}(hjh]h3 - destination trash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKRhjubah}(h]h ]h"]h$]h&]uh1j{hjBubj|)}(h4 - drop entryh]h)}(hjh]h4 - drop entry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKShjubah}(h]h ]h"]h$]h&]uh1j{hjBubj|)}(h5 - service lookuph]h)}(hjh]h5 - service lookup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKThjubah}(h]h ]h"]h$]h&]uh1j{hjBubj|)}(h6 - schedulingh]h)}(hjh]h6 - scheduling}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKUhjubah}(h]h ]h"]h$]h&]uh1j{hjBubj|)}(h>7 - connection new/expire, lookup and synchronizationh]h)}(hjh]h>7 - connection new/expire, lookup and synchronization}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKVhjubah}(h]h ]h"]h$]h&]uh1j{hjBubj|)}(h8 - state transitionh]h)}(hjh]h8 - state transition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKWhjubah}(h]h ]h"]h$]h&]uh1j{hjBubj|)}(hB9 - binding destination, template checks and applicationsh]h)}(hjh]hB9 - binding destination, template checks and applications}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKXhjubah}(h]h ]h"]h$]h&]uh1j{hjBubj|)}(h%10 - IPVS packet transmissionh]h)}(hj-h]h%10 - IPVS packet transmission}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKYhj+ubah}(h]h ]h"]h$]h&]uh1j{hjBubj|)}(h611 - IPVS packet handling (ip_vs_in/ip_vs_out)h]h)}(hjDh]h611 - IPVS packet handling (ip_vs_in/ip_vs_out)}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKZhjBubah}(h]h ]h"]h$]h&]uh1j{hjBubj|)}(h12 or more - packet traversal h]h)}(h12 or more - packet traversalh]h12 or more - packet traversal}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK[hjYubah}(h]h ]h"]h$]h&]uh1j{hjBubeh}(h]h ]h"]h$]h&]jjuh1jvhhhKOhj?ubh)}(hEOnly available when IPVS is compiled with CONFIG_IP_VS_DEBUG enabled.h]hEOnly available when IPVS is compiled with CONFIG_IP_VS_DEBUG enabled.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK]hj?ubh)}(hHigher debugging levels include the messages for lower debugging levels, so setting debug level 2, includes level 0, 1 and 2 messages. Thus, logging becomes more and more verbose the higher the level.h]hHigher debugging levels include the messages for lower debugging levels, so setting debug level 2, includes level 0, 1 and 2 messages. Thus, logging becomes more and more verbose the higher the level.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK_hj?ubeh}(h]h ]h"]h$]h&]uh1hhj-ubeh}(h]h ]h"]h$]h&]uh1hhhhKbhhhhubh)}(hX drop_entry - INTEGER - 0 - disabled (default) The drop_entry defense is to randomly drop entries in the connection hash table, just in order to collect back some memory for new connections. In the current code, the drop_entry procedure can be activated every second, then it randomly scans 1/32 of the whole and drops entries that are in the SYN-RECV/SYNACK state, which should be effective against syn-flooding attack. The valid values of drop_entry are from 0 to 3, where 0 means that this strategy is always disabled, 1 and 2 mean automatic modes (when there is no enough available memory, the strategy is enabled and the variable is automatically set to 2, otherwise the strategy is disabled and the variable is set to 1), and 3 means that the strategy is always enabled. h](h)}(hdrop_entry - INTEGERh]hdrop_entry - INTEGER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKthjubh)}(hhh](jw)}(hhh]j|)}(h0 - disabled (default) h]h)}(h0 - disabled (default)h]h0 - disabled (default)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKehjubah}(h]h ]h"]h$]h&]uh1j{hjubah}(h]h ]h"]h$]h&]jjuh1jvhhhKehjubh)}(hXuThe drop_entry defense is to randomly drop entries in the connection hash table, just in order to collect back some memory for new connections. In the current code, the drop_entry procedure can be activated every second, then it randomly scans 1/32 of the whole and drops entries that are in the SYN-RECV/SYNACK state, which should be effective against syn-flooding attack.h]hXuThe drop_entry defense is to randomly drop entries in the connection hash table, just in order to collect back some memory for new connections. In the current code, the drop_entry procedure can be activated every second, then it randomly scans 1/32 of the whole and drops entries that are in the SYN-RECV/SYNACK state, which should be effective against syn-flooding attack.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKghjubh)}(hXcThe valid values of drop_entry are from 0 to 3, where 0 means that this strategy is always disabled, 1 and 2 mean automatic modes (when there is no enough available memory, the strategy is enabled and the variable is automatically set to 2, otherwise the strategy is disabled and the variable is set to 1), and 3 means that the strategy is always enabled.h]hXcThe valid values of drop_entry are from 0 to 3, where 0 means that this strategy is always disabled, 1 and 2 mean automatic modes (when there is no enough available memory, the strategy is enabled and the variable is automatically set to 2, otherwise the strategy is disabled and the variable is set to 1), and 3 means that the strategy is always enabled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKohjubeh}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhKthhhhubh)}(hX-drop_packet - INTEGER - 0 - disabled (default) The drop_packet defense is designed to drop 1/rate packets before forwarding them to real servers. If the rate is 1, then drop all the incoming packets. The value definition is the same as that of the drop_entry. In the automatic mode, the rate is determined by the follow formula: rate = amemthresh / (amemthresh - available_memory) when available memory is less than the available memory threshold. When the mode 3 is set, the always mode drop rate is controlled by the /proc/sys/net/ipv4/vs/am_droprate. h](h)}(hdrop_packet - INTEGERh]hdrop_packet - INTEGER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(hhh](jw)}(hhh]j|)}(h0 - disabled (default) h]h)}(h0 - disabled (default)h]h0 - disabled (default)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKwhjubah}(h]h ]h"]h$]h&]uh1j{hjubah}(h]h ]h"]h$]h&]jjuh1jvhhhKwhjubh)}(hThe drop_packet defense is designed to drop 1/rate packets before forwarding them to real servers. If the rate is 1, then drop all the incoming packets.h]hThe drop_packet defense is designed to drop 1/rate packets before forwarding them to real servers. If the rate is 1, then drop all the incoming packets.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKyhjubh)}(hXaThe value definition is the same as that of the drop_entry. In the automatic mode, the rate is determined by the follow formula: rate = amemthresh / (amemthresh - available_memory) when available memory is less than the available memory threshold. When the mode 3 is set, the always mode drop rate is controlled by the /proc/sys/net/ipv4/vs/am_droprate.h]hXaThe value definition is the same as that of the drop_entry. In the automatic mode, the rate is determined by the follow formula: rate = amemthresh / (amemthresh - available_memory) when available memory is less than the available memory threshold. When the mode 3 is set, the always mode drop rate is controlled by the /proc/sys/net/ipv4/vs/am_droprate.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK}hjubeh}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hXWest_cpulist - CPULIST Allowed CPUs for estimation kthreads Syntax: standard cpulist format empty list - stop kthread tasks and estimation default - the system's housekeeping CPUs for kthreads Example: "all": all possible CPUs "0-N": all possible CPUs, N denotes last CPU number "0,1-N:1/2": first and all CPUs with odd number "": empty list h](h)}(hest_cpulist - CPULISTh]hest_cpulist - CPULIST}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj[ubh)}(hhh](h)}(h$Allowed CPUs for estimation kthreadsh]h$Allowed CPUs for estimation kthreads}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjmubh)}(hSyntax: standard cpulist format empty list - stop kthread tasks and estimation default - the system's housekeeping CPUs for kthreadsh]hSyntax: standard cpulist format empty list - stop kthread tasks and estimation default - the system’s housekeeping CPUs for kthreads}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjmubh)}(hExample: "all": all possible CPUs "0-N": all possible CPUs, N denotes last CPU number "0,1-N:1/2": first and all CPUs with odd number "": empty listh]hExample: “all”: all possible CPUs “0-N”: all possible CPUs, N denotes last CPU number “0,1-N:1/2”: first and all CPUs with odd number “”: empty list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjmubeh}(h]h ]h"]h$]h&]uh1hhj[ubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hest_nice - INTEGER default 0 Valid range: -20 (more favorable) .. 19 (less favorable) Niceness value to use for the estimation kthreads (scheduling priority) h](h)}(hest_nice - INTEGERh]hest_nice - INTEGER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(hhh](h)}(hBdefault 0 Valid range: -20 (more favorable) .. 19 (less favorable)h]hBdefault 0 Valid range: -20 (more favorable) .. 19 (less favorable)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(hGNiceness value to use for the estimation kthreads (scheduling priority)h]hGNiceness value to use for the estimation kthreads (scheduling priority)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubeh}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hXexpire_nodest_conn - BOOLEAN - 0 - disabled (default) - not 0 - enabled The default value is 0, the load balancer will silently drop packets when its destination server is not available. It may be useful, when user-space monitoring program deletes the destination server (because of server overload or wrong detection) and add back the server later, and the connections to the server can continue. If this feature is enabled, the load balancer will expire the connection immediately when a packet arrives and its destination server is not available, then the client program will be notified that the connection is closed. This is equivalent to the feature some people requires to flush connections when its destination is not available. h](h)}(hexpire_nodest_conn - BOOLEANh]hexpire_nodest_conn - BOOLEAN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(hhh](jw)}(hhh](j|)}(h0 - disabled (default)h]h)}(hjh]h0 - disabled (default)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1j{hjubj|)}(hnot 0 - enabled h]h)}(hnot 0 - enabledh]hnot 0 - enabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1j{hjubeh}(h]h ]h"]h$]h&]jjuh1jvhhhKhjubh)}(hXEThe default value is 0, the load balancer will silently drop packets when its destination server is not available. It may be useful, when user-space monitoring program deletes the destination server (because of server overload or wrong detection) and add back the server later, and the connections to the server can continue.h]hXEThe default value is 0, the load balancer will silently drop packets when its destination server is not available. It may be useful, when user-space monitoring program deletes the destination server (because of server overload or wrong detection) and add back the server later, and the connections to the server can continue.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(hXRIf this feature is enabled, the load balancer will expire the connection immediately when a packet arrives and its destination server is not available, then the client program will be notified that the connection is closed. This is equivalent to the feature some people requires to flush connections when its destination is not available.h]hXRIf this feature is enabled, the load balancer will expire the connection immediately when a packet arrives and its destination server is not available, then the client program will be notified that the connection is closed. This is equivalent to the feature some people requires to flush connections when its destination is not available.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubeh}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hXexpire_quiescent_template - BOOLEAN - 0 - disabled (default) - not 0 - enabled When set to a non-zero value, the load balancer will expire persistent templates when the destination server is quiescent. This may be useful, when a user makes a destination server quiescent by setting its weight to 0 and it is desired that subsequent otherwise persistent connections are sent to a different destination server. By default new persistent connections are allowed to quiescent destination servers. If this feature is enabled, the load balancer will expire the persistence template if it is to be used to schedule a new connection and the destination server is quiescent. h](h)}(h#expire_quiescent_template - BOOLEANh]h#expire_quiescent_template - BOOLEAN}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjXubh)}(hhh](jw)}(hhh](j|)}(h0 - disabled (default)h]h)}(hjrh]h0 - disabled (default)}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjpubah}(h]h ]h"]h$]h&]uh1j{hjmubj|)}(hnot 0 - enabled h]h)}(hnot 0 - enabledh]hnot 0 - enabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1j{hjmubeh}(h]h ]h"]h$]h&]jjuh1jvhhhKhjjubh)}(hXWhen set to a non-zero value, the load balancer will expire persistent templates when the destination server is quiescent. This may be useful, when a user makes a destination server quiescent by setting its weight to 0 and it is desired that subsequent otherwise persistent connections are sent to a different destination server. By default new persistent connections are allowed to quiescent destination servers.h]hXWhen set to a non-zero value, the load balancer will expire persistent templates when the destination server is quiescent. This may be useful, when a user makes a destination server quiescent by setting its weight to 0 and it is desired that subsequent otherwise persistent connections are sent to a different destination server. By default new persistent connections are allowed to quiescent destination servers.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjjubh)}(hIf this feature is enabled, the load balancer will expire the persistence template if it is to be used to schedule a new connection and the destination server is quiescent.h]hIf this feature is enabled, the load balancer will expire the persistence template if it is to be used to schedule a new connection and the destination server is quiescent.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjjubeh}(h]h ]h"]h$]h&]uh1hhjXubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hXignore_tunneled - BOOLEAN - 0 - disabled (default) - not 0 - enabled If set, ipvs will set the ipvs_property on all packets which are of unrecognized protocols. This prevents us from routing tunneled protocols like ipip, which is useful to prevent rescheduling packets that have been tunneled to the ipvs host (i.e. to prevent ipvs routing loops when ipvs is also acting as a real server). h](h)}(hignore_tunneled - BOOLEANh]hignore_tunneled - BOOLEAN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(hhh](jw)}(hhh](j|)}(h0 - disabled (default)h]h)}(hjh]h0 - disabled (default)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1j{hjubj|)}(hnot 0 - enabled h]h)}(hnot 0 - enabledh]hnot 0 - enabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1j{hjubeh}(h]h ]h"]h$]h&]jjuh1jvhhhKhjubh)}(hXAIf set, ipvs will set the ipvs_property on all packets which are of unrecognized protocols. This prevents us from routing tunneled protocols like ipip, which is useful to prevent rescheduling packets that have been tunneled to the ipvs host (i.e. to prevent ipvs routing loops when ipvs is also acting as a real server).h]hXAIf set, ipvs will set the ipvs_property on all packets which are of unrecognized protocols. This prevents us from routing tunneled protocols like ipip, which is useful to prevent rescheduling packets that have been tunneled to the ipvs host (i.e. to prevent ipvs routing loops when ipvs is also acting as a real server).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubeh}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hnat_icmp_send - BOOLEAN - 0 - disabled (default) - not 0 - enabled It controls sending icmp error messages (ICMP_DEST_UNREACH) for VS/NAT when the load balancer receives packets from real servers but the connection entries don't exist. h](h)}(hnat_icmp_send - BOOLEANh]hnat_icmp_send - BOOLEAN}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj4ubh)}(hhh](jw)}(hhh](j|)}(h0 - disabled (default)h]h)}(hjNh]h0 - disabled (default)}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjLubah}(h]h ]h"]h$]h&]uh1j{hjIubj|)}(hnot 0 - enabled h]h)}(hnot 0 - enabledh]hnot 0 - enabled}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjcubah}(h]h ]h"]h$]h&]uh1j{hjIubeh}(h]h ]h"]h$]h&]jjuh1jvhhhKhjFubh)}(hIt controls sending icmp error messages (ICMP_DEST_UNREACH) for VS/NAT when the load balancer receives packets from real servers but the connection entries don't exist.h]hIt controls sending icmp error messages (ICMP_DEST_UNREACH) for VS/NAT when the load balancer receives packets from real servers but the connection entries don’t exist.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjFubeh}(h]h ]h"]h$]h&]uh1hhj4ubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hpmtu_disc - BOOLEAN - 0 - disabled - not 0 - enabled (default) By default, reject with FRAG_NEEDED all DF packets that exceed the PMTU, irrespective of the forwarding method. For TUN method the flag can be disabled to fragment such packets. h](h)}(hpmtu_disc - BOOLEANh]hpmtu_disc - BOOLEAN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(hhh](jw)}(hhh](j|)}(h 0 - disabledh]h)}(hjh]h 0 - disabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1j{hjubj|)}(hnot 0 - enabled (default) h]h)}(hnot 0 - enabled (default)h]hnot 0 - enabled (default)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1j{hjubeh}(h]h ]h"]h$]h&]jjuh1jvhhhKhjubh)}(hBy default, reject with FRAG_NEEDED all DF packets that exceed the PMTU, irrespective of the forwarding method. For TUN method the flag can be disabled to fragment such packets.h]hBy default, reject with FRAG_NEEDED all DF packets that exceed the PMTU, irrespective of the forwarding method. For TUN method the flag can be disabled to fragment such packets.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubeh}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hX3secure_tcp - INTEGER - 0 - disabled (default) The secure_tcp defense is to use a more complicated TCP state transition table. For VS/NAT, it also delays entering the TCP ESTABLISHED state until the three way handshake is completed. The value definition is the same as that of drop_entry and drop_packet. h](h)}(hsecure_tcp - INTEGERh]hsecure_tcp - INTEGER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(hhh](jw)}(hhh]j|)}(h0 - disabled (default) h]h)}(h0 - disabled (default)h]h0 - disabled (default)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1j{hjubah}(h]h ]h"]h$]h&]jjuh1jvhhhKhjubh)}(hThe secure_tcp defense is to use a more complicated TCP state transition table. For VS/NAT, it also delays entering the TCP ESTABLISHED state until the three way handshake is completed.h]hThe secure_tcp defense is to use a more complicated TCP state transition table. For VS/NAT, it also delays entering the TCP ESTABLISHED state until the three way handshake is completed.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(hGThe value definition is the same as that of drop_entry and drop_packet.h]hGThe value definition is the same as that of drop_entry and drop_packet.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubeh}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hX#sync_threshold - vector of 2 INTEGERs: sync_threshold, sync_period default 3 50 It sets synchronization threshold, which is the minimum number of incoming packets that a connection needs to receive before the connection will be synchronized. A connection will be synchronized, every time the number of its incoming packets modulus sync_period equals the threshold. The range of the threshold is from 0 to sync_period. When sync_period and sync_refresh_period are 0, send sync only for state changes or only once when pkts matches sync_threshold h](h)}(hBsync_threshold - vector of 2 INTEGERs: sync_threshold, sync_periodh]hBsync_threshold - vector of 2 INTEGERs: sync_threshold, sync_period}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj`ubh)}(hhh](h)}(h default 3 50h]h default 3 50}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjrubh)}(hXQIt sets synchronization threshold, which is the minimum number of incoming packets that a connection needs to receive before the connection will be synchronized. A connection will be synchronized, every time the number of its incoming packets modulus sync_period equals the threshold. The range of the threshold is from 0 to sync_period.h]hXQIt sets synchronization threshold, which is the minimum number of incoming packets that a connection needs to receive before the connection will be synchronized. A connection will be synchronized, every time the number of its incoming packets modulus sync_period equals the threshold. The range of the threshold is from 0 to sync_period.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjrubh)}(h~When sync_period and sync_refresh_period are 0, send sync only for state changes or only once when pkts matches sync_thresholdh]h~When sync_period and sync_refresh_period are 0, send sync only for state changes or only once when pkts matches sync_threshold}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjrubeh}(h]h ]h"]h$]h&]uh1hhj`ubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hXsync_refresh_period - UNSIGNED INTEGER default 0 In seconds, difference in reported connection timer that triggers new sync message. It can be used to avoid sync messages for the specified period (or half of the connection timeout if it is lower) if connection state is not changed since last sync. This is useful for normal connections with high traffic to reduce sync rate. Additionally, retry sync_retries times with period of sync_refresh_period/8. h](h)}(h&sync_refresh_period - UNSIGNED INTEGERh]h&sync_refresh_period - UNSIGNED INTEGER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(hhh](h)}(h default 0h]h default 0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(hIn seconds, difference in reported connection timer that triggers new sync message. It can be used to avoid sync messages for the specified period (or half of the connection timeout if it is lower) if connection state is not changed since last sync.h]hIn seconds, difference in reported connection timer that triggers new sync message. It can be used to avoid sync messages for the specified period (or half of the connection timeout if it is lower) if connection state is not changed since last sync.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(hThis is useful for normal connections with high traffic to reduce sync rate. Additionally, retry sync_retries times with period of sync_refresh_period/8.h]hThis is useful for normal connections with high traffic to reduce sync rate. Additionally, retry sync_retries times with period of sync_refresh_period/8.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubeh}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hsync_retries - INTEGER default 0 Defines sync retries with period of sync_refresh_period/8. Useful to protect against loss of sync messages. The range of the sync_retries is from 0 to 3. h](h)}(hsync_retries - INTEGERh]hsync_retries - INTEGER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(hhh](h)}(h default 0h]h default 0}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubh)}(hDefines sync retries with period of sync_refresh_period/8. Useful to protect against loss of sync messages. The range of the sync_retries is from 0 to 3.h]hDefines sync retries with period of sync_refresh_period/8. Useful to protect against loss of sync messages. The range of the sync_retries is from 0 to 3.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubeh}(h]h ]h"]h$]h&]uh1hhhhhhhhNubh)}(hsync_qlen_max - UNSIGNED LONGh]hsync_qlen_max - UNSIGNED LONG}(hj9 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh block_quote)}(hHard limit for queued sync messages that are not sent yet. It defaults to 1/32 of the memory pages but actually represents number of messages. It will protect us from allocating large parts of memory when the sending rate is lower than the queuing rate. h]h)}(hHard limit for queued sync messages that are not sent yet. It defaults to 1/32 of the memory pages but actually represents number of messages. It will protect us from allocating large parts of memory when the sending rate is lower than the queuing rate.h]hHard limit for queued sync messages that are not sent yet. It defaults to 1/32 of the memory pages but actually represents number of messages. It will protect us from allocating large parts of memory when the sending rate is lower than the queuing rate.}(hjM hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjI ubah}(h]h ]h"]h$]h&]uh1jG hhhMhhhhubh)}(hhh](h)}(hsync_sock_size - INTEGER default 0 Configuration of SNDBUF (master) or RCVBUF (slave) socket limit. Default value is 0 (preserve system defaults). h](h)}(hsync_sock_size - INTEGERh]hsync_sock_size - INTEGER}(hjh hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hjd ubh)}(hhh](h)}(h default 0h]h default 0}(hjy hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjv ubh)}(hoConfiguration of SNDBUF (master) or RCVBUF (slave) socket limit. Default value is 0 (preserve system defaults).h]hoConfiguration of SNDBUF (master) or RCVBUF (slave) socket limit. Default value is 0 (preserve system defaults).}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hjv ubeh}(h]h ]h"]h$]h&]uh1hhjd ubeh}(h]h ]h"]h$]h&]uh1hhhhM hja ubh)}(hsync_ports - INTEGER default 1 The number of threads that master and backup servers can use for sync traffic. Every thread will use single UDP port, thread 0 will use the default port 8848 while last thread will use port 8848+sync_ports-1. h](h)}(hsync_ports - INTEGERh]hsync_ports - INTEGER}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubh)}(hhh](h)}(h default 1h]h default 1}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hj ubh)}(hThe number of threads that master and backup servers can use for sync traffic. Every thread will use single UDP port, thread 0 will use the default port 8848 while last thread will use port 8848+sync_ports-1.h]hThe number of threads that master and backup servers can use for sync traffic. Every thread will use single UDP port, thread 0 will use the default port 8848 while last thread will use port 8848+sync_ports-1.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubeh}(h]h ]h"]h$]h&]uh1hhj ubeh}(h]h ]h"]h$]h&]uh1hhhhMhja hhubh)}(hXvsnat_reroute - BOOLEAN - 0 - disabled - not 0 - enabled (default) If enabled, recalculate the route of SNATed packets from realservers so that they are routed as if they originate from the director. Otherwise they are routed as if they are forwarded by the director. If policy routing is in effect then it is possible that the route of a packet originating from a director is routed differently to a packet being forwarded by the director. If policy routing is not in effect then the recalculated route will always be the same as the original route so it is an optimisation to disable snat_reroute and avoid the recalculation. h](h)}(hsnat_reroute - BOOLEANh]hsnat_reroute - BOOLEAN}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM#hj ubh)}(hhh](jw)}(hhh](j|)}(h 0 - disabledh]h)}(hj h]h 0 - disabled}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1j{hj ubj|)}(hnot 0 - enabled (default) h]h)}(hnot 0 - enabled (default)h]hnot 0 - enabled (default)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1j{hj ubeh}(h]h ]h"]h$]h&]jjuh1jvhhhMhj ubh)}(hIf enabled, recalculate the route of SNATed packets from realservers so that they are routed as if they originate from the director. Otherwise they are routed as if they are forwarded by the director.h]hIf enabled, recalculate the route of SNATed packets from realservers so that they are routed as if they originate from the director. Otherwise they are routed as if they are forwarded by the director.}(hj+ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubh)}(hIf policy routing is in effect then it is possible that the route of a packet originating from a director is routed differently to a packet being forwarded by the director.h]hIf policy routing is in effect then it is possible that the route of a packet originating from a director is routed differently to a packet being forwarded by the director.}(hj9 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubh)}(hIf policy routing is not in effect then the recalculated route will always be the same as the original route so it is an optimisation to disable snat_reroute and avoid the recalculation.h]hIf policy routing is not in effect then the recalculated route will always be the same as the original route so it is an optimisation to disable snat_reroute and avoid the recalculation.}(hjG hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM!hj ubeh}(h]h ]h"]h$]h&]uh1hhj ubeh}(h]h ]h"]h$]h&]uh1hhhhM#hja hhubh)}(hXsync_persist_mode - INTEGER default 0 Controls the synchronisation of connections when using persistence 0: All types of connections are synchronised 1: Attempt to reduce the synchronisation traffic depending on the connection type. For persistent services avoid synchronisation for normal connections, do it only for persistence templates. In such case, for TCP and SCTP it may need enabling sloppy_tcp and sloppy_sctp flags on backup servers. For non-persistent services such optimization is not applied, mode 0 is assumed. h](h)}(hsync_persist_mode - INTEGERh]hsync_persist_mode - INTEGER}(hje hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM1hja ubh)}(hhh](h)}(h default 0h]h default 0}(hjv hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM&hjs ubh)}(hBControls the synchronisation of connections when using persistenceh]hBControls the synchronisation of connections when using persistence}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM(hjs ubh)}(h,0: All types of connections are synchronisedh]h,0: All types of connections are synchronised}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM*hjs ubh)}(hXw1: Attempt to reduce the synchronisation traffic depending on the connection type. For persistent services avoid synchronisation for normal connections, do it only for persistence templates. In such case, for TCP and SCTP it may need enabling sloppy_tcp and sloppy_sctp flags on backup servers. For non-persistent services such optimization is not applied, mode 0 is assumed.h]hXw1: Attempt to reduce the synchronisation traffic depending on the connection type. For persistent services avoid synchronisation for normal connections, do it only for persistence templates. In such case, for TCP and SCTP it may need enabling sloppy_tcp and sloppy_sctp flags on backup servers. For non-persistent services such optimization is not applied, mode 0 is assumed.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM,hjs ubeh}(h]h ]h"]h$]h&]uh1hhja ubeh}(h]h ]h"]h$]h&]uh1hhhhM1hja hhubh)}(hX'sync_version - INTEGER default 1 The version of the synchronisation protocol used when sending synchronisation messages. 0 selects the original synchronisation protocol (version 0). This should be used when sending synchronisation messages to a legacy system that only understands the original synchronisation protocol. 1 selects the current synchronisation protocol (version 1). This should be used where possible. Kernels with this sync_version entry are able to receive messages of both version 1 and version 2 of the synchronisation protocol. h](h)}(hsync_version - INTEGERh]hsync_version - INTEGER}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMAhj ubh)}(hhh](h)}(h default 1h]h default 1}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM4hj ubh)}(hWThe version of the synchronisation protocol used when sending synchronisation messages.h]hWThe version of the synchronisation protocol used when sending synchronisation messages.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM6hj ubh)}(h0 selects the original synchronisation protocol (version 0). This should be used when sending synchronisation messages to a legacy system that only understands the original synchronisation protocol.h]h0 selects the original synchronisation protocol (version 0). This should be used when sending synchronisation messages to a legacy system that only understands the original synchronisation protocol.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM9hj ubh)}(h_1 selects the current synchronisation protocol (version 1). This should be used where possible.h]h_1 selects the current synchronisation protocol (version 1). This should be used where possible.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM=hj ubh)}(hKernels with this sync_version entry are able to receive messages of both version 1 and version 2 of the synchronisation protocol.h]hKernels with this sync_version entry are able to receive messages of both version 1 and version 2 of the synchronisation protocol.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM@hj ubeh}(h]h ]h"]h$]h&]uh1hhj ubeh}(h]h ]h"]h$]h&]uh1hhhhMAhja hhubh)}(hXrun_estimation - BOOLEAN 0 - disabled not 0 - enabled (default) If disabled, the estimation will be suspended and kthread tasks stopped. You can always re-enable estimation by setting this value to 1. But be careful, the first estimation after re-enable is not accurate.h](h)}(hrun_estimation - BOOLEANh]hrun_estimation - BOOLEAN}(hj% hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMKhj! ubh)}(hhh](h)}(h&0 - disabled not 0 - enabled (default)h]h&0 - disabled not 0 - enabled (default)}(hj6 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMDhj3 ubh)}(hHIf disabled, the estimation will be suspended and kthread tasks stopped.h]hHIf disabled, the estimation will be suspended and kthread tasks stopped.}(hjD hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMGhj3 ubh)}(hYou can always re-enable estimation by setting this value to 1. But be careful, the first estimation after re-enable is not accurate.h]hYou can always re-enable estimation by setting this value to 1. But be careful, the first estimation after re-enable is not accurate.}(hjR hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMJhj3 ubeh}(h]h ]h"]h$]h&]uh1hhj! ubeh}(h]h ]h"]h$]h&]uh1hhhhMKhja hhubeh}(h]h ]h"]h$]h&]uh1hhhhhhhhNubeh}(h]proc-sys-net-ipv4-vs-variablesah ]h"]"/proc/sys/net/ipv4/vs/* variables:ah$]h&]uh1hhhhhhhhKubeh}(h] ipvs-sysctlah ]h"] ipvs-sysctlah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksentryfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerj error_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(j j| jw jt u nametypes}(j jw uh}(j| hjt hu footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]transform_messages] transformerN include_log] decorationNhhub.