]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: server: implement 'add server' cli command
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 8 Mar 2021 16:13:32 +0000 (17:13 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 18 Mar 2021 14:52:07 +0000 (15:52 +0100)
commitf99f77a500ed9496eed9f4689cb7209dbfdcdb06
tree24ef2ffb113daadffb99fc68b10c4dc0e2f1a82f
parent216a1ce3b9e14b512d050a4a8bc8f3852c24dcd5
MEDIUM: server: implement 'add server' cli command

Add a new cli command 'add server'. This command is used to create a new
server at runtime attached on an existing backend. The syntax is the
following one :

$ add server <be_name>/<sv_name> [<kws>...]

This command is only available through experimental mode for the moment.

Currently, no server keywords are supported. They will be activated
individually when deemed properly functional and safe.

Another limitation is put on the backend load-balancing algorithm. The
algorithm must use consistent hashing to guarantee a minimal
reallocation of existing connections on the new server insertion.
doc/management.txt
src/server.c