Sun N1 System Manager 1.2 Administration Guide

Listing and Viewing Servers and Server Groups

This section describes the following tasks:

Listing Servers and Server Groups

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

As the following graphic shows, you can use the View Selector menu or the show server command to list servers.

This graphic shows the View Selector menu with the All Servers
item highlighted.

ProcedureTo List Servers and Server Groups

This procedure describes how to list servers and server groups by using the browser interface. The example that follows the procedure provides a command-line equivalent.

Steps
  1. Log in to the N1 System Manager.

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

  2. Navigate to the table that contains the server or the server group by performing one of the following actions:

    • Choose All Servers from the View Selector menu.

      The Servers table appears.

    • Choose Servers By Group from the View Selector menu.

      The Server Groups table appears.


Example 4–1 Listing Servers Through the Command Line

The following example shows how to view all servers in the system by using the show command.


N1-ok> show server all

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



Example 4–2 Filtering Servers Through the Command Line Based on IP Address

The following example shows how to filter a list of provisionable 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 provisionable 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 provisionable 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 4–3 Filtering Servers Through the Command Line Based on Job Count

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


N1-ok> show server jobcount 0


Example 4–4 Filtering Servers Through the Command Line Based on Model

The following example shows how to filter a list of provisionable 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 4–5 Filtering Servers Through the Command Line Based on Name

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


N1-ok> show server name server3

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


N1-ok> show server name "s 3"


Example 4–6 Filtering Servers Through the Command Line Based on Running OS

The following example shows how to filter a list of provisionable 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 4–7 Filtering Servers Through the Command Line Based on OS Health

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


N1-ok> show server oshealth monitored

The following example shows how to filter a list of provisionable servers in the system based on the health of the OS that is running on the 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 provisionable servers in the system based on the health of the OS that is running on the 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 Monitoring.



Example 4–8 Listing Groups Through the Command Line


N1-ok> show group all

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


ProcedureTo View Failed Servers

This procedure describes how to view failed servers using the browser interface. The example following the procedure provides a command-line equivalent.

The following graphic shows how to use the View Selector menu to list servers by heath state. Alternatively, use the hardwarehealth or oshealth subcommands and an appropriate health state to filter the list of servers by health state. For example:


N1-ok> show server hardwarehealth nonrecoverable
This graphic shows the View Selector menu with the Servers By
Health item highlighted.
Steps
  1. Log in to the N1 System Manager.

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

  2. Choose Servers By Health from the View Selector menu.

    The Health Summary table appears.


    Note –

    You cannot perform any actions on servers from the Health Summary table.


  3. Select the fault state that you want to view.

    The available fault states are:

    • Failed Nonrecoverable

    • Failed Critical

    • Failed Warning

    • Unreachable

    • Unknown

    The list of servers in the selected state appears. See Hardware Health States for a description of fault states.


Example 4–9 Viewing Failed Critical Servers Through the Command Line

The following example shows how to view 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 icons and various failure levels that are shown on the Servers By Health page, see Hardware Health States. For descriptions of monitoring thresholds, see Monitoring Threshold Values.

Viewing Server Details and Group Members

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

ProcedureTo View Server Details and Server Group Members

This procedure describes how to view server details and server group members by using the browser interface. The example that follows the procedure provides a command-line equivalent.

Steps
  1. Log in to the N1 System Manager.

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

  2. Navigate to the table that contains the server or the server group by performing one of the following actions:

    • Choose All Servers from the View Selector menu.

      The Servers table appears.

    • Choose Servers By Group from the View Selector menu.

      The Server Groups table appears.

  3. Select the server or the server group that you want to view.

    The Server Details page or the Servers By Group page appears.


Example 4–10 Viewing Server Details Through the Command Line

The following example shows how to view the server details by using the show command.


N1-ok> show server server1

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



Example 4–11 Viewing Server Group Members Through the Command Line

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


N1-ok> show group devgroup

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