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
id The node keys will be derived from the server's numeric
21389
21389
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
21390
-
in the server list.
21390
+
in the server list. This is the default. Note that only the 28
21391
+
lowest bits of the ID will be used (i.e. (id % 268435456)), so
21392
+
better only use values comprised between 1 and this value to
21393
+
avoid overlap.
21391
21394
21392
21395
addr The node keys will be derived from the server's address, when
21393
21396
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>".
HAProxy processes are balancing traffic to the same set of servers. If the
21400
21403
server order of each process is different (because, for example, DNS records
21401
21404
were resolved in different orders) then this will allow each independent
21402
-
HAProxy processes to agree on routing decisions.
21405
+
HAProxy processes to agree on routing decisions. Note: "balance random" also
21406
+
uses "hash-type consistent", and the quality of the distribution will depend
21407
+
on the quality of the keys.
21403
21408
</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
21404
21409
21405
21410
Set a persistent ID for the server. This ID must be positive and unique for
0 commit comments