728x90 반응형 SMALL 서버/Haproxy3 [Haproxy] HAProxy 설정 #---------------------------------------------------------------------# Example configuration for a possible web application. See the# full configuration options online.## https://www.haproxy.org/download/1.8/doc/configuration.txt##---------------------------------------------------------------------#---------------------------------------------------------------------# Global settings#------.. 2025. 3. 11. haproxy log 설정 - haproxy log 설정 vi /etc/rsyslog.d/haproxy.conf # Provides UDP syslog reception $ModLoad imudp $UDPServerRun 514 $template Haproxy, "%msg%\n" #rsyslog 에는 rsyslog 가 메세지를 수신한 시각 및 데몬 이름같은 추가적인 정보가 prepend 되므로, message 만 출력하는 템플릿 지정 # 이를 haproxy-info.log 에만 적용한다. # 모든 haproxy 를 남기려면 다음을 주석해재, 단 access log 가 기록되므로, 양이 많다. local0.* /var/log/haproxy/haproxy.log # local0.=info 는 haproxy 에서 에러로 처리된 이벤트들.. 2019. 9. 23. Haproxy 설치 OS : CeontOS7 Haproxy version : 1.8.13 # 필수 라이브러리 설치 yum -y install gcc openssl-devel #압축 해제 tar xvfz haproxy-1.8.13.tar.gz cd haproxy-1.8.13 make TARGET=linux2628 USE_OPENSSL=1 # 여기서 TARGET 옵션은 리눅스 종류에 맞춰 지정합니다. - linux22 for Linux 2.2 - linux24 for Linux 2.4 and above (default) - linux24efor Linux 2.4 with support for a working epoll (> 0.21) - linux26 for Linux 2.6 and above - linux2628 for L.. 2019. 9. 18. 이전 1 다음 728x90 반응형 SMALL