lsnode

Purpose

lsnode - lists information about nodes defined in the currently connected domain.

Format

lsnode -h

lsnode [-A p | d | b] [-f] [-t | -D delimiter] [-n node_name] [-T] [-V] [Attr]

Usage

End-to-end domain  
First level automation domain X

Comments

lsnode command is used to retrieve information about all nodes in the scope of the currently connected domain.

Additional properties can be displayed with the -A option.

The full information option (-f) allows you to display virtual server information (if available). Additional credentials might be necessary if this option is specified.

Output can be restricted by specifying one or more columns via the Attr parameter.

Flags

-A p | d | b
Display additional attributes by type. Possible types:
p
Lists the persistent attributes of a node.
d
Lists the dynamic attributes of a node.
b
Lists both the persistent and dynamic attributes of a node.
-f
Enhance existing output with information for a virtual server.
-D delimiter
Lists the output in delimited format.
-t
Lists the output in tabular format. Each attribute is displayed in a separate column, one node per line.
-T
Writes trace command’s trace messages to standard output.
Note: Only for use by your software-service organization.
-V
Writes the command’s verbose messages to standard output.
-h
Writes the command’s usage statement to standard output.

Parameters

Attr
The name of one or more attributes. Attribute names must be separated by spaces. The specified Attr parameters must be valid node attributes.

Whether a node attribute is listed depends on the specified value for the -A option.

Return codes

0
The command ran successfully.
11
The command was unable to contact the end-to-end automation manager.
12
The user is not authorized to execute the command.
13
An incorrect flag was specified on the command line.

Authorization

EEZMonitor roles

Examples

  • 1. To list all currently defined nodes, enter:
    lsnode
    Sample output:
    EEZCS>lsnodes
    Online p6sa11 (v)
    Online lnxcm4 (v)
    Online p550sa14 (v)
  • 2. To list dynamic and persistent attributes for all nodes of an automation domain in tabular format, enter:
    Press Enter to continue...
    lsnode -Abft
    Sample output:
    EEZCS>lsnode -Abft
    Name     Operating    Observed Excluded  Node      Virtual      VirtualServer VirtualizationHost Virtualization
             System       State              Startable Server       State         Type               Host
    -----------------------------------------------------------------------------------------------------
    p6sa11   IBM AIX      Online   no        yes       virtServer09 operating     Blade              blade04
    lnxcm4   RedHat Linux Offline  no        yes       virtServer03 not-operating LPAR               lpar01
    p550sa14 IBM AIX      Online   no        yes       virtServer01 operating     LPAR               lpar04