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

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