How-to: Basic HAProxy Active/Backup Example Configuration (keepalived) for CentOS/RHEL 6

I had an earlier post regarding a basic HAProxy install that will work fine if your site(s) can tolerate some down time should something happen to your server/instance running HAProxy. While this might be acceptable for a personal site, it quickly becomes unacceptable should your business rely on your site being up without interruption. Luckily for you, it’s relatively simple to configure an HA pair of HAProxy load balancers.

Continue reading “How-to: Basic HAProxy Active/Backup Example Configuration (keepalived) for CentOS/RHEL 6”

How-to: Basic HAProxy Example Configuration for CentOS/RHEL 6

This is a basic HAProxy configuration example that should get you up and running with the simplest of setups. This configuration will have the HAProxy Info page listening on 8080 (adjust as needed) with username/password authentication. In addition, it will also look for http://yourip/healthcheck in addition to the TCP 80 HTTP Port Probes. Why is this useful?

Continue reading “How-to: Basic HAProxy Example Configuration for CentOS/RHEL 6”