Hi list,

While trying out how to use load-server-state-from-file i noticed that 'drain' state set through the stats page is not restored after loading the state back.

I'm using haproxy 1.6.4 / 1.7-dev2 . I realize these are not the latest (1.6.5 has dns resolver issues), but am wondering is it 'by design' or should the administrative state be restored by this as well?

When putting a server into 'maintenance' state is does load that back properly, which seems to confirm my configuration is correct.

Basically the config i was using turns out to the one below after stripping most (irrelevant?) parts..

Regards,

Pieter

global
        server-state-file /tmp/haproxy_server_state
defaults
        mode                    tcp
frontend webgui
        bind                    192.168.0.133:10443
        default_backend webgui_https_ipvANY

backend webgui_https_ipvANY
        load-server-state-from-file global
        server                  webgui 192.168.0.133:444


Reply via email to