NAME

lshwconn - Use this command to display the connection status for CEC and Frame nodes.


SYNOPSIS

lshwconn [-h| --help]

lshwconn [-v| --version]

PPC (with HMC) specific:

lshwconn [-V| --verbose] noderange

PPC (without HMC, using FSPAPI) specific:

lshwconn noderange -T tooltype


DESCRIPTION

This command is used to display the connection status for CEC and Frame node.


OPTIONS

-h|--help

Display usage message.

-V|--verbose

Verbose output.

-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.


RETURN VALUE

0 The command completed successfully.

1 An error has occurred.


EXAMPLES

  1. 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.
  2. 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
  3. 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


FILES

$XCATROOT/bin/lshwconn

(The XCATROOT environment variable is set when xCAT is installed. The default value is ``/opt/xcat''.)


NOTES

This command is part of the xCAT software product.


SEE ALSO

rmhwconn(1), mkhwconn(1)