[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] would this configuration work for lvs-dr?



could someone please let me know if this setup will work for lvs-dr?
I use pulse / piranha / ipvsadm
I just can't get anything to work. and I'm thinking maybe the GW's are
what causing the problems.
I got help with regards to the forwarding bit, and not to use lo:0 but
nothing seems to work.

LVS:
eth0:		192.168.2.1 / gw: 192.168.2.10 (CIP, direct connect to eth0)
eth0:1	192.168.2.100 (VIP)
eth1:		192.168.3.1 / gw 192.168.2.1
eth2:		192.168.0.111 / gw 192.168.2.1
sysctl.conf: ipv4.ip_forward = 1

RS#1
IP: 192.168.3.10
GW: 192.168.3.1
sysctl.conf: ipv4.ip_forward = 1
sysctl.conf: net.ipv4.conf.lo.arp_ignore = 1
sysctl.conf: net.ipv4.conf.lo.arp_announce = 2
sysctl.conf: net.ipv4.conf.all.arp_ignore = 1
sysctl.conf: net.ipv4.conf.all.arp_announce = 2

RS#2
IP: 192.168.0.10
GW: 192.168.0.1
sysctl.conf: ipv4.ip_forward = 1
sysctl.conf: net.ipv4.conf.lo.arp_ignore = 1
sysctl.conf: net.ipv4.conf.lo.arp_announce = 2
sysctl.conf: net.ipv4.conf.all.arp_ignore = 1
sysctl.conf: net.ipv4.conf.all.arp_announce = 2

-- 
---------------
Morpheus: After this, there is no turning back. You take the blue pill
- the story ends, you wake up in your bed and believe whatever you
want to believe. You take the red pill - you stay in Wonderland and I
show you how deep the rabbit-hole goes.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]