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

Last change on this file since 1184 was 1184, checked in by quentin, 15 years ago
Change the LVS configuration to use the same source hashing; FWM 1 is the same as before, FWM 2 is Apache-bound traffic, and FWM 3 is Postfix-bound traffic
File size: 1.0 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
[1112]11        real=18.181.0.167:25 gate 512
[1005]12        service=smtp
[1113]13        scheduler=wlc
14        persistent=600
[1184]15        protocol=fwm
[1005]16        checktype=negotiate
[1184]17        checkport=25
[1005]18
[1184]19# Apache (80, 443, and 444) uses FWM 2
20virtual=2
21        real=18.181.0.53 gate 1024
22        real=18.181.0.57 gate 1024
23        real=18.181.0.167 gate 512
24        fallback=127.0.0.1 gate
25        service=http
26        request="heartbeat/http"
[819]27        virtualhost="scripts.mit.edu"
[1184]28        receive="1"
29        checktype=negotiate
30        checkport=80
31        scheduler=wlc
32        persistent=600
33        protocol=fwm
[210]34
[1184]35# Everything else uses FWM 1 and gets sent only to the primary
[210]36virtual=1
37        real=18.181.0.53 gate "heartbeat/services", "1"
[806]38        real=18.181.0.57 gate "heartbeat/services", "2"
[756]39        real=18.181.0.167 gate "heartbeat/services", "3"
[210]40        service=http
41        scheduler=wrr
42        protocol=fwm
43        checktype=negotiate
44        checkport=80
Note: See TracBrowser for help on using the repository browser.