Re: LVS backup router not taking role

Khapare Joshi <[email protected]> Fri, 20 Jan 2012 13:31:25 +0000
Newsgroups gmane.linux.redhat.piranha
Message-ID <CABHhH+sBfTBWEe+mAFfggNxq2UECKGvLKFW_3zND+Zj1eqCs8g@mail.gmail.com>
--===============8250027505832365992==
Content-Type: multipart/alternative; boundary=f46d0401fc418a848b04b6f5b2f2

--f46d0401fc418a848b04b6f5b2f2
Content-Type: text/plain; charset=ISO-8859-1

Hi

Thanks for your post.

On Fri, Jan 20, 2012 at 3:20 AM, Ranjith Rajaram <[email protected]>wrote:

> Hello Joshi
>
>
> On 01/19/2012 09:23 PM, Khapare Joshi wrote:
>
>> fter a while my active lvs router is only point to me one Real server.
>> Then I restart pulse again and seem to to be working again for some time.
>> what is causing this problem
>>
> Do you see any messages related with the second real server in the log's ?
>
> Does ipvsadm -L -n, list the second real server at this time ? . Was the
> previous command output taken at the time of the issue ?
>
>  [root@test ~]# ipvsadm -L -n
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  192.168.1.1:80 wlc  (this is the virtual ip)
  -> 192.168.1.2:80           Route   1      0          0         1st real
server
  -> 192.168.1.3:80           Route   1      0          0          2nd real
server

yes it does list the second real server

> You have chosen "WLC", looking at the output of ipvsadm -L -n at the time
> of the issue is important
>
> You dont seem to have enabled persistence
>
>
> I just want the load balancer to do which server it sends the request.


>
> --
> Ranjith Rajaram
> RHCA, RHCDS
> Team Lead,Technical Account Manager,
> Global Support Services.
>
> */"Developing Software is humane but supporting them is divine"/*
>
> ______________________________**_________________
> Piranha-list mailing list
> [email protected]
> https://www.redhat.com/**mailman/listinfo/piranha-list<https://www.redhat.com/mailman/listinfo/piranha-list>
>

--f46d0401fc418a848b04b6f5b2f2
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi <br><br>Thanks for your post.<br><br><div class=3D"gmail_quote">On Fri, =
Jan 20, 2012 at 3:20 AM, Ranjith Rajaram <span dir=3D"ltr">&lt;<a href=3D"m=
ailto:[email protected]">[email protected]</a>&gt;</span> wrote:<br><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
ccc solid;padding-left:1ex">
Hello Joshi<div class=3D"im"><br>
<br>
On 01/19/2012 09:23 PM, Khapare Joshi wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
fter a while my active lvs router is only point to me one Real server. Then=
 I restart pulse again and seem to to be working again for some time. what =
is causing this problem<br>
</blockquote></div>
Do you see any messages related with the second real server in the log&#39;=
s ?<br>
<br>
Does ipvsadm -L -n, list the second real server at this time ? . Was the pr=
evious command output taken at the time of the issue ?<br>
<br></blockquote><div>=A0[root@test ~]# ipvsadm -L -n<br>IP Virtual Server =
version 1.2.1 (size=3D4096)<br>Prot LocalAddress:Port Scheduler Flags<br>=
=A0 -&gt; RemoteAddress:Port=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Forward Weight A=
ctiveConn InActConn<br>
TCP=A0 <a href=3D"http://192.168.1.1:80">192.168.1.1:80</a> wlc=A0 (this is=
 the virtual ip)<br>=A0 -&gt; <a href=3D"http://192.168.1.2:80">192.168.1.2=
:80</a>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Route=A0=A0 1=A0=A0=A0=A0=A0 0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0 1st real server<br>=A0 -&gt=
; <a href=3D"http://192.168.1.3:80">192.168.1.3:80</a>=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0 Route=A0=A0 1=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0 2nd real server<br>
<br>yes it does list the second real server<br></div><blockquote class=3D"g=
mail_quote" style=3D"margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204=
,204,204);padding-left:1ex">
You have chosen &quot;WLC&quot;, looking at the output of ipvsadm -L -n at =
the time of the issue is important<br>
<br>
You dont seem to have enabled persistence<div class=3D"im HOEnZb"><br>
<br></div></blockquote><div><div id=3D":2e" class=3D"ajR" tabindex=3D"0">I =
just want the load balancer to do which server it sends the request<img cla=
ss=3D"ajT" src=3D"images/cleardot.gif">. <br></div>=A0</div><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0pt 0pt 0pt 0.8ex;border-left:1px solid =
rgb(204,204,204);padding-left:1ex">
<div class=3D"im HOEnZb">
<br>
-- <br>
Ranjith Rajaram =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <br>
RHCA, RHCDS =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 <br>
Team Lead,Technical Account Manager, =A0 =A0 =A0 =A0 =A0 =A0<br>
Global Support Services.<br>
<br>
*/&quot;Developing Software is humane but supporting them is divine&quot;/*=
<br>
<br></div><div class=3D"HOEnZb"><div class=3D"h5">
______________________________<u></u>_________________<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/<u></u>mailman/listinfo/piranha-list</a><br>
</div></div></blockquote></div><br>

--f46d0401fc418a848b04b6f5b2f2--


--===============8250027505832365992==
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
--===============8250027505832365992==--