Re: LVS start to malfunction after few hours
Michael Ben-Nes <[email protected]> Sun, 24 Jan 2010 12:40:02 +0200
| Newsgroups | gmane.linux.redhat.piranha |
|---|---|
| Message-ID | <[email protected]> |
--===============6770181988719891377== Content-Type: multipart/alternative; boundary=0016364592c2dc23f8047de6ac2e --0016364592c2dc23f8047de6ac2e Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ok, this is the current status. The solution that uses arptables + the VIP on eth0:1 is not working for me with LVS-DR. After few hours of service, the LVS breaks and I receive answers only from one server. I checked using /sbin/arping if ARP packets pass the arptable fw but couldn't find any. After some debates I choose a different setup then the one mentioned by RH docs. Removed / stopped the arptable package. Added to sysctl.conf: net.ipv4.conf.all.arp_ignore =3D 1 net.ipv4.conf.eth0.arp_ignore =3D 1 net.ipv4.conf.all.arp_announce =3D 2 net.ipv4.conf.eth0.arp_announce =3D 2 Moved the VIP from eth:0 to lo:0 Now its working as expected. note - the bug mentioned at RH bugzilla is not relevant as it address different problem. -------------------------------------------------- Michael Ben-Nes - Internet Consultant and Director. http://www.epoch.co.il - weaving the Net. Cellular: 054-4848113 -------------------------------------------------- On Tue, Jan 19, 2010 at 11:31 AM, Michael Ben-Nes <[email protected]>wrot= e: > Thanks Laszlo for the refer. > > As mentioned in the bug I downgraded to piranha-0.8.4-11 ( got it from OS > ver 5.3 ) > I will return with a feedback in a day, with the hope it will be stable := ) > > Miki > > -------------------------------------------------- > Michael Ben-Nes - Internet Consultant and Director. > http://www.epoch.co.il - weaving the Net. > Cellular: 054-4848113 > -------------------------------------------------- > > > On Tue, Jan 19, 2010 at 11:03 AM, Laszlo Beres <[email protected]> wrote: > >> On Tue, Jan 19, 2010 at 9:10 AM, Michael Ben-Nes <[email protected]> >> wrote: >> >> > Jan 18 09:59:15 blb1 nanny[2668]: /sbin/ipvsadm command failed! >> > Jan 18 09:59:15 blb1 nanny[5812]: /sbin/ipvsadm command failed! >> > Jan 18 09:59:15 blb1 nanny[2670]: /sbin/ipvsadm command failed! >> > Jan 18 09:59:15 blb1 nanny[5813]: Terminating due to signal 15 >> > Jan 18 09:59:15 blb1 nanny[5813]: /sbin/ipvsadm command failed! >> >> That reminds me to a bug: >> >> http://bugs.centos.org/view.php?id=3D3924 >> >> Except that in the sample above pulse couldn't even start up properly. >> >> -- >> L=E1szl=F3 B=E9res Unix system engineer >> http://www.google.com/profiles/beres.laszlo >> >> _______________________________________________ >> Piranha-list mailing list >> [email protected] >> https://www.redhat.com/mailman/listinfo/piranha-list >> > > --0016364592c2dc23f8047de6ac2e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Ok, this is the current status.<div><div><br></div><div>Th= e solution that uses arptables + the VIP on eth0:1 is not working for me wi= th LVS-DR.=A0After few hours of service, the LVS breaks and I=A0receive=A0a= nswers only from one server.</div> <div><br></div><div>I checked using /sbin/arping if ARP packets pass the ar= ptable fw but=A0couldn't=A0find any.</div><div>After some debates I cho= ose a=A0different=A0setup then the one mentioned by RH docs.</div><div><br>= </div> <div>Removed /=A0stopped=A0the arptable package.</div><div><br></div><div>A= dded to sysctl.conf:</div><div><br></div><div><div>net.ipv4.conf.all.arp_ig= nore =3D 1</div><div>net.ipv4.conf.eth0.arp_ignore =3D 1</div><div>net.ipv4= .conf.all.arp_announce =3D 2</div> <div>net.ipv4.conf.eth0.arp_announce =3D 2</div><div><br></div><div>Moved t= he VIP from eth:0 to lo:0</div><div><br></div><div>Now its working as expec= ted.</div><div><br></div><div>note - the bug=A0mentioned=A0at RH bugzilla i= s not relevant as it address=A0different=A0problem.</div> <div><br></div></div><div><br clear=3D"all">-------------------------------= -------------------<br>Michael Ben-Nes - Internet Consultant and Director.<= br><a href=3D"http://www.epoch.co.il">http://www.epoch.co.il</a> - weaving = the Net.<br> Cellular: 054-4848113<br>--------------------------------------------------= <br> <br><br><div class=3D"gmail_quote">On Tue, Jan 19, 2010 at 11:31 AM, Michae= l Ben-Nes <span dir=3D"ltr"><<a href=3D"mailto:[email protected]">mich= [email protected]</a>></span> wrote:<br><blockquote class=3D"gmail_quote" = style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> <div dir=3D"ltr">Thanks Laszlo for the=A0refer.<div><br></div><div>As menti= oned in the bug I downgraded to=A0piranha-0.8.4-11 ( got it from OS ver 5.3= )</div><div>I will return with a feedback in a day, with the hope it will = be stable :)</div> <div><br></div><div>Miki</div><div><br><div><div class=3D"im">-------------= -------------------------------------<br>Michael Ben-Nes - Internet Consult= ant and Director.<br><a href=3D"http://www.epoch.co.il" target=3D"_blank">h= ttp://www.epoch.co.il</a> - weaving the Net.<br> Cellular: 054-4848113<br>--------------------------------------------------= <br> <br><br></div><div><div></div><div class=3D"h5"><div class=3D"gmail_quote">= On Tue, Jan 19, 2010 at 11:03 AM, Laszlo Beres <span dir=3D"ltr"><<a hre= f=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>></spa= n> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <div>On Tue, Jan 19, 2010 at 9:10 AM, Michael Ben-Nes <<a href=3D"mailto= :[email protected]" target=3D"_blank">[email protected]</a>> wrote:<= br> <br> > Jan 18 09:59:15 blb1 nanny[2668]: /sbin/ipvsadm command failed!<br> > Jan 18 09:59:15 blb1 nanny[5812]: /sbin/ipvsadm command failed!<br> > Jan 18 09:59:15 blb1 nanny[2670]: /sbin/ipvsadm command failed!<br> > Jan 18 09:59:15 blb1 nanny[5813]: Terminating due to signal 15<br> > Jan 18 09:59:15 blb1 nanny[5813]: /sbin/ipvsadm command failed!<br> <br> </div>That reminds me to a bug:<br> <br> <a href=3D"http://bugs.centos.org/view.php?id=3D3924" target=3D"_blank">htt= p://bugs.centos.org/view.php?id=3D3924</a><br> <br> Except that in the sample above pulse couldn't even start up properly.<= br> <font color=3D"#888888"><br> --<br> L=E1szl=F3 B=E9res =A0 =A0 =A0 =A0 =A0 =A0Unix system engineer<br> <a href=3D"http://www.google.com/profiles/beres.laszlo" target=3D"_blank">h= ttp://www.google.com/profiles/beres.laszlo</a><br> </font><div><div></div><div><br> _______________________________________________<br> Piranha-list mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">Piranha-list@r= edhat.com</a><br> <a href=3D"https://www.redhat.com/mailman/listinfo/piranha-list" target=3D"= _blank">https://www.redhat.com/mailman/listinfo/piranha-list</a></div></div= ></blockquote></div><br></div></div></div></div></div> </blockquote></div><br></div></div></div> --0016364592c2dc23f8047de6ac2e-- --===============6770181988719891377== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Piranha-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/piranha-list --===============6770181988719891377==--