Displaying node properties using the CLI

You can use the command-line interface (CLI) to display node properties.

Perform the following steps to display the node properties:

  1. Issue the svcinfo lsnode CLI command to display a concise list of nodes in the cluster.

    The following is an example of the CLI command you can issue to list the nodes in the cluster:

    svcinfo lsnode -delim :
    

    The following is an example of the output that is displayed:

    id:name:UPS_serial_number:WWNN:status:IO_group_id:IO_group_name:config_node:UPS_unique_id:hardware:iscsi_name:iscsi_alias
    1:group1node1:10L3ASH:500507680100002C:online:0:io_grp0:yes:202378101C0D18D8:8A4:iqn.1986-03.com.ibm:2145.cluster1:group1node1:
    2:group1node2:10L3ANF:5005076801000009:online:0:io_grp0:no:202378101C0D1796:8A4:iqn.1986-03.com.ibm:2145.cluster1:group1node2:
    3:group2node1:10L3ASH:5005076801000001:online:1:io_grp1:no:202378101C0D18D8:8A4:iqn.1986-03.com.ibm:2145.cluster1:group2node1:
    4:group2node2:10L3ANF:50050768010000F4:online:1:io_grp1:no:202378101C0D1796:8A4:iqn.1986-03.com.ibm:2145.cluster1:group2node2:
  2. Issue the svcinfo lsnode CLI command and specify the node ID or name of the node that you want to receive detailed output.

    The following is an example of the CLI command you can issue to list detailed output for a node in the cluster:

    svcinfo lsnode -delim : group1node1

    Where group1node1 is the name of the node for which you want to view detailed output.

    The following is an example of the output that is displayed:

    id:1
    name:group1node1
    UPS_serial_number:10L3ASH
    WWNN:500507680100002C
    status:online
    IO_group_id:0
    IO_group_name:io_grp0
    partner_node_id:2
    partner_node_name:group1node2
    config_node:yes
    UPS_unique_id:202378101C0D18D8
    port_id:500507680110002C
    port_status:active
    port_speed:2GB
    port_id:500507680120002C
    port_status:active
    port_speed:2GB
    port_id:500507680130002C
    port_status:active
    port_speed:2GB
    port_id:500507680140003C
    port_status:active
    port_speed:2GB
    hardware:8A4
    iscsi_name:iqn.1986-03.com.ibm:2145.ndihill.node2
    iscsi_alias
    failover_active:no
    failover_name:node1
    failover_iscsi_name:iqn.1986-03.com.ibm:2145.ndihill.node1
    failover_iscsi_alias
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.