LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] load balancing using ldirectord

To: lists <malcolm@xxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] load balancing using ldirectord
Cc: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Jordi Garcia <jgarcia@xxxxxxxxxxxx>
Date: Mon, 11 Feb 2008 15:47:05 +0100
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@xxxxxxxxxxxxxxxxxxxxxx
> > Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> > or go to http://lists.graemef.net/mailman/listinfo/lvs-users
> >   
> 
> 




<Prev in Thread] Current Thread [Next in Thread>
  • Re: [lvs-users] load balancing using ldirectord, Jordi Garcia <=