Adding a server to a static device group

You can use either of the following two methods to add a server to a static device group: Method 1 - Selecting the device group first, then servers or Method 2 - Selecting servers first, then device groups.

To add a server to a public static device group, you must have Manage Public Device Group permissions. To obtain these permissions, contact your SA Administrator.

Method 1 - Selecting the device group first, then servers

To add a server or device group to a static device group:

  1. From the Navigation pane, select Devices > Device Group. The device groups appear in the Content pane. You can distinguish between static and dynamic device groups by their icon. See Device Group Status and Icons.
  2. Navigate to the desired static device group. Select the device group in the Content pane, and from the Actions menu, select Open. The Device Group Explorer appears.
  3. From the Views pane of the Device Explorer window, select Device Membership. This displays a list of servers in the group.
  4. From the Actions menu, select Add. The Add Members to Static Group window appears.

    The Add Members to Static Group Window in the SA Client

Select one or more servers to add to the static device group.

Click Add to Group. The selected severs are added to the device group and appear in the Device Group Browser.

From the File menu, select Save to save the device group.

Method 2 - Selecting servers first, then device groups

To add a server to a static device group:

  1. From the Navigation pane, select Devices > All Managed Servers. The list of managed servers appears in the Content pane.
  2. From the Content pane, select one or more servers and then from the Actions menu, select Add to Device Group. The Add to Group window appears.
  3. Select the static device group to add the servers to.
  4. Select Add to Group. The selected servers are added to the static device group.

Method 3 - Importing the CSV file

You can add servers to a static device group by importing a CSV (comma-separated value) file containing the host names of the servers you want to add to the group. The CSV file contains a single column of string data representing server host names. The following characters have special meanings:

  • The asterisk (*) indicates zero or more of any legal character (letters, numbers, the underscore character and dot).
  • Lines that start with the “#” character are ignored. You can use them to insert comments.
  • Blank lines are ignored.

For example, the following shows a CSV file that specifies a server named “myhost.hp.com”, all servers that start with the string “ca”, and all servers that end with “.mycustomer.com”:

# This is a comment line.
myhost.hp.com
ca*
*.mycustomer.com

The following shows a list of hosts and which hosts would be selected by this CSV file:

myhost.hpe.com This host would be selected.
myhost2.hpe.com This host would not be selected.
ca23.hpe.com This host would be selected.
ca28.hpe.com This host would be selected.
carl.hpe.com This host would be selected.
acam.hp.com This host would not be selected.
host01.mycustomer.com This host would be selected.

To add servers to a device group from a CSV file, perform the following steps.

  1. From the Navigation pane, select Devices > Device Group. The device groups appear in the Content pane. You can distinguish between static and dynamic device groups by their icon. See Device Group Status and Icons.
  2. Navigate to the desired static device group. Select the device group in the Content pane, and from the Actions menu, select Open. The Device Group Explorer appears.
  3. From the Views pane of the Device Explorer window, select Device Membership. This displays a list of servers in the group.
  4. From the Actions menu, select Import.... The Import window appears.
  5. Select the CSV file and click Open. This displays the Add Members to Static Group window that lists the servers that can be added to the device group.
  6. Select the servers you want to add to the device group.
  7. Select Add to Group. This adds the selected servers to the device group.