source: branches/fc11-dev/lvs/debian/config/etc/ha.d/ldirectord.cf

Last change on this file was 1198, checked in by mitchb, 13 years ago
Merge r1178:1197 from trunk to branches/fc11-dev
File size: 1.0 KB
Line 
1checktimeout=5
2checkinterval=1
3autoreload=yes
4logfile="/var/log/ldirectord.log"
5quiescent=no
6
7# iptables rules caused SMTP to use FWM 3
8virtual=3
9        real=18.181.0.53:25 gate 1024
10        real=18.181.0.57:25 gate 1024
11        real=18.181.0.167:25 gate 1024
12        service=smtp
13        scheduler=wlc
14        persistent=600
15        protocol=fwm
16        checktype=negotiate
17        checkport=25
18
19# Apache (80, 443, and 444) uses FWM 2
20virtual=2
21        real=18.181.0.53 gate 1024
22        real=18.181.0.57 gate 1024
23        real=18.181.0.167 gate 1024
24        fallback=127.0.0.1 gate
25        service=http
26        request="heartbeat/http"
27        virtualhost="scripts.mit.edu"
28        receive="1"
29        checktype=negotiate
30        checkport=80
31        scheduler=wlc
32        persistent=600
33        protocol=fwm
34
35# Everything else uses FWM 1 and gets sent only to the primary
36virtual=1
37        real=18.181.0.53 gate "heartbeat/services", "1"
38        real=18.181.0.57 gate "heartbeat/services", "2"
39        real=18.181.0.167 gate "heartbeat/services", "3"
40        service=http
41        scheduler=wrr
42        protocol=fwm
43        checktype=negotiate
44        checkport=80
Note: See TracBrowser for help on using the repository browser.