HAProxy Enterprise Documentation 1.8r2
dynamic-update section lets HAProxy Enterprise pull updated ACL and Map files from a remote server. This allows a cluster of HAProxy Enterprise instances to stay in sync.
In order to use the
dynamic-update section you first need to install HAProxy Enterprise's Update module.
$ # On Debian/Ubuntu
$ sudo apt-get install hapee-1.8r2-lb-update
$ # On CentOS/RedHat/Oracle
$ sudo yum install hapee-1.8r2-lb-update
After the Update module is installed, we can list one or more
update lines in a
dynamic-update section. Each specifies a file to pull from a remote server to the current load balancer instance.
update id /etc/hapee-1.8/forbid.map url http://10.0.0.1:80/forbid.map delay 5m timeout 5s retries 3 map log dontlog-normal
The following configuration fields are available for
the path of the local file to update; It must exist when HAProxy Enterprise starts.
the URL from which to download updated contents.
how often to download updates; The default is 5 minutes (5m).
how long to wait when trying to connect to the remote server; It defaults to 5 seconds (5s).
the number of times to retry connecting to the remote server.
informs that the downloaded file should be interpreted as a Map file instead of an ACL file.
enables logging; Logs will be sent to the destination set by the
disables logging of successful updates.
Next up Binds