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

Last change on this file since 805 was 805, checked in by quentin, 16 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
RevLine 
[210]1checktimeout=20
2checkinterval=1
3autoreload=yes
4logfile="/var/log/ldirectord.log"
[232]5quiescent=no
[210]6
7virtual=18.181.0.46:80
[232]8        real=18.181.0.53:80 gate 1024
[805]9        #real=18.181.0.57:80 gate 1024
[756]10        real=18.181.0.167:80 gate 1024
[210]11        fallback=18.187.1.128:80 gate
12        service=http
13        request="heartbeat/http"
14        receive="1"
[232]15        scheduler=sh
[210]16        protocol=tcp
17        checktype=negotiate
18
19virtual=18.181.0.46:443
[232]20        real=18.181.0.53:443 gate 1024
[805]21        #real=18.181.0.57:443 gate 1024
[756]22        real=18.181.0.167:443 gate 1024
[210]23        fallback=18.187.1.128:443 gate
24        service=https
25        request="heartbeat/https"
[805]26        virtualhost="scripts.mit.edu"
[210]27        receive="1"
[232]28        scheduler=sh
[210]29        protocol=tcp
[805]30        checktype=negotiate
[210]31
[805]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
[210]45virtual=18.181.0.50:80
[232]46        real=18.181.0.53:80 gate 1024
[805]47        #real=18.181.0.57:80 gate 1024
[756]48        real=18.181.0.167:80 gate 1024
[210]49        fallback=18.187.1.128:80 gate
50        service=http
51        request="heartbeat/http"
52        receive="1"
[232]53        scheduler=sh
[210]54        protocol=tcp
55        checktype=negotiate
56
57virtual=18.181.0.50:443
[232]58        real=18.181.0.53:443 gate 1024
[805]59        #real=18.181.0.57:443 gate 1024
[756]60        real=18.181.0.167:443 gate 1024
[210]61        fallback=18.187.1.128:443 gate
62        service=https
63        request="heartbeat/https"
64        receive="1"
[232]65        scheduler=sh
[210]66        protocol=tcp
67        checktype=connect
68
[805]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
[581]81virtual=18.181.0.49:80
82        real=18.181.0.53:80 gate 1024
[805]83        #real=18.181.0.57:80 gate 1024
84        real=18.181.0.167:443 gate 1024
[581]85        fallback=18.187.1.128:80 gate
86        service=http
87        request="heartbeat/http"
88        receive="1"
89        scheduler=sh
90        protocol=tcp
[766]91        checktype=negotiate
[581]92
93virtual=18.181.0.49:443
94        real=18.181.0.53:443 gate 1024
[805]95        #real=18.181.0.57:443 gate 1024
96        real=18.181.0.167:443 gate 1024
[581]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
[210]105virtual=1
106        real=18.181.0.53 gate "heartbeat/services", "1"
[805]107        #real=18.181.0.57 gate "heartbeat/services", "2"
[756]108        real=18.181.0.167 gate "heartbeat/services", "3"
[210]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.