From 4be064b4cfa5b604588b7a69ad8155229821a2e5 Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Thu, 1 Dec 2011 09:42:56 +0000 Subject: [PATCH] update man pages for service vlan redundancy item git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.6@11102 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/FSPUtils.pm | 2 +- xCAT-client/pods/man1/lshwconn.1.pod | 11 +++++++---- xCAT-client/pods/man1/mkhwconn.1.pod | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/perl-xCAT/xCAT/FSPUtils.pm b/perl-xCAT/xCAT/FSPUtils.pm index fe6b7c8e0..d9d81dca7 100644 --- a/perl-xCAT/xCAT/FSPUtils.pm +++ b/perl-xCAT/xCAT/FSPUtils.pm @@ -175,7 +175,7 @@ sub fsp_api_action { ################# #$outhash{ $node_name } = $res; if(defined($res)) { - $res =~ s/$node_name: //; + $res =~ s/$node_name: //g; } return( [$node_name,$res, $Rc] ); } diff --git a/xCAT-client/pods/man1/lshwconn.1.pod b/xCAT-client/pods/man1/lshwconn.1.pod index 6e958831e..f668a0cee 100644 --- a/xCAT-client/pods/man1/lshwconn.1.pod +++ b/xCAT-client/pods/man1/lshwconn.1.pod @@ -57,8 +57,11 @@ To display connection status for all CEC nodes in node group CEC: Output is similar to: - cec1: ipaddr=192.168.200.245,alt_ipaddr=unavailable,state=Connected - cec2: Connection not found + cec1: sp=primary,ipadd=40.17.1.1,alt_ipadd=41.17.1.1,state=LINE UP + cec1: sp=secondary,ipadd=40.17.1.2,alt_ipadd=41.17.1.2,state=LINE UP + cec2: sp=primary,ipadd=40.17.2.1,alt_ipadd=41.17.2.1,state=LINE UP + cec2: 40.17.2.2: No connection information found for hardware control point "40.17.2.2", please create the connection for this hardware control point firstly. + cec2: 41.17.2.2: No connection information found for hardware control point "41.17.2.2", please create the connection for this hardware control point firstly. =item 2. @@ -68,8 +71,8 @@ To display connection status for Frame node frame1: Output is similar to: - frame1: side=a,ipaddr=192.168.200.247,alt_ipaddr=unavailable,state=Connected - frame1: side=b,ipaddr=192.168.200.248,alt_ipaddr=unavailable,state=Connected + frame1: sp=primary,ipadd=192.168.200.1,alt_ipadd=192.168.201.1,state=LINE UP + frame1: sp=secondary,ipadd=192.168.200.2,alt_ipadd=192.168.201.2,state=LINE UP =item 3. diff --git a/xCAT-client/pods/man1/mkhwconn.1.pod b/xCAT-client/pods/man1/mkhwconn.1.pod index bc0e0ef34..4d607aab1 100644 --- a/xCAT-client/pods/man1/mkhwconn.1.pod +++ b/xCAT-client/pods/man1/mkhwconn.1.pod @@ -72,7 +72,7 @@ The tooltype is used to communicate to the CEC/Frame. The value could be B =item B<--port> -The port value specify which side will be used to create the connection to the CEC/Frame. The value could be "B<0>" or "B<1>". If this port value is not specfied in the command, it will use the default value "B<0>". If the port value is "B<0>", in the vpd table, the side column should be B and B; If the port value is "B<1>", the side column should be B and B. When making hardware connection between CEC/Frame and HMC, the port is used to specify the fsp/bpa port of the cec/frame. +The port value specify which side will be used to create the connection to the CEC/Frame. The value could only be specified as "B<0>" or "B<1>". If this port value is not specfied, it will use all ports to create the connection. If the port value is specified as "B<0>", in the vpd table, the side column should be B and B; If the port value is specified as "B<1>", the side column should be B and B. When making hardware connection between CEC/Frame and HMC, the value is used to specify the fsp/bpa port of the cec/frame and will be organized in order of "B". If any side was not exist, the side would simply be ignored. Generally, only one port of a fsp/bap can be connected while another port be used as backup. =item B<-s>