on real servers use sysctl to set: net.ipv4.conf.ethX.arp_ignore=1 net.ipv4.conf.ethX.arp_announce=2
ethX - shoud be the relevant network interface. or add those lines to /etc/sysctl.conf on all nodes and reboot or do "sysctl -p" then configure the relevant interfaces on the nodes with the virtual IP. rumen On Thu, 2007-11-01 at 19:03 +0530, Sameer Garg wrote: > Ok. Figures it is the ARP problem. I checked the howto and there are > multiple suggestions on how to avoid it. Has any one been able to > resolve the arp issue without patching the kernel or adding a module. > > By the way I am using RHEL 4 on the director and real servers with LVS-tun. > > Sameer > > On 11/1/07, Sameer Garg <[EMAIL PROTECTED]> wrote: > > Hey Nick, > > > > I have tried ipvsadm -l --stats and --rate. Both show 0. This is weird > > considering it was showing stats previously and nothing in the setup > > has been changed. The service hasn't even been restarted. > > > > Sameer > > > > On 10/31/07, Nick Silkey <[EMAIL PROTECTED]> wrote: > > > Sameer Garg wrote: > > > > I have been running two LVS setups and on one of them I am not setting > > > > any stats. > > > > > > > > > > > > When I do ipvsadm -l I get the followng. > > > > > > > > > > > > Prot LocalAddress:Port Scheduler Flags > > > > -> RemoteAddress:Port Forward Weight ActiveConn InActConn > > > > TCP director:http rr persistent 300 > > > > -> real1:http Tunnel 1 0 0 > > > > -> real2:http Tunnel 1 0 0 > > > > -> real3:http Tunnel 1 0 0 > > > > > > > > This setup hasn't been modified in over 2 months, even the service > > > > hasn't been restarted. When I had set up the service it was working > > > > fine. I getting the stats and other info. > > > > > > > > I am using RHEL 4 with kernel 2.6.9-55.0.2.ELsmp #1 SMP. and > > > > ldirectord. I tried restarting the service but it doesn't help. I even > > > > looked in /proc/net/ip_vs* (all the entries) and nothing turns up. I > > > > repeat LVS is doing is its job infact it is doing it very well but I > > > > can't seem to figure out what is happening to the stats. > > > > > > Try 'ipvsadm -l --stats'. This should show rule lifetime stats > > > (connections, packets, bytes, etc). > > > > > > -- > > > Nick Silkey | [EMAIL PROTECTED] > > > Senior Operating Systems Specialist > > > Electrical & Computer Engineering > > > The University of Texas at Austin > > > ENS 340 | 512.475.8284 | 0x35EB31E2 > > > > > > > > > _______________________________________________ > > > LinuxVirtualServer.org mailing list - [email protected] > > > Send requests to [EMAIL PROTECTED] > > > or go to http://lists.graemef.net/mailman/listinfo/lvs-users > > > > > > > _______________________________________________ > LinuxVirtualServer.org mailing list - [email protected] > Send requests to [EMAIL PROTECTED] > or go to http://lists.graemef.net/mailman/listinfo/lvs-users _______________________________________________ LinuxVirtualServer.org mailing list - [email protected] Send requests to [EMAIL PROTECTED] or go to http://lists.graemef.net/mailman/listinfo/lvs-users
