Re: Director Failover

ong cheechye <[email protected]>
Newsgroups gmane.linux.redhat.piranha
Message-ID <[email protected]>
No, lvs doesn't work. I can't telnet to the VIP from a
client pc. It could be the director cannot detect the
realserver as seen in the log, so when telnet request
come in, it can't redirect to the realserver. That's
why I get "connection refused" when I telnet the VIP
from the client pc. Is my assumption correct ?

I think it has to do with my PC setup or kernel setup
as I don't encounter the same problem in another PC as
director (even with the expect/send=""). I'm sure
because the same problem occur when I fall back to the
old Piranha without patch in this PC. But I think I
did the same for the ipvs patch in both PCs.

The funny thing is I can telnet/ping the realserver
from this PC. So whst does nanny actually do to poll
the realserver.

Thanks
Chee Chye


Because of this

 --- Sébastien Bonnet <[email protected]>
wrote: > > I have another problem here. I got the
following
> message in the log:
> > nanny[1228]: READ to 192.168.123.198:23 timed out
> 
> I guess that because you don't have a send string,
> nanny just connects
> to telnetd, which doesn't reply anything. If you
> really want to setup a
> telnet cluster, consider using approriate
> send/expect string or an
> external test program.
> 
> > I can telnet/ping 192.168.123.198 (the realserver)
> from the
> > director. What could be the problem ?
> 
> Exposed earlier. Just to make sure I've understood :
> it does work, but
> you get these nasty lines in the logs, right ?
> 
> > rsh_command = rsh
> >          load_monitor = uptime
> 
> Too bad ! This is the least efficient way to collect
> remote loads.
> Consider using (a modified) ruptime : start rwhod on
> all realservers,
> name them by their real, not FQDN, hostname in
> lvs.cf, and use the
> following script as load_monitor.
> 
> [sbt@ssca4010 sbt]$ cat
> /etc/sysconfig/ha/ruptime-piranha
> #! /bin/sh
> 
> ruptime | grep -E "^$1[[:space:]]+" | sed -e 's/
> load / load average:
> /g'
> 
> -- 
> Sébastien Bonnet
>   Centre de contacts - Experian France
> 
> 
> 
> _______________________________________________
> Piranha-list mailing list
> [email protected]
>
https://listman.redhat.com/mailman/listinfo/piranha-list 

__________________________________________________
Do You Yahoo!?
Promote your business from just $5 a month!
http://sg.biztools.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.