fix bug 3513820: no usage for lshwconn/rmhwconn/mkhwconn for NGP

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12189 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
zhaoertao 2012-04-11 02:55:27 +00:00
parent 48a70986b7
commit c5c13da285
3 changed files with 30 additions and 6 deletions

View File

@ -1,6 +1,6 @@
=head1 NAME
B<lshwconn> - Use this command to display the connection status for CEC and Frame nodes.
B<lshwconn> - Use this command to display the connection status for CEC, Frame and Firebird nodes.
=head1 SYNOPSIS
@ -18,7 +18,7 @@ B<lshwconn> I<noderange> B<-T> I<tooltype>
=head1 DESCRIPTION
This command is used to display the connection status for CEC and Frame node.
This command is used to display the connection status for CEC, Frame and Firebird nodes.
=head1 OPTIONS
@ -34,7 +34,7 @@ Verbose output.
=item B<-T>
The tooltype is used to communicate to the CEC/Frame. The value could be lpar or fnm. The tooltype value lpar is for xCAT and fnm is for CNM.
The tooltype is used to communicate to the CEC/Frame/Firebird. The value could be lpar or fnm. The tooltype value lpar is for xCAT and fnm is for CNM.
=back
@ -81,6 +81,17 @@ Output is similar to:
cec1: sp=primary,ipadd=40.3.7.1,alt_ipadd=unavailable,state=LINE UP
cec2: Connection not found
=item 4.
To display connection status for Fireblades to hardware server:
lshwconn blade
Output is similar to:
blade01: sp=primary,ipadd=70.0.0.21,alt_ipadd=unavailable,state=LINE UP
blade02: sp=primary,ipadd=70.0.0.22,alt_ipadd=unavailable,state=LINE UP
=back

View File

@ -41,8 +41,9 @@ Note: If a CEC belongs to a frame, which has a BPA installed, this CEC should no
For PPC (using Direct FSP Management) specific:
It is used to set up connections for CEC and Frame node to Hardware Server on management node (or service node ). It only could be done according to the node definition in xCAT DB. And this command will try to read the user/password from the ppcdirect table first. If fails, then read them from passwd table. Commonly , the username is B<HMC>. If using the B<ppcdirect> table, each CEC/Frame and user/password should be stored in B<ppcdirect> table. If using the B<passwd> table, the key should be "B<cec>" or "B<frame>", and the related user/password are stored in B<passwd> table.
It is used to set up connections for CEC, Frame and Firebird node to Hardware Server on management node (or service node ). It only could be done according to the node definition in xCAT DB. And this command will try to read the user/password from the ppcdirect table (for Firebird, from mpa table) first. If fails, then read them from passwd table.
Commonly , the username is B<HMC>. If using the B<ppcdirect> table, each CEC/Frame and user/password should be stored in B<ppcdirect> table. If using the B<passwd> table, the key should be "B<cec>" or "B<frame>", and the related user/password are stored in B<passwd> table.
When B<--port> is specified, this command will create the connections for CECs/Frames whose side in B<vpd> table is equal to port value.
=head1 OPTIONS
@ -124,6 +125,12 @@ To setup the connection between the frame and it's SFP node. This command will a
mkhwconn cec -s HMC_name -P HMC_passwd
=item 6.
To setup the connection between the Firebird and hardware server:
mkhwconn blade -t
=back
=head1 FILES

View File

@ -30,7 +30,7 @@ Note: If a CEC belongs to a frame with a BPA installed, this CEC cannot be disco
For PPC (without HMC, using FSPAPI) specific:
It's used to disconnection CEC and Frame nodes from hardware server.
It's used to disconnection CEC, Frame and Firebird nodes from hardware server.
For PPC (use HMC as SFP) specific:
@ -79,10 +79,16 @@ To remove the connection for Frame node frame1:
=item 3.
To disconnect all CEC nodes in node group cec from their related hardware serveri, using lpar tooltype:
To disconnect all CEC nodes in node group cec from their related hardware service, using lpar tooltype:
rmhwconn cec -T lpar
=item 4.
To disconnect all Firebird nodes from there related hardware service:
rmhwconn blade
=back