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

Last change on this file since 1267 was 1267, checked in by mitchb, 15 years ago
Configuration for new scripts webserver real-mccoy
File size: 1.5 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
[1263]11        real=18.181.0.167:25 gate 2048
[1260]12        real=18.181.0.228:25 gate 2048
13        real=18.181.0.234:25 gate 1024
[1267]14        real=18.181.0.235:25 gate 1024
[1260]15        real=18.181.0.237:25 gate 1024
[1005]16        service=smtp
[1113]17        scheduler=wlc
18        persistent=600
[1184]19        protocol=fwm
[1005]20        checktype=negotiate
[1184]21        checkport=25
[1005]22
[1184]23# Apache (80, 443, and 444) uses FWM 2
24virtual=2
25        real=18.181.0.53 gate 1024
26        real=18.181.0.57 gate 1024
[1263]27        real=18.181.0.167 gate 2048
[1260]28        real=18.181.0.228 gate 2048
29        real=18.181.0.234 gate 1024
[1267]30        real=18.181.0.235 gate 1024
[1260]31        real=18.181.0.237 gate 1024
[1184]32        fallback=127.0.0.1 gate
33        service=http
34        request="heartbeat/http"
[819]35        virtualhost="scripts.mit.edu"
[1184]36        receive="1"
37        checktype=negotiate
38        checkport=80
39        scheduler=wlc
40        persistent=600
41        protocol=fwm
[210]42
[1184]43# Everything else uses FWM 1 and gets sent only to the primary
[210]44virtual=1
45        real=18.181.0.53 gate "heartbeat/services", "1"
[806]46        real=18.181.0.57 gate "heartbeat/services", "2"
[756]47        real=18.181.0.167 gate "heartbeat/services", "3"
[1260]48        real=18.181.0.228 gate "heartbeat/services", "4"
49        real=18.181.0.234 gate "heartbeat/services", "5"
[1267]50        real=18.181.0.235 gate "heartbeat/services", "6"
51        real=18.181.0.237 gate "heartbeat/services", "7"
[210]52        service=http
53        scheduler=wrr
54        protocol=fwm
55        checktype=negotiate
56        checkport=80
Note: See TracBrowser for help on using the repository browser.