2009-06-15 10:16:20 +00:00
|
|
|
=head1 NAME
|
|
|
|
|
2011-08-05 09:17:27 +00:00
|
|
|
B<lshwconn> - Use this command to display the connection status for CEC and Frame nodes.
|
2009-06-15 10:16:20 +00:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
2009-08-04 20:24:48 +00:00
|
|
|
B<lshwconn> [B<-h>| B<--help>]
|
2009-06-15 10:16:20 +00:00
|
|
|
|
2009-08-04 20:24:48 +00:00
|
|
|
B<lshwconn> [B<-v>| B<--version>]
|
2009-06-15 10:16:20 +00:00
|
|
|
|
2010-12-20 07:05:40 +00:00
|
|
|
=head2 PPC (with HMC) specific:
|
|
|
|
|
2011-04-01 01:47:29 +00:00
|
|
|
B<lshwconn> [B<-V>| B<--verbose>] I<noderange>
|
2009-06-15 10:16:20 +00:00
|
|
|
|
2010-12-20 07:05:40 +00:00
|
|
|
=head2 PPC (without HMC, using FSPAPI) specific:
|
|
|
|
|
2011-04-01 01:47:29 +00:00
|
|
|
B<lshwconn> I<noderange> B<-T> I<tooltype>
|
2010-12-20 07:05:40 +00:00
|
|
|
|
2009-06-15 10:16:20 +00:00
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2011-08-05 09:17:27 +00:00
|
|
|
This command is used to display the connection status for CEC and Frame node.
|
2011-04-01 01:47:29 +00:00
|
|
|
|
2009-06-15 10:16:20 +00:00
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
=over 5
|
|
|
|
|
|
|
|
=item B<-h|--help>
|
|
|
|
|
|
|
|
Display usage message.
|
|
|
|
|
|
|
|
=item B<-V|--verbose>
|
|
|
|
|
|
|
|
Verbose output.
|
|
|
|
|
2010-12-20 07:05:40 +00:00
|
|
|
=item B<-T>
|
|
|
|
|
2011-08-05 09:17:27 +00:00
|
|
|
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.
|
2010-12-20 07:05:40 +00:00
|
|
|
|
2009-06-15 10:16:20 +00:00
|
|
|
=back
|
|
|
|
|
|
|
|
|
|
|
|
=head1 RETURN VALUE
|
|
|
|
|
|
|
|
0 The command completed successfully.
|
|
|
|
|
|
|
|
1 An error has occurred.
|
|
|
|
|
|
|
|
=head1 EXAMPLES
|
|
|
|
|
|
|
|
=over 3
|
|
|
|
|
|
|
|
=item 1.
|
|
|
|
|
2011-08-05 09:17:27 +00:00
|
|
|
To display connection status for all CEC nodes in node group CEC:
|
2009-06-15 10:16:20 +00:00
|
|
|
|
2011-08-05 09:17:27 +00:00
|
|
|
lshwconn cec
|
2009-06-15 10:16:20 +00:00
|
|
|
|
|
|
|
Output is similar to:
|
2009-06-15 10:28:46 +00:00
|
|
|
|
|
|
|
cec1: ipaddr=192.168.200.245,alt_ipaddr=unavailable,state=Connected
|
|
|
|
cec2: Connection not found
|
|
|
|
|
|
|
|
=item 2.
|
2009-06-15 10:16:20 +00:00
|
|
|
|
2011-08-05 09:17:27 +00:00
|
|
|
To display connection status for Frame node frame1:
|
2009-06-15 10:28:46 +00:00
|
|
|
|
2009-08-04 20:24:48 +00:00
|
|
|
lshwconn frame1
|
2009-06-15 10:28:46 +00:00
|
|
|
|
|
|
|
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
|
2009-06-15 10:16:20 +00:00
|
|
|
|
2010-12-20 07:05:40 +00:00
|
|
|
=item 3.
|
|
|
|
|
2011-08-05 09:17:27 +00:00
|
|
|
To display connection status for all CEC nodes in node group CEC to hardware server, and using lpar tooltype:
|
2010-12-20 07:05:40 +00:00
|
|
|
|
2011-08-05 09:17:27 +00:00
|
|
|
lshwconn cec -T lpar
|
2010-12-20 07:05:40 +00:00
|
|
|
|
|
|
|
Output is similar to:
|
|
|
|
|
|
|
|
cec1: sp=primary,ipadd=40.3.7.1,alt_ipadd=unavailable,state=LINE UP
|
|
|
|
cec2: Connection not found
|
|
|
|
|
2009-06-15 10:16:20 +00:00
|
|
|
=back
|
|
|
|
|
|
|
|
|
|
|
|
=head1 FILES
|
|
|
|
|
2009-08-04 20:24:48 +00:00
|
|
|
$XCATROOT/bin/lshwconn
|
2009-06-15 10:16:20 +00:00
|
|
|
|
|
|
|
(The XCATROOT environment variable is set when xCAT is installed. The
|
|
|
|
default value is "/opt/xcat".)
|
|
|
|
|
|
|
|
=head1 NOTES
|
|
|
|
|
|
|
|
This command is part of the xCAT software product.
|
|
|
|
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2009-08-04 20:24:48 +00:00
|
|
|
L<rmhwconn(1)|rmhwconn.1>, L<mkhwconn(1)|mkhwconn.1>
|