Changeset 223 for lvs/debian/config


Ignore:
Timestamp:
Mar 12, 2007, 12:29:35 AM (18 years ago)
Author:
presbrey
Message:
LVS: do not load-balance SMTP
Location:
lvs/debian/config/etc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lvs/debian/config/etc/ha.d/ldirectord.cf

    r210 r223  
    44logfile="/var/log/ldirectord.log"
    55quiescent=yes
    6 
    7 virtual=18.181.0.46:25
    8         real=18.181.0.53:25 gate
    9         real=18.181.0.57:25 gate
    10         fallback=18.187.1.128:25 gate
    11         service=smtp
    12         request="heartbeat/smtp"
    13         receive="1"
    14         scheduler=wlc
    15         protocol=tcp
    16         checktype=connect
    176
    187virtual=18.181.0.46:80
  • lvs/debian/config/etc/network/if-up.d/iptables

    r210 r223  
    66
    77# scripts.mit.edu
    8 iptables -A PREROUTING -t mangle -m tcp -m multiport -p tcp -d 18.181.0.46/31 --dports 25,80,443 -j MARK --set-mark 2
     8iptables -A PREROUTING -t mangle -m tcp -m multiport -p tcp -d 18.181.0.46/31 --dports 80,443 -j MARK --set-mark 2
    99iptables -A PREROUTING -t mangle -m mark --mark 0 -d 18.181.0.46/31 -j MARK --set-mark 1
    1010
    1111# scripts-cert.mit.edu
    12 iptables -A PREROUTING -t mangle -m tcp -m multiport -p tcp -d 18.181.0.50/31 --dports 25,80,443 -j MARK --set-mark 2
     12iptables -A PREROUTING -t mangle -m tcp -m multiport -p tcp -d 18.181.0.50/31 --dports 80,443 -j MARK --set-mark 2
    1313iptables -A PREROUTING -t mangle -m mark --mark 0 -d 18.181.0.50/31 -j MARK --set-mark 1
Note: See TracChangeset for help on using the changeset viewer.