Sun N1 System Manager 1.3 Discovery and Administration Guide

Modifying Managed Server and Group Information

This section describes the following tasks:

Use the set server command with the name subcommand. For syntax and parameter details, type help set server or help set group at the N1–ok command line.

Renaming a Managed Server or a Group

Managed servers are identified by the management IP address that is specified during discovery. This name is also referred to as the management name. You might want to rename a server with the DNS host name or track the host name by adding it to the server notes.

Managed server and group names must be unique and may include numbers, letters, and some special symbols. The following special symbols are prohibited: comma, asterisk, single quote, double quote, parenthesis, question mark, equal sign, and newline.

ProcedureTo Rename a Managed Server or a Group

This procedure describes how to rename a managed server or a group by using the 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.

  2. Use the set server command to change the name of the managed server.


    N1-ok> set server server name=newname
    

    Server names must be unique and may include letters A through Z, digits 0 through 9, hyphens, and underscores.

    See set server in Sun N1 System Manager 1.3 Command Line Reference Manual for details.


Example 5–11 Renaming a Group

The following example shows how to change a server group name by using the set group command.


N1-ok> set group devgroup name=labgroup

The group name is changed from devgroup to labgroup. See set group in Sun N1 System Manager 1.3 Command Line Reference Manual for details.


Adding a Server Note

Consider saving the following types of data as a server note:

To add server notes, use the set server command with the note subcommand. For syntax and parameter details, type help set server at the N1–ok command line or refer to set server in Sun N1 System Manager 1.3 Command Line Reference Manual.

ProcedureTo Add a Server Note

This procedure describes how to add a server note by using the 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.

  2. Use the set server command to show any existing notes for the managed server.


    N1-ok> show server 
    

    The output shows any existing notes.

  3. Use the set server command with the note keyword to add a note for the managed server.


    N1-ok> set server server note="your note"
    

    The note is added to the server information. See set server in Sun N1 System Manager 1.3 Command Line Reference Manual for details.