HAProxy installation guide.

HAProxy installation is supported and tested on Red Hat Enterprise Linux (RHEL) 7.x or 8.x and can be obtained from the official Red Hat repository. You can install HAProxy on RHEL 7.x or 8.x by using yum package manager. To configure HAProxy as a load-balancer for vRealize Operations Manager please follow the steps below:


  1. Perform a package update on system to ensure all packages are up-to-date:
    yum update
  2. Install HAProxy:
    yum -y install haproxy
  3. Copy original HAProxy configuration to backup file:
    cp /etc/haproxy/haproxy.cfg /etc/haproxy/haproxy.cfg.bak
  4. Configure HAProxy configuration. To configure analytics balancer, seeConfigure HAProxy Analyticsand to configure EPOps balancer, seeConfigure EPOps HAProxy.
  5. Allow firewall traffic through for the ports needed for HAProxy to function:
    firewall-cmd --permanent --zone=public --add-port=80/tcp
    firewall-cmd --permanent --zone=public --add-port=9090/tcp
    firewall-cmd --permanent --zone=public --add-port=443/tcp
  6. Reload the firewall configuration:
    systemctl reload firewalld
  7. Enable HAProxy to connect to any interface:
    setsebool -P haproxy_connect_any 1
  8. Enable HAProxy service:
    systemctl enable haproxy