Changeset 965 for lvs/debian/config


Ignore:
Timestamp:
Feb 2, 2009, 11:13:08 PM (14 years ago)
Author:
quentin
Message:
Configure ldirectord and iptables for scripts-new
Location:
lvs/debian/config/etc
Files:
2 edited

Legend:

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

    r819 r965  
    3232
    3333virtual=18.181.0.46:444
     34        real=18.181.0.53:444 gate 1024
     35        real=18.181.0.57:444 gate 1024
     36        real=18.181.0.167:444 gate 1024
     37        fallback=18.187.1.128:444 gate
     38        service=https
     39        request="heartbeat/https"
     40        virtualhost="scripts.mit.edu"
     41        receive="1"
     42        scheduler=sh
     43        protocol=tcp
     44        checktype=negotiate
     45
     46virtual=18.181.0.43:80
     47        real=18.181.0.53:80 gate 1024
     48        real=18.181.0.57:80 gate 1024
     49        real=18.181.0.167:80 gate 1024
     50        fallback=18.187.1.128:80 gate
     51        service=http
     52        request="heartbeat/http"
     53        receive="1"
     54        scheduler=sh
     55        protocol=tcp
     56        checktype=negotiate
     57
     58virtual=18.181.0.43:443
     59        real=18.181.0.53:443 gate 1024
     60        real=18.181.0.57:443 gate 1024
     61        real=18.181.0.167:443 gate 1024
     62        fallback=18.187.1.128:443 gate
     63        service=https
     64        request="heartbeat/https"
     65        virtualhost="scripts.mit.edu"
     66        receive="1"
     67        scheduler=sh
     68        protocol=tcp
     69        checktype=negotiate
     70
     71virtual=18.181.0.43:444
    3472        real=18.181.0.53:444 gate 1024
    3573        real=18.181.0.57:444 gate 1024
  • lvs/debian/config/etc/network/if-up.d/iptables

    r805 r965  
    99iptables -A PREROUTING -t mangle -m mark --mark 0 -d 18.181.0.46/31 -j MARK --set-mark 1
    1010
     11# scripts-new.mit.edu
     12iptables -A PREROUTING -t mangle -m tcp -m multiport -p tcp -d 18.181.0.43 --dports 80,443,444 -j MARK --set-mark 2
     13iptables -A PREROUTING -t mangle -m mark --mark 0 -d 18.181.0.43 -j MARK --set-mark 1
     14
    1115# scripts-cert.mit.edu
    1216iptables -A PREROUTING -t mangle -m tcp -m multiport -p tcp -d 18.181.0.50/31 --dports 80,443,444 -j MARK --set-mark 2
     
    1620iptables -A PREROUTING -t mangle -m tcp -m multiport -p tcp -d 18.181.0.49 --dports 80,443 -j MARK --set-mark 2
    1721iptables -A PREROUTING -t mangle -m mark --mark 0 -d 18.181.0.49 -j MARK --set-mark 1
    18 
    19 # hacks.mit.edu
    20 iptables -A PREROUTING -t mangle -m tcp -m multiport -p tcp -d 18.181.0.33 --dports 80,443 -j MARK --set-mark 2
    21 iptables -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.