This section describes the following tasks:
After successful completion of the Discovery job, a server is identified by its management name. The server's management name is initially set to the server's management IP address. You can rename discovered servers at any time.
You can create groups of discovered, or provisionable, servers according to the make and model for aggregate installation of firmware updates. Then, you can create functional groups for the aggregate installation of operating systems, or OS profiles, and OS updates. Provisionable servers can belong to more than one server group, so you can create new server groups for aggregate maintenance tasks, as needed.
To create server groups, you use the create command with the group keyword. To add servers to a group, you use the add command with the group keyword and the server subcommand.
To create a group and add servers in a single operation, you use the create command with the group keyword and the server subcommand. This task can also be performed during the discovery process. To do so, you can add an option to the discover command to create a new group and add the servers to the new group. See To Discover New Servers for instructions.
For syntax and parameter details, type help create group or help add group at the N1–ok command line.
This task shows you how to create groups of discovered, or provisionable, servers. Provisionable servers can belong to more than one server group, so you can create new server groups for aggregate maintenance tasks, as needed.
Log in to the N1 System Manager.
See To Access the N1 System Manager Command Line for details.
Type the following command:
N1-ok> create group group |
The new group is created. See create group in Sun N1 System Manager 1.1 Command Line Reference Manual for details.
The following example shows how to create a group named dev and add servers named server1 and server2. Then, the show group command output provides the list of servers in the dev group.
N1-ok> create group dev server server1,server2 N1-ok> show group dev Name Hardware Power Health OS Usage server1 V20z On Good -- server2 V20z On Good RH30 |
Servers can belong to more than one group.
Log in to the N1 System Manager.
See To Access the N1 System Manager Command Line for details.
Type the following command:
N1-ok> add group group server server |
The server is added to the group. See add group in Sun N1 System Manager 1.1 Command Line Reference Manual for details.
To remove a server from a group, use the remove command with the group keyword and the server subcommand. For syntax and parameter details, type help remove group at the N1–ok command line.
Log in to the N1 System Manager.
See To Access the N1 System Manager Command Line for details.
Type the following command:
N1-ok> remove group group server server |
The server is removed from the group. See remove group in Sun N1 System Manager 1.1 Command Line Reference Manual for details.