负载均衡之HAProxy详解(3)

开启日志记录:
[root@sherry ~]# vim /etc/rsyslog.conf 
# Provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514
 
# Provides TCP syslog reception
$ModLoad imtcp
$InputTCPServerRun 514
local2.*                                                /var/log/haproxy.log
 
 
[root@sherry ~]# /etc/init.d/rsyslog restart

测试结果:

负载均衡之HAProxy详解

负载均衡之HAProxy详解

Haproxy+Keepalived搭建Weblogic高可用负载均衡集群

Keepalived+HAProxy配置高可用负载均衡

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/dc617481c7ea12124bf06d13cc5389dd.html