Sun N1 System Manager 1.3 Discovery and Administration Guide

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.