스마트웹앱콘텐츠전문가/프록시 서버

[HAPROXY] Statistics Report 사용

9D4U 2019. 12. 5. 15:35
728x90
반응형

[초기 설정]

사용할 포트 및 방화벽 설정

-------

1. haproxy.cfg 에 stats 추가

~]# vi /etc/haproxy/haproxy.cfg

[stats 부문 주목]

~]# systemctl restart haproxy

~]# netstats -tnlp 를 통해서 haproxy가 사용하는 포트 확인

 

2. 브라우저로 Statistics Report 확인(예: http://192.168.0.56:1936/haproxy?stats)

[로드 밸런서 예시]

728x90