lshwconn - Use this command to display the connection status for CEC and Frame nodes.
lshwconn [-h| --help]
lshwconn [-v| --version]
lshwconn [-V| --verbose] noderange
lshwconn noderange -T tooltype
This command is used to display the connection status for CEC and Frame node.
Display usage message.
Verbose output.
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.
0 The command completed successfully.
1 An error has occurred.
To display connection status for all CEC nodes in node group CEC:
lshwconn cec
Output is similar to:
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.
To display connection status for Frame node frame1:
lshwconn frame1
Output is similar to:
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
To display connection status for all CEC nodes in node group CEC to hardware server, and using lpar tooltype:
lshwconn cec -T lpar
Output is similar to:
cec1: sp=primary,ipadd=40.3.7.1,alt_ipadd=unavailable,state=LINE UP cec2: Connection not found
$XCATROOT/bin/lshwconn
(The XCATROOT environment variable is set when xCAT is installed. The default value is ``/opt/xcat''.)
This command is part of the xCAT software product.