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
RevLine 
[1111]1checktimeout=5
[210]2checkinterval=1
3autoreload=yes
4logfile="/var/log/ldirectord.log"
[1368]5quiescent=yes
[210]6
[1184]7# iptables rules caused SMTP to use FWM 3
8virtual=3
[1679]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
[1005]17        service=smtp
[1113]18        scheduler=wlc
19        persistent=600
[1184]20        protocol=fwm
[1005]21        checktype=negotiate
[1184]22        checkport=25
[1005]23
[1184]24# Apache (80, 443, and 444) uses FWM 2
25virtual=2
[1679]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
[1184]34        fallback=127.0.0.1 gate
35        service=http
36        request="heartbeat/http"
[819]37        virtualhost="scripts.mit.edu"
[1184]38        receive="1"
39        checktype=negotiate
40        checkport=80
41        scheduler=wlc
42        persistent=600
43        protocol=fwm
[210]44
[1184]45# Everything else uses FWM 1 and gets sent only to the primary
[210]46virtual=1
[1679]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
[210]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.