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
RevLine 
[1111]1checktimeout=5
[210]2checkinterval=1
3autoreload=yes
4logfile="/var/log/ldirectord.log"
[232]5quiescent=no
[210]6
[1184]7# iptables rules caused SMTP to use FWM 3
8virtual=3
[1005]9        real=18.181.0.53:25 gate 1024
10        real=18.181.0.57:25 gate 1024
[1195]11        real=18.181.0.167:25 gate 1024
[1260]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
[1005]15        service=smtp
[1113]16        scheduler=wlc
17        persistent=600
[1184]18        protocol=fwm
[1005]19        checktype=negotiate
[1184]20        checkport=25
[1005]21
[1184]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
[1195]26        real=18.181.0.167 gate 1024
[1260]27        real=18.181.0.228 gate 2048
28        real=18.181.0.234 gate 1024
29        real=18.181.0.237 gate 1024
[1184]30        fallback=127.0.0.1 gate
31        service=http
32        request="heartbeat/http"
[819]33        virtualhost="scripts.mit.edu"
[1184]34        receive="1"
35        checktype=negotiate
36        checkport=80
37        scheduler=wlc
38        persistent=600
39        protocol=fwm
[210]40
[1184]41# Everything else uses FWM 1 and gets sent only to the primary
[210]42virtual=1
43        real=18.181.0.53 gate "heartbeat/services", "1"
[806]44        real=18.181.0.57 gate "heartbeat/services", "2"
[756]45        real=18.181.0.167 gate "heartbeat/services", "3"
[1260]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"
[210]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.