[lvs-users] load balancing using ldirectord

Jordi Garcia jgarcia at pricewin.net
Mon Feb 11 14:47:05 GMT 2008


Hello Malcom,

there were two problems in my configuration. 

The first, this value in sysctl.conf:

# Uncomment the next line to enable packet forwarding for IPv4
net.ipv4.conf.default.forwarding=1

Doesn't work!

The correct value is net.ipv4.conf.all.forwarding=1


And the second, another server with same VIP... without comments.



Thanks
Jordi

On Mon, 2008-02-11 at 14:32 +0000, lists wrote:
> Jordi ,
> 
> What does ldirectord.log show? Are servers failing health checks?
> What does ipvsadm -Lnc show? Are connections established (they look 
> inactive?)
> 
> Regards,
> Malcolm.
> >
> > some minutes after, the same situation.
> >
> >
> > but LVS kernel table says:
> >
> > node1:/var/log# ipvsadm -L -n
> > IP Virtual Server version 1.2.1 (size=4096)
> > Prot LocalAddress:Port Scheduler Flags
> >   -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
> > TCP  10.2.1.200:20057 wrr
> >   -> 10.2.1.110:20057             Route   1      0          2
> >   -> 10.2.1.109:20057             Route   1      0          3
> >   -> 10.2.1.20:20057              Route   1      0          2
> >
> >
> >
> > Any ideas? Is it a problem with a real server? but If I try a telnet to
> > 20057 port from master to all real servers, works fine..
> >
> >
> >
> > Kind regards
> > Jordi
> >
> >
> > _______________________________________________
> > LinuxVirtualServer.org mailing list - lvs-users at LinuxVirtualServer.org
> > Send requests to lvs-users-request at LinuxVirtualServer.org
> > or go to http://lists.graemef.net/mailman/listinfo/lvs-users
> >   
> 
> 




Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list