Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Configuration for one application:
- # Example: listen myapp 0.0.0.0:80
- listen mylistener 127.0.0.1:85
- mode http
- balance roundrobin
- # When acting in a reverse-proxy mode, mod_proxy from Apache adds X-Forwarded-For,
- # X-Forwarded-Host, and X-Forwarded-Server request headers in order to pass information to
- # the origin server; therefore, the following option is commented out
- #option forwardfor
- # Haproxy status page
- # when cookie persistence is required
- cookie SERVERID insert indirect nocache
- # When internal servers support a status page
- # Example server line (with optional cookie and check included)
- # server srv3.0 10.253.43.224:8000 cookie srv03.0 check inter 2000 rise 2 fall 3
- server 00-3VTAJRF 10.224.119.16:8000 inter 3000 rise 2 fall 3 maxconn 500
- server 00-34CVOT0 10.224.63.182:8000 inter 3000 rise 2 fall 3 maxconn 500
- server 00-1UQ4L6J 10.209.107.70:8000 inter 3000 rise 2 fall 3 maxconn 500
- root@good:~# ping 10.224.119.16
- PING 10.224.119.16 (10.224.119.16) 56(84) bytes of data.
- --- 10.224.119.16 ping statistics ---
- 11 packets transmitted, 0 received, 100% packet loss, time 10003ms
- root@good:~# ping 10.224.63.182
- PING 10.224.63.182 (10.224.63.182) 56(84) bytes of data.
- --- 10.224.63.182 ping statistics ---
- 8 packets transmitted, 0 received, 100% packet loss, time 7002ms
- root@good:~# ping 10.209.107.70
- PING 10.209.107.70 (10.209.107.70) 56(84) bytes of data.
- 64 bytes from 10.209.107.70: icmp_seq=1 ttl=64 time=0.029 ms
- 64 bytes from 10.209.107.70: icmp_seq=2 ttl=64 time=0.037 ms
- 64 bytes from 10.209.107.70: icmp_seq=3 ttl=64 time=0.032 ms
- --- 10.209.107.70 ping statistics ---
- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms
- rtt min/avg/max/mdev = 0.029/0.032/0.037/0.007 ms
Add Comment
Please, Sign In to add comment