961
Comment:
|
← Revision 10 as of 2018-01-10 00:22:07 ⇥
0
Moved to a shared corosync and HA-proxy page
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= HA-proxy = None of what you see below is true! Setup dns for the virtual ip, then setup Corosync before starting with this guide. HA-proxy is short for High Availibility proxy. It has features to check that the servers behind it are up, and round robins incoming requests between the servers. HA-proxy can be used with various server types. We will configure two HA-proxys, which later will be running an active/passive setup with Corosync * 192.168.1.48 haproxy01 * 192.168.1.49 haproxy02 == Software == {{{ apt-get install haproxy crmsh }}} == Configuration == === Apache === Add the following to `/etc/haproxy/haproxy.cfg` {{{ listen webfarm bind www:80 mode http balance roundrobin cookie LBN insert indirect nocache option httpclose option forwardfor server haproxy01 www01:80 cookie node1 check server haproxy02 www02:80 cookie node2 check }}} |