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

Last change on this file since 805 was 805, checked in by quentin, 14 years ago
Load balance port 444 in addition to port 443, and do a negotiate check on SSL so we verify the server is up
File size: 3.0 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        receive="1"
15        scheduler=sh
16        protocol=tcp
17        checktype=negotiate
18
19virtual=18.181.0.46:443
20        real=18.181.0.53:443 gate 1024
21        #real=18.181.0.57:443 gate 1024
22        real=18.181.0.167:443 gate 1024
23        fallback=18.187.1.128:443 gate
24        service=https
25        request="heartbeat/https"
26        virtualhost="scripts.mit.edu"
27        receive="1"
28        scheduler=sh
29        protocol=tcp
30        checktype=negotiate
31
32virtual=18.181.0.46:444
33        real=18.181.0.53:444 gate 1024
34        #real=18.181.0.57:444 gate 1024
35        real=18.181.0.167:444 gate 1024
36        fallback=18.187.1.128:444 gate
37        service=https
38        request="heartbeat/https"
39        virtualhost="scripts.mit.edu"
40        receive="1"
41        scheduler=sh
42        protocol=tcp
43        checktype=negotiate
44
45virtual=18.181.0.50:80
46        real=18.181.0.53:80 gate 1024
47        #real=18.181.0.57:80 gate 1024
48        real=18.181.0.167:80 gate 1024
49        fallback=18.187.1.128:80 gate
50        service=http
51        request="heartbeat/http"
52        receive="1"
53        scheduler=sh
54        protocol=tcp
55        checktype=negotiate
56
57virtual=18.181.0.50:443
58        real=18.181.0.53:443 gate 1024
59        #real=18.181.0.57:443 gate 1024
60        real=18.181.0.167:443 gate 1024
61        fallback=18.187.1.128:443 gate
62        service=https
63        request="heartbeat/https"
64        receive="1"
65        scheduler=sh
66        protocol=tcp
67        checktype=connect
68
69virtual=18.181.0.50:444
70        real=18.181.0.53:444 gate 1024
71        #real=18.181.0.57:444 gate 1024
72        real=18.181.0.167:444 gate 1024
73        fallback=18.187.1.128:444 gate
74        service=https
75        request="heartbeat/https"
76        receive="1"
77        scheduler=sh
78        protocol=tcp
79        checktype=negotiate
80
81virtual=18.181.0.49:80
82        real=18.181.0.53:80 gate 1024
83        #real=18.181.0.57:80 gate 1024
84        real=18.181.0.167:443 gate 1024
85        fallback=18.187.1.128:80 gate
86        service=http
87        request="heartbeat/http"
88        receive="1"
89        scheduler=sh
90        protocol=tcp
91        checktype=negotiate
92
93virtual=18.181.0.49:443
94        real=18.181.0.53:443 gate 1024
95        #real=18.181.0.57:443 gate 1024
96        real=18.181.0.167:443 gate 1024
97        fallback=18.187.1.128:443 gate
98        service=https
99        request="heartbeat/https"
100        receive="1"
101        scheduler=sh
102        protocol=tcp
103        checktype=connect
104
105virtual=1
106        real=18.181.0.53 gate "heartbeat/services", "1"
107        #real=18.181.0.57 gate "heartbeat/services", "2"
108        real=18.181.0.167 gate "heartbeat/services", "3"
109        service=http
110        scheduler=wrr
111        protocol=fwm
112        checktype=negotiate
113        checkport=80
Note: See TracBrowser for help on using the repository browser.