HAProxy : Load Balancing on Layer4
HAProxy : Load Balancing on Layer4 2015/02/18 Configure HAProxy on Layer4 Mode. This example based on the environment like follows. | -------+----------------------------------------------- | +-------------------+--------------------+ |10.0.0.30 |10.0.0.31 |10.0.0.32 +-----+-----+ +-------+------+ +-------+------+ | Frontend | | Backend#1 | | Backend#2 | | HAProxy | | MariaDB | | MariaDB | +-----------+ +--------------+ +--------------+ [1] Configure HAProxy. [root@dlp ~]# vi /etc/haproxy/haproxy.cfg global log 127.0.0.1 local2 info chroot /var/lib/haproxy pidfile /var/run/haproxy.pid maxconn 256 maxsslconn 256 user haproxy group haproxy daemon defaults # set "mode tcp" for Layer4 mode tcp log global timeout con...