I think also it's a persistence issue, because when i tried ipvsadm after few minutes, the InActConn is initialized to 0. then the load balancer sends the incoming request to the other server. here is an example :<br>-I try to send several request : they all get answers but from the same server 
<br>   -> RemoteAddress:Port           Forward Weight ActiveConn InActConn<br> UDP  10.11.11.230:radius wrr<br>   -> 10.11.11.20:radius           Masq    1      0          0<br>   -> 10.11.11.19:radius           Masq    1      0          
<span style="font-weight: bold;">1</span><br><br>after few minutes :<br>   -> RemoteAddress:Port           Forward Weight ActiveConn InActConn<br> UDP  10.11.11.230:radius wrr<br>   -> 10.11.11.20:radius           Masq    1      0          0
<br>   -> 10.11.11.19:radius           Masq    1      0          <span style="font-weight: bold;">0</span><br><br>and then all the requests coming to the load balancer are routed to the other server :<br>   -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
<br>
 UDP  10.11.11.230:radius wrr<br>
   -> 10.11.11.20:radius           Masq    1      0          <span style="font-weight: bold;">1</span><br>
   -> 10.11.11.19:radius           Masq    1      0          0<br><br>How to fix this behaviour ?<br><br>Regards,<br><br><br><div><span class="gmail_quote">On 5/21/07, <b class="gmail_sendername">Herta Van den Eynde</b>
 <<a href="mailto:herta.vandeneynde@gmail.com">herta.vandeneynde@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 21/05/07, Mohamed HADROUJ (Gmail) <<a href="mailto:hadrouj@gmail.com">hadrouj@gmail.com</a>> wrote:<br>> Hi All,<br>> I have some load balancing troubles using lvs/piranha, here is the<br>> description :
<br>> when i use the ipvsadm command to view the statistics here what i get :<br>> IP Virtual Server version 1.0.8 (size=65536)<br>> Prot LocalAddress:Port Scheduler Flags<br>>   -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
<br>> UDP  10.11.11.230:radius wrr<br>>   -> 10.11.11.20:radius           Masq    1      0          0<br>>   -> 10.11.11.19:radius           Masq    1      0          1<br>><br>> the load balancer keeps forwarding the request to only one server. in
<br>> addition of that the counter of the connection established is always equal<br>> to 1.<br>> i've checked also in /var/log/messages, both servers are seen as available.<br>> here is my config file :<br>
><br>> backup_active = 1<br>> backup = <a href="http://10.11.11.229">10.11.11.229</a><br>> backup_private = <a href="http://10.11.11.121">10.11.11.121</a><br>> heartbeat = 1<br>> heartbeat_port = 539<br>
>  keepalive = 6<br>> deadtime = 18<br>> network = nat<br>> nat_router = <a href="http://10.11.11.122">10.11.11.122</a> bond0.499:1<br>> debug_level = NONE<br>> virtual gw_radius {<br>>         active = 1
<br>>         address = <a href="http://10.11.11.230">10.11.11.230</a> bond0.498:1<br>>         port = 1812<br>>         send_program = "radpwtst -s %h -noacct -noauth -auth_port 1812<br>> -secret mysecret -status"
<br>>         expect = "OK"<br>>         use_regex = "0"<br>>         #load_monitor = uptime<br>>         scheduler = wrr<br>>         protocol = udp<br>>         timeout = 6<br>>         reentry = 15
<br>>         quiesce_server = 0<br>>         server GW_1 {<br>>                 address = <a href="http://10.11.11.19">10.11.11.19</a><br>>                 active = 1<br>>                 weight = 1<br>>         }
<br>>         server GW_2 {<br>>                 address = <a href="http://10.11.11.20">10.11.11.20</a><br>>                 active = 1<br>>                  weight = 1<br>>         }<br>>         server GW_3 {
<br>>                 address = <a href="http://10.11.11.21">10.11.11.21</a><br>>                 active = 0<br>>                 weight = 1<br>>         }<br>> }<br>><br>><br>><br>> Thank you for your help
<br>> Regards<br><br>Might be a persistence issue.  Did you try connecting from 2 different<br>nodes/PCs?<br><br>Kind regards,<br><br>Herta<br><br>_______________________________________________<br>Piranha-list mailing list
<br><a href="mailto:Piranha-list@redhat.com">Piranha-list@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/piranha-list">https://www.redhat.com/mailman/listinfo/piranha-list</a><br></blockquote></div><br>