On 20/02/2018 09:11 πμ, Pieter Vogelaar wrote: > Hi Willy, > > Thanks I will look into that! > > On the statistics report page it's possible to set all servers of a backend > in maintence mode. Is it also possible to set the servers of all backends in > maintenance mode? > > Best regards, > Pieter Vogelaar >
You may want to look at https://github.com/unixsurfer/haproxytool, as it does exactly what you want % haproxytool server -d bck_all_srv1 Are you sure we want to disable 3 servers y/n?: y bck_all_srv1 disabled in backend1_proc34 backend bck_all_srv1 disabled in backend_proc1 backend bck_all_srv1 disabled in backend2_proc34 backend Cheers, Pavlos
signature.asc
Description: OpenPGP digital signature

