Changes between Version 2 and Version 3 of QuickLvsHowto


Ignore:
Timestamp:
Jul 22, 2010, 10:11:48 AM (14 years ago)
Author:
mirek@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • QuickLvsHowto

    v2 v3  
    1 Enable routing on LVS:
     1= Quick LVS HOWTO =
     2
     3== Director server ==
     4
     5'''Enable routing:'''
    26{{{
    37sysctl net.ipv4.ip_forward = 1
    48}}}
    59
    6 Mangle TFTP packets for LVS:
     10'''Mangle TFTP packets for LVS:'''
    711{{{
    812iptables -t mangle -A PREROUTING -i eth0 -p udp -s 0.0.0.0/0 -d $VIP --dport 69 -j MARK --set-mark 1
     
    1014}}}
    1115
    12 keepalived.conf
     16''keepalived.conf''
    1317{{{
    1418! Configuration File for keepalived
     
    4549}}}
    4650
    47 real server:
     51== Real server ==
     52'''Enable loopback for VIP'''
    4853{{{
    4954ifconfig lo0 alias $VIP netmask 255.255.255.255