Table of Contents
- How to add a Server Group
- Editing/Deleting a Server Group
- Changing the name of a Server Group
- Viewing Server Group-Specific Data
Server Groups are a way of creating dynamic groups of servers based on the intersection of at least two Server Tags. In order to make the best use of Server Groups, you have to tag servers in a meaningful way.
Here’s an example: Servers [1, 2, 3, 4] have a tag “Linux,” servers [5, 6, 7, 8, 9] have a tag “Windows,” and servers [3, 4, 5, 6] have a tag “Database.” A Server Group called “Linux.Database” would produce a server group of [3, 4]. “Windows.Database” would produce [5, 6], etc. If you later add a new server  with tags “Linux” and “Database,” the Server Group “Linux.Database” would automatically produce [3, 4, 10].
Server Groups are easily identifiable by the .notation (a Server Group would be “Production.Database,” whereas a Server Tag would be “Production Database”).
How to add a Server Group
Navigate to Administration – Organize Servers then click on the Group Servers tab. Once there, click “Add a Server Group on the right side.
In the Add/Edit Server Group page, select at least two Server Tags that you want to create a Group from. The order in which Server Tags are selected will produce the Server Group name. So in the example below, I first clicked the check mark next to “pod1” and then clicked the check mark next to “regions” second, which will produce a Server Group named “pod1.regions.”
In this example, the Server Tag “pod1” includes 21 servers, whereas the Server Tag “regions” includes 17 servers. You’ll notice that the servers in the Server List column on the right exist in both of the selected Server Tags, which comes out to a total of 8 servers.
Once you verify the Server Group is configured correctly, click save and you’re done.
Editing/Deleting a Server Group
To edit a Server Group, click on the Server Group name, then check off the Server Tags you want to be included. Then click save.
To delete a Server Group, click the grey check mark next to that Group. Once the check mark turns to green, a “Delete Selected” option will appear above. Go ahead and click that. You’ll be prompted with a “Delete Server Group” popup. Just click “Yes” and you’re done.
Changing the name of a Server Group
From the edit menu, uncheck the Server Tags on the left hand side and re-check them in the order you would like them to appear in on the Server Group name. As an example, you can change “Database.Production” to “Production.Database” by unchecking both “Database” and “Production” and then re-checking “Production” first and then selecting “Database.”
Viewing Server Group-Specific Data
You have the ability to filter parts of AppFirst to only view data for Servers that are part of a Server Group. The following pages are where you can filter by Server Groups: