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
22676
22684
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
22677
-
in the server list.
22685
+
in the server list. This is the default. Note that only the 28
22686
+
lowest bits of the ID will be used (i.e. (id % 268435456)), so
22687
+
better only use values comprised between 1 and this value to
22688
+
avoid overlap.
22678
22689
22679
22690
addr The node keys will be derived from the server's address, when
22680
22691
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
22687
22698
server order of each process is different (because, for example, DNS records
22688
22699
were resolved in different orders) then this will allow each independent
22689
-
HAProxy processes to agree on routing decisions.
22700
+
HAProxy processes to agree on routing decisions. Note: "balance random" also
22701
+
uses "hash-type consistent", and the quality of the distribution will depend
22702
+
on the quality of the keys.
22690
22703
</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
22691
22704
22692
22705
Set a persistent ID for the server. This ID must be positive and unique for
0 commit comments