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

Last change on this file since 2055 was 1799, checked in by geofft, 14 years ago
Lower s-a's (the current primary) priority This isn't actually right, because it should track the current primary, but it's close enough for now.
File size: 2.1 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
[1691]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
[1799]17        real=18.181.0.135:25 gate 1024 # shining-armor
[1005]18        service=smtp
[1113]19        scheduler=wlc
20        persistent=600
[1184]21        protocol=fwm
[1005]22        checktype=negotiate
[1184]23        checkport=25
[1005]24
[1184]25# Apache (80, 443, and 444) uses FWM 2
26virtual=2
[1685]27        real=18.181.0.53  gate 3096 # old-faithful
28        real=18.181.0.57  gate 3096 # better-mousetrap
[1679]29        real=18.181.0.167 gate 6144 # bees-knees
30        real=18.181.0.228 gate 6144 # cats-whiskers
31        real=18.181.0.234 gate 4096 # busy-beaver
32        real=18.181.0.235 gate 4096 # real-mccoy
33        real=18.181.0.237 gate 4096 # pancake-bunny
34        real=18.181.0.236 gate 4096 # whole-enchilada
[1799]35        real=18.181.0.135 gate 1024 # shining-armor
[1184]36        fallback=127.0.0.1 gate
37        service=http
38        request="heartbeat/http"
[819]39        virtualhost="scripts.mit.edu"
[1184]40        receive="1"
41        checktype=negotiate
42        checkport=80
43        scheduler=wlc
44        persistent=600
45        protocol=fwm
[210]46
[1184]47# Everything else uses FWM 1 and gets sent only to the primary
[210]48virtual=1
[1679]49        real=18.181.0.53  gate "heartbeat/services", "1" # old-faithful
50        real=18.181.0.57  gate "heartbeat/services", "2" # better-mousetrap
51        real=18.181.0.167 gate "heartbeat/services", "3" # bees-knees
52        real=18.181.0.228 gate "heartbeat/services", "4" # cats-whiskers
53        real=18.181.0.234 gate "heartbeat/services", "5" # busy-beaver
54        real=18.181.0.235 gate "heartbeat/services", "6" # real-mccoy
55        real=18.181.0.237 gate "heartbeat/services", "7" # pancake-bunny
56        real=18.181.0.236 gate "heartbeat/services", "8" # whole-enchilada
[1683]57        real=18.181.0.135 gate "heartbeat/services", "9" # shining-armor
[210]58        service=http
59        scheduler=wrr
60        protocol=fwm
61        checktype=negotiate
62        checkport=80
Note: See TracBrowser for help on using the repository browser.