Guest User

Untitled

a guest
Jul 16th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. # Configuration for one application:
  2. # Example: listen myapp 0.0.0.0:80
  3. listen mylistener 127.0.0.1:85
  4. mode http
  5. balance roundrobin
  6. # When acting in a reverse-proxy mode, mod_proxy from Apache adds X-Forwarded-For,
  7. # X-Forwarded-Host, and X-Forwarded-Server request headers in order to pass information to
  8. # the origin server; therefore, the following option is commented out
  9. #option forwardfor
  10. # Haproxy status page
  11. # when cookie persistence is required
  12. cookie SERVERID insert indirect nocache
  13. # When internal servers support a status page
  14. # Example server line (with optional cookie and check included)
  15. # server srv3.0 10.253.43.224:8000 cookie srv03.0 check inter 2000 rise 2 fall 3
  16. server 00-3VTAJRF 10.224.119.16:8000 inter 3000 rise 2 fall 3 maxconn 500
  17. server 00-34CVOT0 10.224.63.182:8000 inter 3000 rise 2 fall 3 maxconn 500
  18. server 00-1UQ4L6J 10.209.107.70:8000 inter 3000 rise 2 fall 3 maxconn 500
  19.  
  20. root@good:~# ping 10.224.119.16
  21. PING 10.224.119.16 (10.224.119.16) 56(84) bytes of data.
  22.  
  23. --- 10.224.119.16 ping statistics ---
  24. 11 packets transmitted, 0 received, 100% packet loss, time 10003ms
  25.  
  26. root@good:~# ping 10.224.63.182
  27. PING 10.224.63.182 (10.224.63.182) 56(84) bytes of data.
  28.  
  29. --- 10.224.63.182 ping statistics ---
  30. 8 packets transmitted, 0 received, 100% packet loss, time 7002ms
  31.  
  32. root@good:~# ping 10.209.107.70
  33. PING 10.209.107.70 (10.209.107.70) 56(84) bytes of data.
  34. 64 bytes from 10.209.107.70: icmp_seq=1 ttl=64 time=0.029 ms
  35. 64 bytes from 10.209.107.70: icmp_seq=2 ttl=64 time=0.037 ms
  36. 64 bytes from 10.209.107.70: icmp_seq=3 ttl=64 time=0.032 ms
  37.  
  38. --- 10.209.107.70 ping statistics ---
  39. 3 packets transmitted, 3 received, 0% packet loss, time 1998ms
  40. rtt min/avg/max/mdev = 0.029/0.032/0.037/0.007 ms
Add Comment
Please, Sign In to add comment