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

Last change on this file since 1260 was 1260, checked in by mitchb, 15 years ago
LVS configuration for new servers cats-whiskers, pancake-bunny, busy-beaver cats-whiskers is the only ParaVM, and has ~twice as much RAM; weight it higher
File size: 1.4 KB
Line 
1checktimeout=5
2checkinterval=1
3autoreload=yes
4logfile="/var/log/ldirectord.log"
5quiescent=no
6
7# iptables rules caused SMTP to use FWM 3
8virtual=3
9        real=18.181.0.53:25 gate 1024
10        real=18.181.0.57:25 gate 1024
11        real=18.181.0.167:25 gate 1024
12        real=18.181.0.228:25 gate 2048
13        real=18.181.0.234:25 gate 1024
14        real=18.181.0.237:25 gate 1024
15        service=smtp
16        scheduler=wlc
17        persistent=600
18        protocol=fwm
19        checktype=negotiate
20        checkport=25
21
22# Apache (80, 443, and 444) uses FWM 2
23virtual=2
24        real=18.181.0.53 gate 1024
25        real=18.181.0.57 gate 1024
26        real=18.181.0.167 gate 1024
27        real=18.181.0.228 gate 2048
28        real=18.181.0.234 gate 1024
29        real=18.181.0.237 gate 1024
30        fallback=127.0.0.1 gate
31        service=http
32        request="heartbeat/http"
33        virtualhost="scripts.mit.edu"
34        receive="1"
35        checktype=negotiate
36        checkport=80
37        scheduler=wlc
38        persistent=600
39        protocol=fwm
40
41# Everything else uses FWM 1 and gets sent only to the primary
42virtual=1
43        real=18.181.0.53 gate "heartbeat/services", "1"
44        real=18.181.0.57 gate "heartbeat/services", "2"
45        real=18.181.0.167 gate "heartbeat/services", "3"
46        real=18.181.0.228 gate "heartbeat/services", "4"
47        real=18.181.0.234 gate "heartbeat/services", "5"
48        real=18.181.0.237 gate "heartbeat/services", "6"
49        service=http
50        scheduler=wrr
51        protocol=fwm
52        checktype=negotiate
53        checkport=80
Note: See TracBrowser for help on using the repository browser.