Blog
By Pete Zerger on 9/29/2011 3:45:00 AM • Rank (1501) • Views 2040
0

0

Grouping objects dynamically is a common request I hear, and grouping hard drives based on drive letter and host computer name the most common amongst those. Here is the best way to perform this grouping based on my experience. I have provided screenshots of the dynamic grouping interface and resulting.

  • In the Authoring space, browse to Groups.
  • Create a group and provide desired name. On the Explicit Members screen, leave blank and click Next.
  • On the Dynamic Members screen, set the following formula, setting the object display name to meet your needs.
  • From the Class drop-down, choose Windows Logical Hardware Component, then click the Add button (as shown in the figure below).
  • Choose the Display Name field from the drop-down, and set it's value equal to the display name of the drive you wish to group, such as C:.

TIP: Find your drive display names by viewing the properties of objects using the Discovered Inventory View.

While I used “Logical Hardware Component” in this example, you could also use “Logical Drive (Server)” among others as the target class. You can see properties such as Size (in bytes), which would allow you dynamically group based on other properties, such as drive size rather than display name.

image

  • In the second dropdown, choose Windows Computer NetBIOS name. Set comparison operator to matches wildcard, and then type a wildcard representing the naming convention you want to match. Just a word of warning - this comparison seems to be case sensitive.

For example, to match the computer name OPSMGR, I used a formula value of *PSMG*|*psmg*, which would match the upper case or lower case versions of the string. (The pipe symbol | represents the OR operator in a wildcard comparison such as this).

The resulting formula looks something like this:

  image

When finished, click OK. Right click the group and select View Membership to see the results of your work.

Additional Resources on OpsMgr Groups

There are several tutorials on creation of dynamic groups covering a number of scenarios:

Common Scenarios

Based on Active Directory-related characteristics

Using Regular Expressions

Created using advanced formulas in XML

Group Performance

Performance Optimizations for Operations Manager 2007 R2



Comments - Comment RSS


Who Viewed
Who Reviewed
Categories
Related Pages
Shortened URL
http://tinyurl.com/yku9b6o

Top Contributors
Featured Members
Pete Zerger
Points: 65502
Level: System Center Expert
Tommy Gunn
Points: 42718
Level: System Center Expert
Simon Skinner
Points: 40744
Level: System Center Expert
Stefan Koell
Points: 28999
Level: System Center Expert
Andreas Zuckerhut
Points: 27584
Level: System Center Expert