source: lvs/debian/config/etc/ha.d/ldirectord.cf @ 1111

Last change on this file since 1111 was 1111, checked in by quentin, 16 years ago
If a server doesn't answer heartbeat within 5 seconds, it's probably sad. Don't make it worse by sending more traffic to it.
File size: 5.3 KB
Line 
1checktimeout=5
2checkinterval=1
3autoreload=yes
4logfile="/var/log/ldirectord.log"
5quiescent=no
6
7virtual=18.181.0.46:25
8        real=18.181.0.53:25 gate 1024
9        real=18.181.0.57:25 gate 1024
10        real=18.181.0.167:25 gate 1024
11        fallback=18.187.1.128:25 gate
12        service=smtp
13        scheduler=sh
14        protocol=tcp
15        checktype=negotiate
16
17virtual=18.181.0.46:80
18        real=18.181.0.53:80 gate 1024
19        real=18.181.0.57:80 gate 1024
20        real=18.181.0.167:80 gate 1024
21        fallback=127.0.0.1:80 gate
22        service=http
23        request="heartbeat/http"
24        virtualhost="scripts.mit.edu"
25        receive="1"
26        scheduler=sh
27        protocol=tcp
28        checktype=negotiate
29
30virtual=18.181.0.46:443
31        real=18.181.0.53:443 gate 1024
32        real=18.181.0.57:443 gate 1024
33        real=18.181.0.167:443 gate 1024
34        fallback=18.187.1.128:443 gate
35        service=https
36        request="heartbeat/https"
37        virtualhost="scripts.mit.edu"
38        receive="1"
39        scheduler=sh
40        protocol=tcp
41        checktype=negotiate
42
43virtual=18.181.0.46:444
44        real=18.181.0.53:444 gate 1024
45        real=18.181.0.57:444 gate 1024
46        real=18.181.0.167:444 gate 1024
47        fallback=18.187.1.128:444 gate
48        service=https
49        request="heartbeat/https"
50        virtualhost="scripts.mit.edu"
51        receive="1"
52        scheduler=sh
53        protocol=tcp
54        checktype=negotiate
55
56virtual=18.181.0.43:25
57        real=18.181.0.53:25 gate 1024
58        real=18.181.0.57:25 gate 1024
59        real=18.181.0.167:25 gate 1024
60        fallback=18.187.1.128:25 gate
61        service=smtp
62        scheduler=sh
63        protocol=tcp
64        checktype=negotiate
65
66virtual=18.181.0.43:80
67        real=18.181.0.53:80 gate 1024
68        real=18.181.0.57:80 gate 1024
69        real=18.181.0.167:80 gate 1024
70        fallback=127.0.0.1:80 gate
71        service=http
72        request="heartbeat/http"
73        receive="1"
74        scheduler=sh
75        protocol=tcp
76        checktype=negotiate
77
78virtual=18.181.0.43:443
79        real=18.181.0.53:443 gate 1024
80        real=18.181.0.57:443 gate 1024
81        real=18.181.0.167:443 gate 1024
82        fallback=18.187.1.128:443 gate
83        service=https
84        request="heartbeat/https"
85        virtualhost="scripts.mit.edu"
86        receive="1"
87        scheduler=sh
88        protocol=tcp
89        checktype=negotiate
90
91virtual=18.181.0.43:444
92        real=18.181.0.53:444 gate 1024
93        real=18.181.0.57:444 gate 1024
94        real=18.181.0.167:444 gate 1024
95        fallback=18.187.1.128:444 gate
96        service=https
97        request="heartbeat/https"
98        virtualhost="scripts.mit.edu"
99        receive="1"
100        scheduler=sh
101        protocol=tcp
102        checktype=negotiate
103
104virtual=18.181.0.50:25
105        real=18.181.0.53:25 gate 1024
106        real=18.181.0.57:25 gate 1024
107        real=18.181.0.167:25 gate 1024
108        fallback=18.187.1.128:25 gate
109        service=smtp
110        scheduler=sh
111        protocol=tcp
112        checktype=negotiate
113
114virtual=18.181.0.50:80
115        real=18.181.0.53:80 gate 1024
116        real=18.181.0.57:80 gate 1024
117        real=18.181.0.167:80 gate 1024
118        fallback=127.0.0.1:80 gate
119        service=http
120        request="heartbeat/http"
121        receive="1"
122        scheduler=sh
123        protocol=tcp
124        checktype=negotiate
125
126virtual=18.181.0.50:443
127        real=18.181.0.53:443 gate 1024
128        real=18.181.0.57:443 gate 1024
129        real=18.181.0.167:443 gate 1024
130        fallback=18.187.1.128:443 gate
131        service=https
132        request="heartbeat/https"
133        virtualhost="scripts.mit.edu"
134        receive="1"
135        scheduler=sh
136        protocol=tcp
137        checktype=negotiate
138
139virtual=18.181.0.50:444
140        real=18.181.0.53:444 gate 1024
141        real=18.181.0.57:444 gate 1024
142        real=18.181.0.167:444 gate 1024
143        fallback=18.187.1.128:444 gate
144        service=https
145        request="heartbeat/https"
146        virtualhost="scripts.mit.edu"
147        receive="1"
148        scheduler=sh
149        protocol=tcp
150        checktype=negotiate
151
152virtual=18.181.0.49:80
153        real=18.181.0.53:80 gate 1024
154        real=18.181.0.57:80 gate 1024
155        real=18.181.0.167:80 gate 1024
156        fallback=127.0.0.1:80 gate
157        service=http
158        request="heartbeat/http"
159        virtualhost="scripts.mit.edu"
160        receive="1"
161        scheduler=sh
162        protocol=tcp
163        checktype=negotiate
164
165virtual=18.181.0.49:443
166        real=18.181.0.53:443 gate 1024
167        real=18.181.0.57:443 gate 1024
168        real=18.181.0.167:443 gate 1024
169        fallback=18.187.1.128:443 gate
170        service=https
171        request="heartbeat/https"
172        virtualhost="scripts.mit.edu"
173        receive="1"
174        scheduler=sh
175        protocol=tcp
176        checktype=negotiate
177
178virtual=18.181.0.49:444
179        real=18.181.0.53:444 gate 1024
180        real=18.181.0.57:444 gate 1024
181        real=18.181.0.167:444 gate 1024
182        fallback=18.187.1.128:444 gate
183        service=https
184        request="heartbeat/https"
185        virtualhost="scripts.mit.edu"
186        receive="1"
187        scheduler=sh
188        protocol=tcp
189        checktype=negotiate
190
191virtual=1
192        real=18.181.0.53 gate "heartbeat/services", "1"
193        real=18.181.0.57 gate "heartbeat/services", "2"
194        real=18.181.0.167 gate "heartbeat/services", "3"
195        service=http
196        scheduler=wrr
197        protocol=fwm
198        checktype=negotiate
199        checkport=80
Note: See TracBrowser for help on using the repository browser.