Walkthrough: Dynamically organizing assets with smart groups
This topic walks you through the process of organizing servers into a dynamic groups using a BMC BladeLogic Server Automation (BSA) feature called smart groups. It includes the following sections:
The video demonstrates the process of creating smart groups and nested smart groups.
Smart groups are groups for which you define membership conditions based on object properties. You can create smart groups for most types of objects in BMC Server Automation, including servers, jobs, and depot objects. For example, you can define a condition saying a smart group contains all servers with an operating system of Windows.
Defining a dynamic collection of servers can be extremely useful. For example, you can define one group of servers with active RSCD agents running Windows 2008 and another group running Windows 2008 R2. Then you could use these groups as dynamic targets when you deploy patches for each of those operating system versions.For more information and details about smart groups, see Defining a smart group.
What do I need to do before I get started?
Make sure you have the BSA Console installed on your workstation, and that you've got the appropriate level of permissions to create smart groups.
For this walkthrough, you log on as BLAdmin, the default superuser for BSA. Note that in live deployments, BMC recommends that you grant access based on roles with a narrower set of permissions.
How to organize assets with a smart a group
This walkthrough demonstrates how to create a smart group that contains all Windows servers with an agent that is running.
|Step||Example screen (click to enlarge)|
In the Servers folder, select the location where you want to create a smart group, right-click, and select New > Server Smart Group.
A dialog opens that lets you define the rules for membership in the smart group.
For Name, enter a name for the smart group. In this case, we call the smart group Windows. Optionally, enter a description.
In the bottom half of the dialog, there is a row that represents a rule for smart group membership. Using that row, take the following actions:
Create another rule by taking the following actions:
|5||Click Finish. A smart group named Windows appears. If you expand it, the smart group shows all servers with a Windows operating system and a function RSCD agent.|
Wrapping it up
You have now learned how to set up the rules necessary for using smart groups.
Where to go from here
Now that you know how to create smart groups, you can move on to provisioning servers with BSA.