Glad to hear this. Hope it can resolve the same phenomenon others met. :-) Moreover, please run stonithd testcase with CTS. Stonithd needs more testing. TIA.
Guochun Shi wrote:
excellent, this fixed bug 952 -Guochun [email protected] 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,vretrieving 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 [email protected] http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs_______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
-- BRs, Sun Jiang Dong _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
