From 2d8fd9bfef2d7da9c6fd75a55e9ebcb4ad8113b8 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: 2023年7月26日 12:36:40 +0200 Subject: [PATCH] [doc] Document usage of binding to interface Change-Id: Iba1f4a284beaba8d2d7f020ca7ad2d78d6360161 --- doc/source/configure-haproxy.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/doc/source/configure-haproxy.rst b/doc/source/configure-haproxy.rst index 8db5f2a..2c753bc 100644 --- a/doc/source/configure-haproxy.rst +++ b/doc/source/configure-haproxy.rst @@ -339,6 +339,24 @@ This can be set in the ``user_variables.yml`` file: haproxy_bind_external_lb_vip_address: 10.0.0.10 haproxy_bind_internal_lb_vip_address: 192.168.0.10 +Binding haproxy to interface +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +In some cases it might be more convenient to bind haproxy to the interface +rather then a specific IP address. For example, this is handy if you decide +to balance load between HAProxy instances using DNS RR, where each HAProxy +will have it's own VIP which will failover to others. + +Binding to the interface can be set by providing following variables +in the ``user_variables.yml`` file: + +.. code-block:: yaml + + haproxy_bind_external_lb_vip_address: "*" + haproxy_bind_internal_lb_vip_address: "*" + haproxy_bind_external_lb_vip_interface: bond0 + haproxy_bind_internal_lb_vip_interface: br-mgmt + Adding Access Control Lists to HAProxy front end ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

AltStyle によって変換されたページ (->オリジナル) /