Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

Proper way to reload HAProxy 2.9 on Ubuntu 24.04 for seamless / hitless reload?

$
0
0

What is the proper way to reload haproxy 2.9.7 on Ubuntu 24.04 to apply config changes while also having the reload be seamless/hitless?

I’m a little unsure if info that I read about older versions of HAProxy apply in the same way to version 2.9. For example, the “expose-fd listeners” config setting on the global stats line, I read that has something to do with seamless reloads. However, that config setting is not in the default 2.9.7 haproxy.cfg file. So maybe this is a depreciated setting?

In case it makes any difference, I installed HAProxy using the instructions at HAProxy packages for Debian and Ubuntu

The commands to restart or reload that I’m aware of are:

systemctl restart haproxy
systemctl reload haproxy
service haproxy restart
service haproxy reload

I’m thinking “systemctl reload haproxy” is the proper way to reload config changes gracefully, with seamless / hitless reloads. Is that correct?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>