Sun N1 System Manager 1.3 Discovery and Administration Guide

Listing and Viewing Managed Servers and Groups

This section describes the following tasks:

Listing Managed Server and Groups

To list servers, use the View Selector menu. Alternatively, use the show server command with all subcommand to list all servers in the N1 System Manager.

ProcedureTo List Managed Server and Groups

This procedure uses the N1 System Manager command line. You also can use the browser interface for this procedure, by choosing All Servers from the View Selector menu. See the Sun N1 System Manager 1.3 Online Help for details.

Steps
  1. Log in to the N1 System Manager.

    See To Access the N1 System Manager Browser Interface for details.

  2. Type the show server command with the all keyword to view all managed servers in the system.


    N1-ok> show server all
    

    A list of all managed servers in the system appears. See show server in Sun N1 System Manager 1.3 Command Line Reference Manual for details.


Example 5–2 Filtering Managed Servers Based on IP Address

The following example shows how to filter a list of managed servers in the system based on the server's management network IP address by using the show command:


N1-ok> show server ip 192.168.200.4

The following example shows how to filter a list of managed servers in the system based on a range of management network IP addresses:


N1-ok> show server ip 192.168.200.4-192.168.200.60

The following example shows how to filter a list of managed servers in the system based on subnet and mask length. In this case the subnet is 10.0.8 and the mask length is 24:


N1-ok> show server ip 10.0.8/24


Example 5–3 Filtering Managed Servers Based on Job Count

The following example shows how to filter a list of managed servers in the system based on job count. In this case the job count is 0:


N1-ok> show server jobcount 0


Example 5–4 Filtering Managed Servers Based on Model

The following example shows how to filter a list of managed servers in the system based on the server model. In this case the server model is Sun Fire v240 machines:


N1-ok> show server model SF-V240


Example 5–5 Filtering Managed Servers Based on Name

The following example shows how to filter a list of managed servers in the system based on the managed server's name. In this case the name is server3:


N1-ok> show server name server3


Example 5–6 FilteringManaged Servers Based on Running OS

The following example shows how to filter a list of managed servers in the system based on the OS that is running on the server. In this case an implicit, case-sensitive wildcard is used for SUSE Linux:


N1-ok> show server runningos SLES


Example 5–7 Filtering Managed Servers Based on OS Health

The following example shows how to filter a list of managed servers in the system based on the health of the OS that is running on the server. In this case, all managed servers that have OS health monitored are listed:


N1-ok> show server oshealth monitored

The following example shows how to filter a list of managed servers in the system based on the health of the OS that is running on the managed server. In this case, all servers that do not have OS health monitored are listed:


N1-ok> show server oshealth unmonitored

The following example shows how to filter a list of managed servers in the system based on the health of the OS that is running on the managed server. In this case, all servers that are sending no OS health information because the OS monitoring feature has not been added, are listed:


N1-ok> show server oshealth uninitialized

For information on adding the OS monitoring feature, see Supporting OS Monitoring.



Example 5–8 Listing Groups


N1-ok> show group all

A list of all groups in the system appears. See show group in Sun N1 System Manager 1.3 Command Line Reference Manual for details.


ProcedureTo View Failed Managed Servers

This procedure describes how to view failed managed servers using the N1 System Manager command line. You can also use the browser interface by choosing Servers By Health from the View Selector menu. See the Sun N1 System Manager 1.3 Online Help for details.

Steps
  1. Log in to the N1 System Manager.

  2. Use the show server command with the hardwarehealth keyword and the fault state that you want to view.


    N1-ok> show server hardwarehealth nonrecoverable
    

    N1-ok> show server hardwarehealth warning
    

    N1-ok> show server hardwarehealth critical
    

    N1-ok> show server hardwarehealth unreachable
    

    N1-ok> show server hardwarehealth unknown
    

    See Hardware Health States for a description of fault states.


Example 5–9 Viewing Failed Critical Servers

The following example shows how to view Managed Servers that have a health status of critical.


N1-ok> show server hardwarehealth critical
Name             Hardware    Hardware Health   Power   OS Usage              OS Resource Health
10.0.0.26        V20z        Failed Critical   On      Solaris               Unknown  

See Also

For descriptions of the failure levels of managed servers, see Hardware Health States. For descriptions of monitoring thresholds, see Monitoring Threshold Values.

Viewing Managed Server Details and Group Members

To view detailed server information and group members, use the show server command or show group commands. For syntax and parameter details, type help show server or help show group at the N1–ok command line. Information about managed servers is also provided on the Server Details page in the browser interface.

ProcedureTo View Managed Server Details and Server Group Members

This procedure describes how to view managed server details and server group members by using the command line. You can also use the browser interface by choosing All Servers from the View Selector menu. See the Sun N1 System Manager 1.3 Online Help for details.

Steps
  1. Log in to the N1 System Manager.

  2. Use the show server command with the server's name.


    N1-ok> show server server
    

    Detailed server information appears. See show server in Sun N1 System Manager 1.3 Command Line Reference Manual for details.


Example 5–10 Viewing Server Group Members

The following example shows how to view the list of managed servers in a server group named devgroup, by using the show server command.


N1-ok> show group devgroup

The list of servers in the group appears. See show group in Sun N1 System Manager 1.3 Command Line Reference Manual for details.