4RH2zuDnuGVHEWWNlMo9k5 changeset

Changeset343236613231 (b)
ParentNone (a)
ab
0+# Quite bloated example. Pick what you need.
0+
0+global
0+        log 127.0.0.1   local0 alert
0+        log 127.0.0.1   local1 alert
0+        #log loghost    local0 info
0+        maxconn 4096
0+        #debug
0+        #quiet
0+        user haproxy
0+        group haproxy
0+
0+defaults
0+        log     global
0+        mode    tcp
0+        option  dontlognull
0+
0+        retries 3
0+        redispatch
0+        maxconn 2000
0+        contimeout      5000
0+        clitimeout      50000
0+        srvtimeout      50000
0+
0+listen beanstalkd *:10022
0+        balance roundrobin
0+        server  qs_1 dom*******1.compute-1.internal:11224 check inter 2000 rise 2 fall 5
0+        server  qs_2 localhost:11224 check inter 2000 rise 2 fall 5 backup
0+
0+listen memcached *:10023
0+        balance roundrobin
0+    server      qs_1 domU********.compute-1.internal:11222 check inter 2000 rise 2 fall 5
0+        server  qs_2 localhost:11222 check inter 2000 rise 2 fall 5 backup
0+
0+ #backend private_monitoring
0+listen statssrv *:80
0+        balance source
0+        mode http
0+        stats enable
0+        stats auth *************
0+        stats uri /haproxy?stats
0+        server dummy localhost:8001
0+
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
--- Revision None
+++ Revision 343236613231
@@ -0,0 +1,43 @@
+# Quite bloated example. Pick what you need.
+
+global
+ log 127.0.0.1 local0 alert
+ log 127.0.0.1 local1 alert
+ #log loghost local0 info
+ maxconn 4096
+ #debug
+ #quiet
+ user haproxy
+ group haproxy
+
+defaults
+ log global
+ mode tcp
+ option dontlognull
+
+ retries 3
+ redispatch
+ maxconn 2000
+ contimeout 5000
+ clitimeout 50000
+ srvtimeout 50000
+
+listen beanstalkd *:10022
+ balance roundrobin
+ server qs_1 dom*******1.compute-1.internal:11224 check inter 2000 rise 2 fall 5
+ server qs_2 localhost:11224 check inter 2000 rise 2 fall 5 backup
+
+listen memcached *:10023
+ balance roundrobin
+ server qs_1 domU********.compute-1.internal:11222 check inter 2000 rise 2 fall 5
+ server qs_2 localhost:11222 check inter 2000 rise 2 fall 5 backup
+
+ #backend private_monitoring
+listen statssrv *:80
+ balance source
+ mode http
+ stats enable
+ stats auth *************
+ stats uri /haproxy?stats
+ server dummy localhost:8001
+