Displaying node properties using the CLI Scenario: typical usage for the command-line interface Discovering MDisks using the CLI

This task provides step-by-step instructions for displaying node properties using the command-line interface (CLI).

Steps

Perform the following steps to display the node properties:

  1. Open a command prompt window.
  2. Issue the svcinfo lsnode command to display a concise list of nodes in the cluster.
    Example

    Type the following command:

    svcinfo lsnode -delim :
    
    

    This command displays the following:

    id:name:UPS_serial_number:WWNN:status:IO_group_id:
    	IO_group_name:config_node:UPS_unique_id
    1:group1node1:10L3ASH:500507680100002C:online:0:io_grp0:yes:202378101C0D18D8
    2:group1node2:10L3ANF:5005076801000009:online:0:io_grp0:no:202378101C0D1796
    3:group2node1:10L3ASH:5005076801000001:online:1:io_grp1:no:202378101C0D18D8
    4:group2node2:10L3ANF:50050768010000F4:online:1:io_grp1:no:202378101C0D1796
  3. Issue the svcinfo lsnode command again, however, this time, specify the node ID or name of a node to receive the detailed output.
    Example

    For example, to provide a detailed view of the node named group1node1 type the following:
    svcinfo lsnode -delim : group1node1
    This command displays the following:
    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_id:500507680120002C
    port_status:active
    port_id:500507680130002C
    port_status:active
    port_id:500507680140003C
    port_status:active


    The output includes:

    • node ID
    • node name
    • WWNN
    • details about the uninterruptible power supply that the node is attached to
    • details about the I/O group which the node is a member of
    • detailed fibre channel port status information.

(C) Copyright International Business Machines Corporation 2003, 2004