HOSTNAME | IP | PORT | DESC |
VIP | 192.168.110.130 | haproxy01~02 | |
haproxy01 | 192.168.110.131 | 80 | keepalived+haproxy - Master |
haproxy02 | 192.168.110.132 | 80 | keepalived+haproxy - Backup |
web01 (was01) | 192.168.110.141 | 80 | Apache2.4 |
web02 (was02) | 192.168.110.142 | 80 | Apache2.4 |
was01 | 192.168.110.141 | 8080 | Tomcat8.5 |
was02 | 192.168.110.142 | 8080 | Tomcat8.5 |
[root@haproxy01 ~]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 192.168.110.131 haproxy01 192.168.110.132 haproxy02 [root@haproxy02 ~]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 192.168.110.131 haproxy01 192.168.110.132 haproxy02 |
[root@haproxy01 ~]# yum install keepalived [root@haproxy02 ~]# yum install keepalived |
[root@haproxy01 keepalived]# cat keepalived.conf global_defs { notification_email { network-admins@domain.com } notification_email_from web_node1@domain.com smtp_server localhost smtp_connect_timeout 30 router_id WEB_CLUSTER1 } vrrp_instance VI_1 { state MASTER interface eth0 virtual_router_id 51 priority 110 advert_int 1 authentication { auth_type PASS auth_pass 1111 } virtual_ipaddress { 192.168.110.130 } } [root@haproxy02 keepalived]# cat keepalived.conf global_defs { notification_email { network-admins@domain.com } notification_email_from web_node2@domain.com smtp_server localhost smtp_connect_timeout 30 router_id WEB_CLUSTER1 } vrrp_instance VI_2 { state MASTER interface eth0 virtual_router_id 51 priority 100 advert_int 1 authentication { auth_type PASS auth_pass 1111 } virtual_ipaddress { 192.168.110.130 } } |
[root@haproxy01 keepalived]# systemctl stop keepalived [root@haproxy01 keepalived]# systemctl start keepalived [root@haproxy01 keepalived]# systemctl status keepalived ● keepalived.service - LVS and VRRP High Availability Monitor Loaded: loaded (/usr/lib/systemd/system/keepalived.service; disabled; vendor preset: disabled) Active: active (running) since 금 2019-08-23 16:33:21 KST; 4s ago Process: 29399 ExecStart=/usr/sbin/keepalived $KEEPALIVED_OPTIONS (code=exited, status=0/SUCCESS) Main PID: 29400 (keepalived) CGroup: /system.slice/keepalived.service ├─29400 /usr/sbin/keepalived -D ├─29401 /usr/sbin/keepalived -D └─29402 /usr/sbin/keepalived -D 8월 23 16:33:21 haproxy01 Keepalived_vrrp[29402]: VRRP sockpool: [ifindex(2), proto(112), unicast(0), f...1)] 8월 23 16:33:22 haproxy01 Keepalived_vrrp[29402]: VRRP_Instance(VI_1) Transition to MASTER STATE 8월 23 16:33:23 haproxy01 Keepalived_vrrp[29402]: VRRP_Instance(VI_1) Entering MASTER STATE 8월 23 16:33:23 haproxy01 Keepalived_vrrp[29402]: VRRP_Instance(VI_1) setting protocol VIPs. 8월 23 16:33:23 haproxy01 Keepalived_vrrp[29402]: Sending gratuitous ARP on eth0 for 192.168.110.140 8월 23 16:33:23 haproxy01 Keepalived_vrrp[29402]: VRRP_Instance(VI_1) Sending/queueing gratuitous ARPs ...140 8월 23 16:33:23 haproxy01 Keepalived_vrrp[29402]: Sending gratuitous ARP on eth0 for 192.168.110.140 |
[root@haproxy02 keepalived]# systemctl stop keepalived [root@haproxy02 keepalived]# systemctl start keepalived [root@haproxy02 keepalived]# systemctl status keepalived ● keepalived.service - LVS and VRRP High Availability Monitor Loaded: loaded (/usr/lib/systemd/system/keepalived.service; disabled; vendor preset: disabled) Active: active (running) since 금 2019-08-23 16:33:31 KST; 3s ago Process: 3458 ExecStart=/usr/sbin/keepalived $KEEPALIVED_OPTIONS (code=exited, status=0/SUCCESS) Main PID: 3459 (keepalived) CGroup: /system.slice/keepalived.service ├─3459 /usr/sbin/keepalived -D ├─3460 /usr/sbin/keepalived -D └─3461 /usr/sbin/keepalived -D 8월 23 16:33:31 haproxy02 Keepalived_vrrp[3461]: Registering Kernel netlink command channel 8월 23 16:33:31 haproxy02 Keepalived_vrrp[3461]: Registering gratuitous ARP shared channel 8월 23 16:33:31 haproxy02 Keepalived_vrrp[3461]: Opening file '/etc/keepalived/keepalived.conf'. 8월 23 16:33:31 haproxy02 Keepalived_vrrp[3461]: VRRP_Instance(VI_1) removing protocol VIPs. 8월 23 16:33:31 haproxy02 Keepalived_vrrp[3461]: Using LinkWatch kernel netlink reflector... 8월 23 16:33:31 haproxy02 systemd[1]: Started LVS and VRRP High Availability Monitor. 8월 23 16:33:31 haproxy02 Keepalived_vrrp[3461]: VRRP sockpool: [ifindex(2), proto(112), unicast(0), f...1)] 8월 23 16:33:32 haproxy02 Keepalived_vrrp[3461]: VRRP_Instance(VI_1) Transition to MASTER STATE 8월 23 16:33:32 haproxy02 Keepalived_vrrp[3461]: VRRP_Instance(VI_1) Received advert with higher prior...100 8월 23 16:33:32 haproxy02 Keepalived_vrrp[3461]: VRRP_Instance(VI_1) Entering BACKUP STATE |
[root@haproxy01 ~]# yum install haproxy [root@haproxy02 ~]# yum install haproxy |
[root@haproxy01 haproxy]# cat haproxy.cfg #--------------------------------------------------------------------- # Global settings #--------------------------------------------------------------------- global log 127.0.0.1 local2 chroot /var/lib/haproxy pidfile /var/run/haproxy.pid maxconn 2048 user haproxy group haproxy daemon # turn on stats unix socket stats socket /var/lib/haproxy/stats #--------------------------------------------------------------------- # common defaults that all the 'listen' and 'backend' sections will # use if not designated in their block #--------------------------------------------------------------------- defaults mode http log global option httplog option dontlognull option http-server-close option forwardfor except 127.0.0.0/8 option redispatch retries 3 timeout http-request 10s timeout queue 1m timeout connect 10s timeout client 1m timeout server 1m timeout http-keep-alive 10s timeout check 10s maxconn 3000 listen stats :81 mode http log global maxconn 10 stats enable stats refresh 30s stats uri /haproxy.stats #--------------------------------------------------------------------- # main frontend which proxys to the backends #--------------------------------------------------------------------- frontend main *:80 default_backend httpd #--------------------------------------------------------------------- # round robin balancing between the various backends #--------------------------------------------------------------------- backend httpd balance roundrobin server haproxy01 192.168.110.131:85 check server haproxy02 192.168.110.132:85 check |
[root@haproxy01 haproxy]# cat /etc/rsyslog.d/haproxy.conf # Provides UDP syslog reception $ModLoad imudp $UDPServerRun 514 $AllowedSender UDP, 127.0.0.1 $template Haproxy, "%msg%\n" #rsyslog 에는 rsyslog 가 메세지를 수신한 시각 및 데몬 이름같은 추가적인 정보가 prepend 되므로, message만 출력하는 템플릿 지정 # 이를 haproxy-info.log에만 적용한다. # 모든 haproxy를 남기려면 다음을 주석 해제, 단 access log가 기록되므로, 양이 많다. #local2.* /var/log/haproxy/haproxy.log # local2.info는 haproxy 에서 에러로 처리된 이벤트들만 기록하게 됨 (포맷 적용) local2.info /var/log/haproxy/haproxy-info.log;Haproxy # local0.notice는 haproxy 가 재시작되는 경우와 같은 시스템 메세지를 기록하게됨 (포맷 미적용) local2.notice /var/log/haproxy/haproxy-notice.log |
[root@haproxy01 haproxy]# cat /etc/logrotate.d/haproxy /var/log/haproxy/*.log { daily rotate 30 create 0644 nobody nobody missingok notifempty compress sharedscripts postrotate /bin/systemctl restart rsyslog.service > /dev/null 2>/dev/null || true # /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true # /bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || true endscript } [root@haproxy01 haproxy]# systemctl restart rsyslog [root@haproxy01 haproxy]# systemctl status rsyslog ● rsyslog.service - System Logging Service Loaded: loaded (/usr/lib/systemd/system/rsyslog.service; enabled; vendor preset: enabled) Active: active (running) since Sun 2019-08-25 12:31:53 KST; 13min ago Docs: man:rsyslogd(8) http://www.rsyslog.com/doc/ Main PID: 1320 (rsyslogd) CGroup: /system.slice/rsyslog.service └─1320 /usr/sbin/rsyslogd -n Aug 25 12:31:53 haproxy01 rsyslogd[1320]: [origin software="rsyslogd" swVersion="8.24.0" x-pid="1320" ...tart Aug 25 12:31:53 haproxy01 systemd[1]: Starting System Logging Service... Aug 25 12:31:53 haproxy01 systemd[1]: Started System Logging Service. [root@haproxy01 haproxy]# ln -s /var/log/haproxy logs [root@haproxy01 haproxy]# ll -rw-r--r-- 1 root root 1973 Aug 25 12:30 haproxy.cfg lrwxrwxrwx 1 root root 16 Aug 25 12:31 logs -> /var/log/haproxy |
[root@haproxy02 haproxy]# cat haproxy.cfg #--------------------------------------------------------------------- # Global settings #--------------------------------------------------------------------- global log 127.0.0.1 local2 chroot /var/lib/haproxy pidfile /var/run/haproxy.pid maxconn 4000 user haproxy group haproxy daemon # turn on stats unix socket stats socket /var/lib/haproxy/stats #--------------------------------------------------------------------- # common defaults that all the 'listen' and 'backend' sections will # use if not designated in their block #--------------------------------------------------------------------- defaults mode http log global option httplog option dontlognull option http-server-close option forwardfor except 127.0.0.0/8 option redispatch retries 3 timeout http-request 10s timeout queue 1m timeout connect 10s timeout client 1m timeout server 1m timeout http-keep-alive 10s timeout check 10s maxconn 3000 listen stats :81 mode http log global maxconn 10 stats enable stats refresh 30s stats uri /haproxy.stats #--------------------------------------------------------------------- # main frontend which proxys to the backends #--------------------------------------------------------------------- frontend main *:80 default_backend httpd #--------------------------------------------------------------------- # round robin balancing between the various backends #--------------------------------------------------------------------- backend httpd balance roundrobin server haproxy01 192.168.110.131:85 check server haproxy02 192.168.110.132:85 check |
[root@haproxy01 ~]# systemctl stop haproxy [root@haproxy01 ~]# systemctl start haproxy [root@haproxy01 ~]# systemctl status haproxy ● haproxy.service - HAProxy Load Balancer Loaded: loaded (/usr/lib/systemd/system/haproxy.service; disabled; vendor preset: disabled) Active: active (running) since 금 2019-08-23 16:45:05 KST; 4s ago Main PID: 30008 (haproxy-systemd) CGroup: /system.slice/haproxy.service ├─30008 /usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid ├─30009 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -Ds └─30010 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -Ds 8월 23 16:45:05 haproxy01 systemd[1]: Started HAProxy Load Balancer. 8월 23 16:45:05 haproxy01 systemd[1]: Starting HAProxy Load Balancer... 8월 23 16:45:05 haproxy01 haproxy-systemd-wrapper[30008]: haproxy-systemd-wrapper: executing /usr/sbin/...-Ds |
[root@haproxy02 ~]# systemctl stop haproxy [root@haproxy02 ~]# systemctl start haproxy [root@haproxy02 ~]# systemctl status haproxy ● haproxy.service - HAProxy Load Balancer Loaded: loaded (/usr/lib/systemd/system/haproxy.service; disabled; vendor preset: disabled) Active: active (running) since 금 2019-08-23 16:45:41 KST; 5s ago Main PID: 3498 (haproxy-systemd) CGroup: /system.slice/haproxy.service ├─3498 /usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid ├─3499 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -Ds └─3500 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -Ds 8월 23 16:45:41 haproxy02 systemd[1]: Started HAProxy Load Balancer. 8월 23 16:45:41 haproxy02 systemd[1]: Starting HAProxy Load Balancer... 8월 23 16:45:41 haproxy02 haproxy-systemd-wrapper[3498]: haproxy-systemd-wrapper: executing /usr/sbin/...-Ds |
[root@was01 keepalived]# ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 00:0c:29:5f:36:ae brd ff:ff:ff:ff:ff:ff inet 192.168.110.141/24 brd 192.168.110.255 scope global noprefixroute eth0 valid_lft forever preferred_lft forever inet 192.168.110.140/32 scope global eth0 valid_lft forever preferred_lft forever |
[root@was02 keepalived]# ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 00:0c:29:da:1a:0a brd ff:ff:ff:ff:ff:ff inet 192.168.110.142/24 brd 192.168.110.255 scope global noprefixroute eth0 valid_lft forever preferred_lft forever inet 192.168.110.140/32 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::20c:29ff:feda:1a0a/64 scope link valid_lft forever preferred_lft forever |
--haproxy01 장애 상황 [root@haproxy01 ~]# systemctl stop keepalived --haproxy02에 VIP가 올라오며, 서비스 정상 [root@haproxy02 ~]# tail -f /var/log/messages Aug 23 16:56:53 haproxy02 Keepalived_vrrp[3528]: VRRP_Instance(VI_2) Transition to MASTER STATE Aug 23 16:56:54 haproxy02 Keepalived_vrrp[3528]: VRRP_Instance(VI_2) Entering MASTER STATE Aug 23 16:56:54 haproxy02 Keepalived_vrrp[3528]: VRRP_Instance(VI_2) setting protocol VIPs. Aug 23 16:56:54 haproxy02 Keepalived_vrrp[3528]: Sending gratuitous ARP on eth0 for 192.168.110.140 Aug 23 16:56:54 haproxy02 Keepalived_vrrp[3528]: VRRP_Instance(VI_2) Sending/queueing gratuitous ARPs on eth0 for 192.168.110.140 Aug 23 16:56:54 haproxy02 Keepalived_vrrp[3528]: Sending gratuitous ARP on eth0 for 192.168.110.140 |
[root@haproxy01 ~]# systemctl stop haproxy |
# vi /etc/sysctl.conf net.ipv4.ip_nonlocal_bind=1 |
# sysctl -p # cat /proc/sys/net/ipv4/ip_nonlocal_bind 1 |
haproxy1 | haproxy2 |
[sshan@haproxy1 keepalived]$ cat keepalived.conf ! Configuration File for keepalived global_defs { router_id HAProxy1 } vrrp_script haproxy { script "killall -0 haproxy" interval 2 weight 2 } vrrp_instance VI_1 { debug 2 virtual_router_id 50 advert_int 1 priority 101 state MASTER interface eth0 unicast_src_ip 192.168.110.152 unicast_peer { 192.168.110.153 } virtual_ipaddress { 192.168.110.154 dev eth0 } track_script { haproxy } notify_master "/etc/keepalived/master.sh" notify_backup "/etc/keepalived/backup.sh" } [sshan@haproxy1 keepalived]$ cat master.sh DATE=`date +%Y%m%d` TIME=`date +%Y%m%d_%H%M%S` echo "[$TIME] [HAProxy MASTER] ACTIVE" >> /etc/keepalived/log_$DATE.log curl -d "message=[HAProxy MASTER] ACTIVE" http://192.168.110.119:9201/sendMessage [sshan@haproxy1 keepalived]$ cat backup.sh DATE=`date +%Y%m%d` TIME=`date +%Y%m%d_%H%M%S` echo "[$TIME] [HAProxy MASTER] ERROR - Changed SALVE(STAND BY)" >> /etc/keepalived/log_$DATE.log curl -d "message=[HAProxy MASTER] ERROR - Changed SALVE(STAND BY)" http://192.168.110.119:9201/sendMessage | [sshan@haproxy2 keepalived]$ cat keepalived.conf ! Configuration File for keepalived global_defs { router_id HAProxy2 } vrrp_script haproxy { script "killall -0 haproxy" interval 2 weight 2 } vrrp_instance VI_1 { debug 2 virtual_router_id 50 advert_int 1 priority 100 state BACKUP interface eth0 unicast_src_ip 192.168.110.153 unicast_peer { 192.168.110.152 } virtual_ipaddress { 192.168.110.154 dev eth0 } track_script { haproxy } notify_master "/etc/keepalived/master.sh" notify_backup "/etc/keepalived/backup.sh" } [sshan@haproxy2 keepalived]$ cat master.sh DATE=`date +%Y%m%d` TIME=`date +%Y%m%d_%H%M%S` echo "[$TIME] [HAProxy SALVE] STAND BY ACTIVE" >> /etc/keepalived/log_$DATE.log curl -d "message=[HAProxy SLAVE] STAND BY ACTIVE" http://192.168.110.119:9201/sendMessage [sshan@haproxy2 keepalived]$ cat backup.sh DATE=`date +%Y%m%d` TIME=`date +%Y%m%d_%H%M%S` echo "[$TIME] [HAProxy SLAVE] MASTER RESTORE - Changed MASTER" >> /etc/keepalived/log_$DATE.log curl -d "message=[HAProxy SLAVE] MASTER RESTORE - Changed MASTER" http://192.168.110.119:9201/sendMessage |
[root@haproxy1 haproxy]# cat haproxy.cfg #--------------------------------------------------------------------- # Global settings #--------------------------------------------------------------------- global # to have these messages end up in /var/log/haproxy.log you will # need to: # # 1) configure syslog to accept network log events. This is done # by adding the '-r' option to the SYSLOGD_OPTIONS in # /etc/sysconfig/syslog # # 2) configure local2 events to go to the /var/log/haproxy.log # file. A line like the following can be added to # /etc/sysconfig/syslog # # local2.* /var/log/haproxy.log # log 127.0.0.1 local2 chroot /var/lib/haproxy pidfile /var/run/haproxy.pid maxconn 4000 user haproxy group haproxy daemon # turn on stats unix socket stats socket /var/lib/haproxy/stats #--------------------------------------------------------------------- # common defaults that all the 'listen' and 'backend' sections will # use if not designated in their block #--------------------------------------------------------------------- defaults mode http #log global #option httplog option dontlognull option http-server-close #option forwardfor except 127.0.0.0/8 option redispatch retries 3 timeout http-request 10s timeout queue 1m timeout connect 10s #timeout client 1m timeout client 5000 timeout server 1m timeout http-keep-alive 10s timeout check 10s maxconn 3000 # id # 101 ~ 200 = HTTP # 201 ~ 300 = TCP # 501 ~ 600 = TEST frontend searchWas bind 192.168.xxx.154:80 option httplog log 127.0.0.1 local3 default_backend searchWas backend searchWas id 101 stats enable stats hide-version balance roundrobin # For Sticky Session appsession JSESSIONID len 30 timeout 3h request-learn prefix option httplog log 127.0.0.1 local3 option httpchk GET /info.jsp option http-server-close option forwardfor server search11 192.168.xxx.61:8280 maxconn 3000 check inter 5000 fastinter 1000 rise 3 fall 1 server search12 192.168.xxx.62:8280 maxconn 3000 check inter 5000 fastinter 1000 rise 3 fall 1 server search21 192.168.xxx.101:8280 maxconn 3000 check inter 5000 fastinter 1000 rise 3 fall 1 server search22 192.168.xxx.102:8280 maxconn 3000 check inter 5000 fastinter 1000 rise 3 fall 1 listen aqmp 192.168.xxx.154:5672 id 201 mode tcp balance roundrobin #timeout client 3h #timeout server 3h option tcplog log 127.0.0.1 local5 option clitcpka server mq11 192.168.xxx.146:5672 check inter 5s rise 2 fall 3 server mq21 192.168.xxx.147:5672 check inter 5s rise 2 fall 3 listen konanSearch5 192.168.xxx.154:7577 id 202 mode tcp balance roundrobin #timeout client 3h #timeout server 3h option tcplog log 127.0.0.1 local4 option clitcpka server nsearch01 192.168.xxx.103:7577 maxconn 3000 check inter 5s rise 2 fall 3 server nsearch02 192.168.xxx.104:7577 maxconn 3000 check inter 5s rise 2 fall 3 server nsearch03 192.168.xxx.106:7577 maxconn 3000 check inter 5s rise 2 fall 3 server nsearch04 192.168.xxx.107:7577 maxconn 3000 check inter 5s rise 2 fall 3 listen searchDocruzer 192.168.xxx.154:8577 id 203 mode tcp balance roundrobin #timeout client 3h #timeout server 3h option tcplog log 127.0.0.1 local4 option clitcpka server nsearch01 192.168.xxx.103:8577 maxconn 3000 check inter 5s rise 2 fall 3 server nsearch02 192.168.xxx.104:8577 maxconn 3000 check inter 5s rise 2 fall 3 server nsearch03 192.168.xxx.106:8577 maxconn 3000 check inter 5s rise 2 fall 3 server nsearch04 192.168.xxx.107:8577 maxconn 3000 check inter 5s rise 2 fall 3 listen ktdev 192.168.xxx.154:22000 id 551 mode http balance roundrobin #timeout client 3h #timeout server 3h option tcplog log 127.0.0.1 local2 option clitcpka # server dev 10.65.141.66:22000 maxconn 3000 check inter 5s rise 2 fall 3 server dev1 10.62.23.40:22000 maxconn 3000 check inter 5s rise 2 fall 3 listen ktstage 192.168.xxx.154:23000 id 552 mode http balance roundrobin #timeout client 3h #timeout server 3h option tcplog log 127.0.0.1 local2 option clitcpka server stage 10.62.5.113:23000 maxconn 3000 check inter 5s rise 2 fall 3 server dev2 10.62.23.40:23000 maxconn 3000 check inter 5s rise 2 fall 3 listen ktlive 192.168.xxx.154:24000 id 553 mode http balance roundrobin #timeout client 3h #timeout server 3h option tcplog log 127.0.0.1 local2 option clitcpka server live 10.65.141.236:24000 maxconn 3000 check inter 5s rise 2 fall 3 listen stats 0.0.0.0:8080 #Listen on all IP's on port 9000 mode http balance timeout client 5000 timeout connect 4000 timeout server 30000 #This is the virtual URL to access the stats page stats uri /haproxy_stats #Authentication realm. This can be set to anything. Escape space characters with a backslash. stats realm HAProxy\ Statistics #The user/pass you want to use. Change this password! #stats auth admin:1230987 #This allows you to take down and bring up back end servers. #This will produce an error on older versions of HAProxy. stats admin if TRUE |
Please schedule a Health Check with our Customer Success Engineering team. In our Health Check session we will be:
|
Please schedule a Health Check with our Customer Success Engineering team. In our Health Check session we will be:
|