Changes between Version 2 and Version 3 of QuickLvsHowto
- Timestamp:
- Jul 22, 2010, 10:11:48 AM (14 years ago)
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:''' 2 6 {{{ 3 7 sysctl net.ipv4.ip_forward = 1 4 8 }}} 5 9 6 Mangle TFTP packets for LVS: 10 '''Mangle TFTP packets for LVS:''' 7 11 {{{ 8 12 iptables -t mangle -A PREROUTING -i eth0 -p udp -s 0.0.0.0/0 -d $VIP --dport 69 -j MARK --set-mark 1 … … 10 14 }}} 11 15 12 keepalived.conf 16 ''keepalived.conf'' 13 17 {{{ 14 18 ! Configuration File for keepalived … … 45 49 }}} 46 50 47 real server: 51 == Real server == 52 '''Enable loopback for VIP''' 48 53 {{{ 49 54 ifconfig lo0 alias $VIP netmask 255.255.255.255