From 57f0a929027af44675bb8a9b87844dd024325a2f Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Tue, 13 Oct 2009 13:37:30 +0000 Subject: [PATCH] Set maxssh to 8 to make HW control commands more reliable git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4369 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Schema.pm | 2 +- xCAT-server/lib/perl/xCAT/PPC.pm | 6 +++--- xCAT-server/sbin/xcatconfig | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index 64d77357f..7a0b0c059 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -576,7 +576,7 @@ site => { " ipmitimeout:\tThe timeout to use when communicating with BMCs. Default is 2 seconds.\n\n". " iscsidir:\tThe path to put the iscsi disks in on the mgmt node.\n\n". " master:\tThe hostname of the xCAT management node, as known by the nodes.\n\n". - " maxssh:\tThe max # of SSH connections at any one time to the hw ctrl point for PPC hw ctrl purposes. Default is 10.\n\n". + " maxssh:\tThe max # of SSH connections at any one time to the hw ctrl point for PPC hw ctrl purposes. Default is 8.\n\n". " nameservers:\tA comma delimited list of DNS servers that each node in the cluster should use - often the xCAT management node.\n\n". " nodestatus:\tIf set to 'n', the nodelist.status column will not be updated during the node deployment, node discovery and power operation.\n\n". " ntpservers:\tA comma delimited list of NTP servers for the cluster - often the xCAT management node.\n\n". diff --git a/xCAT-server/lib/perl/xCAT/PPC.pm b/xCAT-server/lib/perl/xCAT/PPC.pm index 4c2b75ae5..40ef00aac 100644 --- a/xCAT-server/lib/perl/xCAT/PPC.pm +++ b/xCAT-server/lib/perl/xCAT/PPC.pm @@ -103,7 +103,7 @@ sub process_command { $request->{ppctimeout} = 0; $request->{fsptimeout} = 0; $request->{ppcretry} = 3; - $request->{maxssh} = 10; + $request->{maxssh} = 8; ####################################### # Get site table attributes @@ -1488,7 +1488,7 @@ sub sshcmds_on_hmc ppctimeout => 0, fsptimeout => 0, ppcretry => 3, - maxssh => 10 + maxssh => 8 ); @@ -1568,7 +1568,7 @@ sub updconf_in_asm ppctimeout => 0, fsptimeout => 0, ppcretry => 3, - maxssh => 10, + maxssh => 8, arg => \@cmds, method => \%handled, command => 'rspconfig', diff --git a/xCAT-server/sbin/xcatconfig b/xCAT-server/sbin/xcatconfig index be386932f..ad55c8722 100644 --- a/xCAT-server/sbin/xcatconfig +++ b/xCAT-server/sbin/xcatconfig @@ -846,7 +846,7 @@ sub initDB } $chtabcmds .= "$::XCATROOT/sbin/chtab key=master site.value=$master;"; $chtabcmds .= - "$::XCATROOT/sbin/chtab key=maxssh site.value=10;"; + "$::XCATROOT/sbin/chtab key=maxssh site.value=8;"; $chtabcmds .= "$::XCATROOT/sbin/chtab key=ppcmaxp site.value=64;"; $chtabcmds .=