From c5c13da285bcd08ef7ffa6eee4fd67b6b1458ed2 Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Wed, 11 Apr 2012 02:55:27 +0000 Subject: [PATCH] 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 --- xCAT-client/pods/man1/lshwconn.1.pod | 17 ++++++++++++++--- xCAT-client/pods/man1/mkhwconn.1.pod | 9 ++++++++- xCAT-client/pods/man1/rmhwconn.1.pod | 10 ++++++++-- 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/xCAT-client/pods/man1/lshwconn.1.pod b/xCAT-client/pods/man1/lshwconn.1.pod index 6e958831e..9e968b62d 100644 --- a/xCAT-client/pods/man1/lshwconn.1.pod +++ b/xCAT-client/pods/man1/lshwconn.1.pod @@ -1,6 +1,6 @@ =head1 NAME -B - Use this command to display the connection status for CEC and Frame nodes. +B - Use this command to display the connection status for CEC, Frame and Firebird nodes. =head1 SYNOPSIS @@ -18,7 +18,7 @@ B I B<-T> I =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 diff --git a/xCAT-client/pods/man1/mkhwconn.1.pod b/xCAT-client/pods/man1/mkhwconn.1.pod index 0f47b3668..c47a62ded 100644 --- a/xCAT-client/pods/man1/mkhwconn.1.pod +++ b/xCAT-client/pods/man1/mkhwconn.1.pod @@ -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. If using the B table, each CEC/Frame and user/password should be stored in B table. If using the B table, the key should be "B" or "B", and the related user/password are stored in B 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. If using the B table, each CEC/Frame and user/password should be stored in B table. If using the B table, the key should be "B" or "B", and the related user/password are stored in B table. When B<--port> is specified, this command will create the connections for CECs/Frames whose side in B 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 diff --git a/xCAT-client/pods/man1/rmhwconn.1.pod b/xCAT-client/pods/man1/rmhwconn.1.pod index 86ea9a15e..6c37e47ef 100644 --- a/xCAT-client/pods/man1/rmhwconn.1.pod +++ b/xCAT-client/pods/man1/rmhwconn.1.pod @@ -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