2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

Update customize_sleep_for_sn

This commit is contained in:
caomengmeng 2016-07-28 10:56:01 +08:00 committed by GitHub
parent d3eaa578d0
commit b8c553d329

View File

@ -11,7 +11,7 @@ chomp($snnodename);
sleep 300;
my $timecnt = 0;
while ($timecnt < 200) {
while ($timecnt < 120) {
my $booted = system("lsdef -l $snnodename|grep status|grep booted > /dev/null 2>&1");
last if ($booted == 0);
@ -21,7 +21,7 @@ while ($timecnt < 200) {
`echo "send signal to $snnodename for the $timecnt times" >> $log`;
}
sleep 10;
sleep 30;
$timecnt++;
}