Re: start nanny in verbose mode
"Pablo A. Godel" <[email protected]>
| Newsgroups | gmane.linux.redhat.piranha |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the reply... After spending my entire day trying to figure out why it wasn't working (root@director was able to connect to all the RS), I decided to switch to rsh and now is working fine. One thing I noticed is that if I have several different services (80, 443, 21, etc) and they are pointing to the same IPs on the RS, once the configuration is loaded, only one nanny is executed for each ip, for example, nanny was running for RS1 with port 443, but didn't run for RS1 port 80 so it wasn't being loaded into ipvsadm.. is this correct or am I missing something in the configuration? Thank you Pablo Godel ----- Original Message ----- From: "Sébastien Bonnet" <[email protected]> To: <[email protected]> Sent: Friday, March 14, 2003 3:31 AM Subject: Re: start nanny in verbose mode > > I am having a problem reading the remote load using ssh and when > > I run the command manually "ssh ip_addr uptime" it works fine, > > but nanny is complainning about it... How can I start nanny in > > verbose mode from pulse or lvs.cf so I can see what's happening ? > > It's not about getting the uptime output (BTW did you check > root@director can ssh RS without passwd ?) but parsing it. nanny is a > bit picky with that. > > If all RS and linux/unix, you should start rwhod on all of them and > using the following script as load_monitor : > > [sbt@lilas sbt]$ cat /etc/sysconfig/ha/ruptime-piranha > #! /bin/sh > ruptime | grep -E "^$1[[:space:]]+" | \ > sed -e 's/ load / load average: /g' > > Be careful to name your RS in lvs.cf with their real short hostnames. > > -- > Sébastien Bonnet > Centre de contacts - Experian France