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

Last change on this file since 1679 was 1679, checked in by ezyang, 14 years ago
Add whole-enchilada and re-weight o-f and b-m.
File size: 1.9 KB
Line 
1checktimeout=5
2checkinterval=1
3autoreload=yes
4logfile="/var/log/ldirectord.log"
5quiescent=yes
6
7# iptables rules caused SMTP to use FWM 3
8virtual=3
9        real=18.181.0.53:25  gate 4096 # old-faithful
10        real=18.181.0.57:25  gate 4096 # better-mousetrap
11        real=18.181.0.167:25 gate 6144 # bees-knees
12        real=18.181.0.228:25 gate 6144 # cats-whiskers
13        real=18.181.0.234:25 gate 4096 # busy-beaver
14        real=18.181.0.235:25 gate 4096 # real-mccoy
15        real=18.181.0.237:25 gate 4096 # pancake-bunny
16        real=18.181.0.236:25 gate 4096 # whole-enchilada
17        service=smtp
18        scheduler=wlc
19        persistent=600
20        protocol=fwm
21        checktype=negotiate
22        checkport=25
23
24# Apache (80, 443, and 444) uses FWM 2
25virtual=2
26        real=18.181.0.53  gate 4096 # old-faithful
27        real=18.181.0.57  gate 4096 # better-mousetrap
28        real=18.181.0.167 gate 6144 # bees-knees
29        real=18.181.0.228 gate 6144 # cats-whiskers
30        real=18.181.0.234 gate 4096 # busy-beaver
31        real=18.181.0.235 gate 4096 # real-mccoy
32        real=18.181.0.237 gate 4096 # pancake-bunny
33        real=18.181.0.236 gate 4096 # whole-enchilada
34        fallback=127.0.0.1 gate
35        service=http
36        request="heartbeat/http"
37        virtualhost="scripts.mit.edu"
38        receive="1"
39        checktype=negotiate
40        checkport=80
41        scheduler=wlc
42        persistent=600
43        protocol=fwm
44
45# Everything else uses FWM 1 and gets sent only to the primary
46virtual=1
47        real=18.181.0.53  gate "heartbeat/services", "1" # old-faithful
48        real=18.181.0.57  gate "heartbeat/services", "2" # better-mousetrap
49        real=18.181.0.167 gate "heartbeat/services", "3" # bees-knees
50        real=18.181.0.228 gate "heartbeat/services", "4" # cats-whiskers
51        real=18.181.0.234 gate "heartbeat/services", "5" # busy-beaver
52        real=18.181.0.235 gate "heartbeat/services", "6" # real-mccoy
53        real=18.181.0.237 gate "heartbeat/services", "7" # pancake-bunny
54        real=18.181.0.236 gate "heartbeat/services", "8" # whole-enchilada
55        service=http
56        scheduler=wrr
57        protocol=fwm
58        checktype=negotiate
59        checkport=80
Note: See TracBrowser for help on using the repository browser.