On Wednesday 25 June 2008 13:26:41 Randy Evans wrote:
> On Wed, Jun 25, 2008 at 2:31 AM, Jozef Slezacek <[EMAIL PROTECTED]> 
wrote:
> >> >> ipvsadm -L output:
> >> >> IP Virtual Server version 1.2.1 (size=4096)
> >> >> Prot LocalAddress:Port Scheduler Flags
> >> >>  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
> >> >> TCP  192.168.0.125:http wlc persistent 600
> >> >>  -> centos-3.mydomain.com Route   1      0          1
> >> >>  -> centos-4.mydomain.com Route   1      0          0
> >
> > The weight is 0 which means that ldirectord will not forward any traffic
> > to the real servers.
> >
> > Ldirectord most likely doesn't receive the expected "heartbeat" reply
> > from the real-servers and thus gives them a weight of 0.
> >
> > In your ldirectord.cf, this is what the server expects:
> >
> >         request="test.html"
> >         receive="Still alive"
> >
> > To check this, point your web-browser from the server running ldirector
> > to <real_server_ip>/test.html
> >
> > You have to receive "Still alive" as reply.
> >
> > --
> > Best regards
> >
> > Jo
>
> Actually, I think the column alignment is messed up.

Ah yes.

> I have set these values on the two real servers:

> net.ipv4.conf.lo.arp_ignore = 1
> net.ipv4.conf.lo.arp_announce = 2
> net.ipv4.conf.all.arp_ignore = 1
> net.ipv4.conf.all.arp_announce = 2

Change "conf.lo" to "conf.ethX " where ethX is your real IP interface.

-- 
Best regards

Jo
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to