source: branches/fc15-dev/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
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        real=18.181.0.135:25 gate 1024 # shining-armor
18        service=smtp
19        scheduler=wlc
20        persistent=600
21        protocol=fwm
22        checktype=negotiate
23        checkport=25
24
25# Apache (80, 443, and 444) uses FWM 2
26virtual=2
27        real=18.181.0.53  gate 3096 # old-faithful
28        real=18.181.0.57  gate 3096 # better-mousetrap
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
35        real=18.181.0.135 gate 1024 # shining-armor
36        fallback=127.0.0.1 gate
37        service=http
38        request="heartbeat/http"
39        virtualhost="scripts.mit.edu"
40        receive="1"
41        checktype=negotiate
42        checkport=80
43        scheduler=wlc
44        persistent=600
45        protocol=fwm
46
47# Everything else uses FWM 1 and gets sent only to the primary
48virtual=1
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
57        real=18.181.0.135 gate "heartbeat/services", "9" # shining-armor
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.