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

Last change on this file since 2247 was 2247, checked in by ezyang, 12 years ago
Add entries for miracle-cure and lucky-star.
File size: 2.6 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 4096 # bees-knees
12        real=18.181.0.228:25 gate 1024 # 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 4096 # shining-armor
18        real=18.181.0.141:25 gate 4096 # golden-egg
19        #real=18.181.0.203:25 gate 4096 # miracle-cure
20        #real=18.181.0.204:25 gate 4096 # lucky-star
21        service=smtp
22        scheduler=wlc
23        persistent=600
24        protocol=fwm
25        checktype=negotiate
26        checkport=25
27
28# Apache (80, 443, and 444) uses FWM 2
29virtual=2
30        #real=18.181.0.53  gate 4096 # old-faithful
31        real=18.181.0.57  gate 4096 # better-mousetrap
32        real=18.181.0.167 gate 4096 # bees-knees
33        real=18.181.0.228 gate 1024 # cats-whiskers
34        real=18.181.0.234 gate 4096 # busy-beaver
35        real=18.181.0.235 gate 4096 # real-mccoy
36        #real=18.181.0.237 gate 4096 # pancake-bunny
37        #real=18.181.0.236 gate 4096 # whole-enchilada
38        real=18.181.0.135 gate 4096 # shining-armor
39        real=18.181.0.141 gate 4096 # golden-egg
40        #real=18.181.0.203 gate 4096 # miracle-cure
41        #real=18.181.0.204 gate 4096 # lucky-star
42        fallback=127.0.0.1 gate
43        service=http
44        request="heartbeat/http"
45        virtualhost="scripts.mit.edu"
46        receive="1"
47        checktype=negotiate
48        checkport=80
49        scheduler=wlc
50        persistent=600
51        protocol=fwm
52
53# Everything else uses FWM 1 and gets sent only to the primary
54virtual=1
55        #real=18.181.0.53  gate "heartbeat/services", "1"  # old-faithful
56        real=18.181.0.57  gate "heartbeat/services", "2"  # better-mousetrap
57        real=18.181.0.167 gate "heartbeat/services", "3"  # bees-knees
58        real=18.181.0.228 gate "heartbeat/services", "4"  # cats-whiskers
59        real=18.181.0.234 gate "heartbeat/services", "5"  # busy-beaver
60        real=18.181.0.235 gate "heartbeat/services", "6"  # real-mccoy
61        #real=18.181.0.237 gate "heartbeat/services", "7"  # pancake-bunny
62        #real=18.181.0.236 gate "heartbeat/services", "8"  # whole-enchilada
63        real=18.181.0.135 gate "heartbeat/services", "9"  # shining-armor
64        real=18.181.0.141 gate "heartbeat/services", "10" # golden-egg
65        #real=18.181.0.203 gate "heartbeat/services", "11" # miracle-cure
66        #real=18.181.0.204 gate "heartbeat/services", "12" # lucky-star
67        service=http
68        scheduler=wrr
69        protocol=fwm
70        checktype=negotiate
71        checkport=80
Note: See TracBrowser for help on using the repository browser.