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.
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.
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.
Log in to the N1 System Manager.
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.
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.
Consider saving the following types of data as a server note:
Physical location such as rack, slot, building, and geographic region
DNS host name
Provisioning parameters and the network configuration information that is set for the OS profile installation
Internal asset tracking identifiers
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.
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.
Log in to the N1 System Manager.
Use the set server command to show any existing notes for the managed server.
N1-ok> show server |
The output shows any existing notes.
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.