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

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