Last change
on this file since 1184 was
1184,
checked in by quentin, 16 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
|
Line | |
---|
1 | checktimeout=5 |
---|
2 | checkinterval=1 |
---|
3 | autoreload=yes |
---|
4 | logfile="/var/log/ldirectord.log" |
---|
5 | quiescent=no |
---|
6 | |
---|
7 | # iptables rules caused SMTP to use FWM 3 |
---|
8 | virtual=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 512 |
---|
12 | service=smtp |
---|
13 | scheduler=wlc |
---|
14 | persistent=600 |
---|
15 | protocol=fwm |
---|
16 | checktype=negotiate |
---|
17 | checkport=25 |
---|
18 | |
---|
19 | # Apache (80, 443, and 444) uses FWM 2 |
---|
20 | virtual=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" |
---|
27 | virtualhost="scripts.mit.edu" |
---|
28 | receive="1" |
---|
29 | checktype=negotiate |
---|
30 | checkport=80 |
---|
31 | scheduler=wlc |
---|
32 | persistent=600 |
---|
33 | protocol=fwm |
---|
34 | |
---|
35 | # Everything else uses FWM 1 and gets sent only to the primary |
---|
36 | virtual=1 |
---|
37 | real=18.181.0.53 gate "heartbeat/services", "1" |
---|
38 | real=18.181.0.57 gate "heartbeat/services", "2" |
---|
39 | real=18.181.0.167 gate "heartbeat/services", "3" |
---|
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.