Ignore:
Timestamp:
May 25, 2014, 3:55:57 PM (10 years ago)
Author:
achernya
Message:
Merge r2487-r2521 from trunk to branches/fc19-dev
Location:
branches/fc19-dev
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/fc19-dev

  • branches/fc19-dev/lvs/debian/config/etc/ha.d/ldirectord.cf

    r2487 r2522  
    7575        checktype=negotiate
    7676        checkport=80
     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       
  • branches/fc19-dev/lvs/debian/config/etc/network/if-up.d/iptables

    r1792 r2522  
    3232# scripts-primary.mit.edu goes to the primary (FWM 1) on all ports
    3333iptables -A PREROUTING -t mangle -d 18.181.0.182 -j MARK --set-mark 1
     34
     35# sipb.mit.edu acts like regular scripts, except ftp goes to i-hate-penguins.xvm.mit.edu (FWM 4)
     36iptables -A PREROUTING -t mangle -m tcp -m multiport -p tcp -d 18.181.0.29 --dports 80,443,444 -j MARK --set-mark 2
     37# Also send port 25 there too because the IP is shared with rtfm.mit.edu (fix this after renaming the machine)
     38iptables -A PREROUTING -t mangle -m tcp -m multiport -p tcp -d 18.181.0.29 --dports 20,21,25 -j MARK --set-mark 4
     39# All else to the primary
     40iptables -A PREROUTING -t mangle -m mark --mark 0 -d 18.181.0.29 -j MARK --set-mark 1
Note: See TracChangeset for help on using the changeset viewer.