source: branches/fc19-dev/lvs/debian/config/etc/ha.d/ldirectord.cf @ 2522

Last change on this file since 2522 was 2522, checked in by achernya, 10 years ago
Merge r2487-r2521 from trunk to branches/fc19-dev
File size: 2.9 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
[2487]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
[2487]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
[2522]77
78# sipb.mit.edu needs an FTP server
79virtual=4
80        real=18.181.2.75 gate 1
81        service=ftp
82        scheduler=wlc
83        protocol=fwm
84        checktype=ping
85        checkport=21
86        persistent=600
87       
Note: See TracBrowser for help on using the repository browser.