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

Last change on this file since 2459 was 2459, checked in by andersk, 12 years ago
Properly check SMTP on realservers heartbeat.php has been updated too. Now we can actually take servers out of the SMTP pool with nolvs.
File size: 2.7 KB
RevLine 
[1111]1checktimeout=5
[210]2checkinterval=1
3autoreload=yes
4logfile="/var/log/ldirectord.log"
[1368]5quiescent=yes
[210]6
[1184]7# iptables rules caused SMTP to use FWM 3
8virtual=3
[2248]9        real=18.181.0.53:25  gate 4096 # old-faithful
[2356]10        real=18.181.0.57:25  gate 4096 # better-mousetrap
11        real=18.181.0.167:25 gate 4096 # bees-knees
[2250]12        #real=18.181.0.228:25 gate 1024 # cats-whiskers
13        #real=18.181.0.234:25 gate 4096 # busy-beaver
[2356]14        real=18.181.0.235:25 gate 4096 # real-mccoy
[2248]15        real=18.181.0.237:25 gate 4096 # pancake-bunny
[2249]16        real=18.181.0.236:25 gate 1024 # whole-enchilada
[2250]17        #real=18.181.0.135:25 gate 4096 # shining-armor
18        #real=18.181.0.141:25 gate 4096 # golden-egg
[2248]19        real=18.181.0.203:25 gate 4096 # miracle-cure
20        real=18.181.0.204:25 gate 4096 # lucky-star
[2459]21        service=http
22        request="heartbeat/smtp"
23        virtualhost="scripts.mit.edu"
24        receive="1"
25        checktype=negotiate
26        checkport=80
[1113]27        scheduler=wlc
28        persistent=600
[1184]29        protocol=fwm
[1005]30        checktype=negotiate
[2459]31        checkport=80
[1005]32
[1184]33# Apache (80, 443, and 444) uses FWM 2
34virtual=2
[2248]35        real=18.181.0.53  gate 4096 # old-faithful
[2356]36        real=18.181.0.57  gate 4096 # better-mousetrap
37        real=18.181.0.167 gate 4096 # bees-knees
[2250]38        #real=18.181.0.228 gate 1024 # cats-whiskers
39        #real=18.181.0.234 gate 4096 # busy-beaver
[2356]40        real=18.181.0.235 gate 4096 # real-mccoy
[2248]41        real=18.181.0.237 gate 4096 # pancake-bunny
[2249]42        real=18.181.0.236 gate 1024 # whole-enchilada
[2250]43        #real=18.181.0.135 gate 4096 # shining-armor
44        #real=18.181.0.141 gate 4096 # golden-egg
[2248]45        real=18.181.0.203 gate 4096 # miracle-cure
46        real=18.181.0.204 gate 4096 # lucky-star
[1184]47        fallback=127.0.0.1 gate
48        service=http
49        request="heartbeat/http"
[819]50        virtualhost="scripts.mit.edu"
[1184]51        receive="1"
52        checktype=negotiate
53        checkport=80
54        scheduler=wlc
55        persistent=600
56        protocol=fwm
[210]57
[1184]58# Everything else uses FWM 1 and gets sent only to the primary
[210]59virtual=1
[2248]60        real=18.181.0.53  gate "heartbeat/services", "1"  # old-faithful
[2356]61        real=18.181.0.57  gate "heartbeat/services", "2"  # better-mousetrap
62        real=18.181.0.167 gate "heartbeat/services", "3"  # bees-knees
[2250]63        #real=18.181.0.228 gate "heartbeat/services", "4"  # cats-whiskers
64        #real=18.181.0.234 gate "heartbeat/services", "5"  # busy-beaver
[2356]65        real=18.181.0.235 gate "heartbeat/services", "6"  # real-mccoy
[2248]66        real=18.181.0.237 gate "heartbeat/services", "7"  # pancake-bunny
67        real=18.181.0.236 gate "heartbeat/services", "8"  # whole-enchilada
[2250]68        #real=18.181.0.135 gate "heartbeat/services", "9"  # shining-armor
69        #real=18.181.0.141 gate "heartbeat/services", "10" # golden-egg
[2248]70        real=18.181.0.203 gate "heartbeat/services", "11" # miracle-cure
71        real=18.181.0.204 gate "heartbeat/services", "12" # lucky-star
[210]72        service=http
73        scheduler=wrr
74        protocol=fwm
75        checktype=negotiate
76        checkport=80
Note: See TracBrowser for help on using the repository browser.