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

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