[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ha-dev
Subject:    [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: lib by sunjd from
From:       Guochun Shi <gshi () ncsa ! uiuc ! edu>
Date:       2005-11-30 20:57:47
Message-ID: 438E124B.2060107 () ncsa ! uiuc ! edu
[Download RAW message or body]

excellent, this fixed bug 952

-Guochun

linux-ha-cvs@lists.linux-ha.org wrote:

>linux-ha CVS committal
>
>Author  : sunjd
>Host    : 
>Project : linux-ha
>Module  : lib
>
>Dir     : linux-ha/lib/plugins/stonith/external
>
>
>Modified Files:
>	ssh.in 
>
>
>Log Message:
>bug952: avoid to freeze for a long time
>===================================================================
>RCS file: /home/cvs/linux-ha/linux-ha/lib/plugins/stonith/external/ssh.in,v
>retrieving revision 1.7
>retrieving revision 1.8
>diff -u -3 -r1.7 -r1.8
>--- ssh.in	17 Nov 2005 05:32:31 -0000	1.7
>+++ ssh.in	30 Nov 2005 02:28:37 -0000	1.8
>@@ -41,7 +41,7 @@
> 	for j in 1 2 3
>         do
>           if
>-            ping -w0.5 -c1 "$1" >/dev/null 2>&1
>+            ping -w1 -c1 "$1" >/dev/null 2>&1
>           then
>             return 1
>           fi
>@@ -97,7 +97,7 @@
> 	for h in $hostlist
> 	do
> 	  if
>-	    host $h 2>&1 | grep "not found:"
>+            ping -w1 -c1 "$h" 2>&1 | grep "unknown host"
>           then
> 	    exit 1
> 	  fi
>
>
>_______________________________________________
>Linux-ha-cvs mailing list
>Linux-ha-cvs@lists.linux-ha.org
>http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
>
>
>  
>


_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic