Changeset 805
- Timestamp:
- Aug 18, 2008, 2:01:46 PM (16 years ago)
- Location:
- lvs/debian/config/etc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lvs/debian/config/etc/ha.d/ldirectord.cf
r766 r805 7 7 virtual=18.181.0.46:80 8 8 real=18.181.0.53:80 gate 1024 9 real=18.181.0.57:80 gate 10249 #real=18.181.0.57:80 gate 1024 10 10 real=18.181.0.167:80 gate 1024 11 11 fallback=18.187.1.128:80 gate … … 19 19 virtual=18.181.0.46:443 20 20 real=18.181.0.53:443 gate 1024 21 real=18.181.0.57:443 gate 102421 #real=18.181.0.57:443 gate 1024 22 22 real=18.181.0.167:443 gate 1024 23 23 fallback=18.187.1.128:443 gate 24 24 service=https 25 25 request="heartbeat/https" 26 virtualhost="scripts.mit.edu" 26 27 receive="1" 27 28 scheduler=sh 28 29 protocol=tcp 29 checktype=connect 30 checktype=negotiate 31 32 virtual=18.181.0.46:444 33 real=18.181.0.53:444 gate 1024 34 #real=18.181.0.57:444 gate 1024 35 real=18.181.0.167:444 gate 1024 36 fallback=18.187.1.128:444 gate 37 service=https 38 request="heartbeat/https" 39 virtualhost="scripts.mit.edu" 40 receive="1" 41 scheduler=sh 42 protocol=tcp 43 checktype=negotiate 30 44 31 45 virtual=18.181.0.50:80 32 46 real=18.181.0.53:80 gate 1024 33 real=18.181.0.57:80 gate 102447 #real=18.181.0.57:80 gate 1024 34 48 real=18.181.0.167:80 gate 1024 35 49 fallback=18.187.1.128:80 gate … … 43 57 virtual=18.181.0.50:443 44 58 real=18.181.0.53:443 gate 1024 45 real=18.181.0.57:443 gate 102459 #real=18.181.0.57:443 gate 1024 46 60 real=18.181.0.167:443 gate 1024 47 61 fallback=18.187.1.128:443 gate … … 53 67 checktype=connect 54 68 69 virtual=18.181.0.50:444 70 real=18.181.0.53:444 gate 1024 71 #real=18.181.0.57:444 gate 1024 72 real=18.181.0.167:444 gate 1024 73 fallback=18.187.1.128:444 gate 74 service=https 75 request="heartbeat/https" 76 receive="1" 77 scheduler=sh 78 protocol=tcp 79 checktype=negotiate 80 55 81 virtual=18.181.0.49:80 56 82 real=18.181.0.53:80 gate 1024 57 real=18.181.0.57:80 gate 102458 #real=18.181.0.167:443 gate 102483 #real=18.181.0.57:80 gate 1024 84 real=18.181.0.167:443 gate 1024 59 85 fallback=18.187.1.128:80 gate 60 86 service=http … … 67 93 virtual=18.181.0.49:443 68 94 real=18.181.0.53:443 gate 1024 69 real=18.181.0.57:443 gate 102470 #real=18.181.0.167:443 gate 102495 #real=18.181.0.57:443 gate 1024 96 real=18.181.0.167:443 gate 1024 71 97 fallback=18.187.1.128:443 gate 72 98 service=https … … 79 105 virtual=1 80 106 real=18.181.0.53 gate "heartbeat/services", "1" 81 real=18.181.0.57 gate "heartbeat/services", "2"107 #real=18.181.0.57 gate "heartbeat/services", "2" 82 108 real=18.181.0.167 gate "heartbeat/services", "3" 83 109 service=http -
lvs/debian/config/etc/network/if-up.d/iptables
r584 r805 6 6 7 7 # scripts.mit.edu 8 iptables -A PREROUTING -t mangle -m tcp -m multiport -p tcp -d 18.181.0.46/31 --dports 80,443 -j MARK --set-mark 28 iptables -A PREROUTING -t mangle -m tcp -m multiport -p tcp -d 18.181.0.46/31 --dports 80,443,444 -j MARK --set-mark 2 9 9 iptables -A PREROUTING -t mangle -m mark --mark 0 -d 18.181.0.46/31 -j MARK --set-mark 1 10 10 11 11 # scripts-cert.mit.edu 12 iptables -A PREROUTING -t mangle -m tcp -m multiport -p tcp -d 18.181.0.50/31 --dports 80,443 -j MARK --set-mark 212 iptables -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 13 13 iptables -A PREROUTING -t mangle -m mark --mark 0 -d 18.181.0.50/31 -j MARK --set-mark 1 14 14
Note: See TracChangeset
for help on using the changeset viewer.