Changeset 584 for lvs


Ignore:
Timestamp:
Jan 7, 2008, 9:47:15 PM (17 years ago)
Author:
quentin
Message:
Support hacks.mit.edu
Location:
lvs/debian/config/etc
Files:
2 edited

Legend:

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

    r581 r584  
    7171        checktype=connect
    7272
     73virtual=18.181.0.33:80
     74        real=18.181.0.53:80 gate 1024
     75        real=18.181.0.57:80 gate 1024
     76        fallback=18.187.1.128:80 gate
     77        service=http
     78        request="heartbeat/http"
     79        receive="1"
     80        scheduler=sh
     81        protocol=tcp
     82        checktype=connect
     83
     84virtual=18.181.0.33:443
     85        real=18.181.0.53:443 gate 1024
     86        real=18.181.0.57:443 gate 1024
     87        fallback=18.187.1.128:443 gate
     88        service=https
     89        request="heartbeat/https"
     90        receive="1"
     91        scheduler=sh
     92        protocol=tcp
     93        checktype=connect
     94
    7395virtual=1
    7496        real=18.181.0.53 gate "heartbeat/services", "1"
  • lvs/debian/config/etc/network/if-up.d/iptables

    r577 r584  
    1616iptables -A PREROUTING -t mangle -m tcp -m multiport -p tcp -d 18.181.0.49 --dports 80,443 -j MARK --set-mark 2
    1717iptables -A PREROUTING -t mangle -m mark --mark 0 -d 18.181.0.49 -j MARK --set-mark 1
     18
     19# hacks.mit.edu
     20iptables -A PREROUTING -t mangle -m tcp -m multiport -p tcp -d 18.181.0.33 --dports 80,443 -j MARK --set-mark 2
     21iptables -A PREROUTING -t mangle -m mark --mark 0 -d 18.181.0.33 -j MARK --set-mark 1
Note: See TracChangeset for help on using the changeset viewer.