You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
better only use values comprised between 1 and this value to
23309
23312
avoid overlap.
23310
23313
23314
+
id32 The node keys will be derived from the server's numeric
23315
+
identifier as set from "<span class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">id<span class="caret"></span></a><ul class="dropdown-menu"><li class="dropdown-header">This keyword is available in sections :</li><li><a href="#id%20%28Alphabetically%20sorted%20keywords%20reference%29">Alphabetically sorted keywords reference</a></li><li><a href="#id%20%28Bind%20options%29">Bind options</a></li><li><a href="#id%20%28Server%20and%20default-server%20options%29">Server and default-server options</a></li></ul></span>" or which defaults to its position
23316
+
in the server list, but the full 32 bits of the ID will be
23317
+
used so that there is no collision. This one is not scaled
23318
+
like "<span class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">id<span class="caret"></span></a><ul class="dropdown-menu"><li class="dropdown-header">This keyword is available in sections :</li><li><a href="#id%20%28Alphabetically%20sorted%20keywords%20reference%29">Alphabetically sorted keywords reference</a></li><li><a href="#id%20%28Bind%20options%29">Bind options</a></li><li><a href="#id%20%28Server%20and%20default-server%20options%29">Server and default-server options</a></li></ul></span>" is, so it is recommended to either always use it
23319
+
with a hash function (see "<a href="#hash-key">hash-key</a>") or with explicitly
23320
+
assigned ID values that are evenly distributed over the 32-bit
23321
+
space.
23322
+
23323
+
guid The node keys will be derived from the server's guid, when
23324
+
available, otherwise they will fall back on "<span class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">id<span class="caret"></span></a><ul class="dropdown-menu"><li class="dropdown-header">This keyword is available in sections :</li><li><a href="#id%20%28Alphabetically%20sorted%20keywords%20reference%29">Alphabetically sorted keywords reference</a></li><li><a href="#id%20%28Bind%20options%29">Bind options</a></li><li><a href="#id%20%28Server%20and%20default-server%20options%29">Server and default-server options</a></li></ul></span>". The benefit
23325
+
is that it does not depend on ordering at all, only on an
23326
+
internal stable identifier that can be replicated across many
23327
+
load balancers.
23328
+
23311
23329
addr The node keys will be derived from the server's address, when
23312
23330
available, or else fall back on "<span class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">id<span class="caret"></span></a><ul class="dropdown-menu"><li class="dropdown-header">This keyword is available in sections :</li><li><a href="#id%20%28Alphabetically%20sorted%20keywords%20reference%29">Alphabetically sorted keywords reference</a></li><li><a href="#id%20%28Bind%20options%29">Bind options</a></li><li><a href="#id%20%28Server%20and%20default-server%20options%29">Server and default-server options</a></li></ul></span>".
</pre><a class="anchor" name="id"></a><a class="anchor" name="5-id"></a><a class="anchor" name="5.2-id"></a><a class="anchor" name="id (Bind and server options)"></a><a class="anchor" name="id (Server and default-server options)"></a><div class="keyword"><b><a class="anchor" name="id"></a><a href="#5.2-id">id</a></b> <span style="color: #080"><value></span></div><pre class="text">May be used in the following contexts: tcp, http, log
23334
23352
23335
-
Set a persistent ID for the server. This ID must be positive and unique for
23336
-
the proxy. An unused ID will automatically be assigned if unset. The first
23337
-
assigned value will be 1. This ID is currently only returned in statistics.
23353
+
Set a persistent ID for the server. This ID must be a 32-bit positive number
23354
+
and unique for the proxy. An unused ID will automatically be assigned if
23355
+
unset. The first assigned value will be 1. This ID is currently only returned
23356
+
in statistics, and is used to place LB nodes when using consistent hash
23357
+
algorithms when "<a href="#hash-key">hash-key</a>" is set to "<span class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">id<span class="caret"></span></a><ul class="dropdown-menu"><li class="dropdown-header">This keyword is available in sections :</li><li><a href="#id%20%28Alphabetically%20sorted%20keywords%20reference%29">Alphabetically sorted keywords reference</a></li><li><a href="#id%20%28Bind%20options%29">Bind options</a></li><li><a href="#id%20%28Server%20and%20default-server%20options%29">Server and default-server options</a></li></ul></span>" (the default). In this case, only
23358
+
the 28 lowest bits of the value are used (i.e. (id % 268435356)), so better
23359
+
only use values comprised between 1 and this value to avoid overlap.
23338
23360
</pre><a class="anchor" name="idle-ping"></a><a class="anchor" name="5-idle-ping"></a><a class="anchor" name="5.2-idle-ping"></a><a class="anchor" name="idle-ping (Bind and server options)"></a><a class="anchor" name="idle-ping (Server and default-server options)"></a><div class="keyword"><b><a class="anchor" name="idle-ping"></a><a href="#5.2-idle-ping">idle-ping</a></b> <span style="color: #080"><delay></span></div><pre class="text">May be used in the following contexts: tcp, http, log
23339
23361
23340
23362
Define an interval for periodic liveliness on idle backend connections. If
effect to extend the effective check interval. In such a case, reducing the
23412
23434
"<a href="#inter">inter</a>" setting will have a very limited effect as it will not be able to
23413
23435
reduce the time spent in the queue.
23414
-
</pre><a class="anchor" name="init-state"></a><a class="anchor" name="5-init-state"></a><a class="anchor" name="5.2-init-state"></a><a class="anchor" name="init-state (Bind and server options)"></a><a class="anchor" name="init-state (Server and default-server options)"></a><div class="keyword"><b><a class="anchor" name="init-state"></a><a href="#5.2-init-state">init-state</a></b> <span style="color: #800">{ fully-up | up | down | fully-down }</span></div><pre class="text">May be used in the following contexts: tcp, http
23436
+
</pre><a class="anchor" name="init-state"></a><a class="anchor" name="5-init-state"></a><a class="anchor" name="5.2-init-state"></a><a class="anchor" name="init-state (Bind and server options)"></a><a class="anchor" name="init-state (Server and default-server options)"></a><div class="keyword"><b><a class="anchor" name="init-state"></a><a href="#5.2-init-state">init-state</a></b> <span style="color: #800">{ fully-up | up | down | fully-down | none }</span></div><pre class="text">May be used in the following contexts: tcp, http
23415
23437
</pre><div><p> May be used in sections :</p><table class="table table-bordered" border="0" cellspacing="0" cellpadding="0">
As a DNS server may not answer all the IPs in one DNS request, HAProxy keeps
24469
24496
a cache of previous answers, an answer will be considered obsolete after
24470
24497
<hold obsolete> seconds without the IP returned.
24471
-
</pre><a class="anchor" name="resolvers"></a><a class="anchor" name="5-resolvers"></a><a class="anchor" name="5.3.2-resolvers"></a><a class="anchor" name="resolvers (Bind and server options)"></a><a class="anchor" name="resolvers (The resolvers section)"></a><div class="keyword"><b><a class="anchor" name="resolvers"></a><a href="#5.3.2-resolvers">resolvers</a></b> <span style="color: #080"><resolvers id></span></div><pre class="text"> Creates a new name server list labeled <resolvers id>
24498
+
</pre><a class="anchor" name="resolvers"></a><a class="anchor" name="5-resolvers"></a><a class="anchor" name="5.3.2-resolvers"></a><a class="anchor" name="resolvers (Bind and server options)"></a><a class="anchor" name="resolvers (The resolvers section)"></a><div class="keyword"><b><a class="anchor" name="resolvers"></a><a href="#5.3.2-resolvers">resolvers</a></b> <span style="color: #080"><resolvers id></span></div><pre class="text"> Creates a new name server list labeled <resolvers id>. As mentioned above,
24499
+
the special name "default" always exists and will be automatically created if
24500
+
not explicitly declared; this will be the one internal services such as
24501
+
httpclient rely on. Declaring a "default" entry will affect how such services
24502
+
perform their name resolution.
24472
24503
24473
24504
A resolvers section accept the following parameters:
24474
24505
</pre><a class="anchor" name="accepted_payload_size"></a><a class="anchor" name="5-accepted_payload_size"></a><a class="anchor" name="5.3.2-accepted_payload_size"></a><a class="anchor" name="accepted_payload_size (Bind and server options)"></a><a class="anchor" name="accepted_payload_size (The resolvers section)"></a><div class="keyword"><b><a class="anchor" name="accepted_payload_size"></a><a href="#5.3.2-accepted_payload_size">accepted_payload_size</a></b> <span style="color: #080"><nb></span></div><pre class="text">Defines the maximum payload size accepted by HAProxy and announced to all the
0 commit comments