You can upgrade HAProxy Enterprise to version 2.4r1 on the following operating systems:
Upgrade to HAProxy Enterprise 2.4r1
The following upgrade procedure installs a new major version of HAProxy Enterprise.
Take the server that you want to upgrade out of the cluster.
Install HAProxy Enterprise 2.4r1 by running the following command and replacing <HAProxy Enterprise Key> with the key you received when you registered:
$ wget https://www.haproxy.com/static/install_haproxy_enterprise.sh $ sudo bash ./install_haproxy_enterprise.sh \ --version 2.4r1 \ --key <HAProxy Enterprise key>
Update additional modules: you may be running additional modules with HAProxy Enterprise, which you must also reinstall when you upgrade to a new release. Install a package using its name, for example:
$ sudo pkg install hapee-2.4r1-lb-update
Copy /usr/local/etc/hapee-[previous-version]/hapee-lb.cfg over to /usr/local/etc/hapee-2.4/hapee-lb.cfg and any associated files (maps, certificates, etc).
Stop the old HAProxy Enterprise daemon and start the new daemon:
$ sudo service hapee_<previous-version>_lb onestop $ sudo service hapee_24_lb onestart
tail -f /var/log/messages(or distribution equivalent) to check for warnings or errors.
curl localhostto ensure that HAProxy Enterprise is responding. Adjust address/port as needed, and use a local address that is currently active on the box and not a VRRP IP.
Put the upgraded server back into the cluster.
Repeat this procedure on secondary servers.
After you upgrade, see the section on additional packages on how to enable and configure each one.
After the new HAProxy Enterprise version has been running for a while, you can uninstall the old HAProxy Enterprise version. To uninstall a package:
$ sudo pkg delete hapee-<previous-version>-lb
Update HAProxy Enterprise
The update procedure installs the latest build for your current HAProxy Enterprise version in order to benefit from the latest bug fixes.
$ sudo pkg update $ sudo pkg upgrade