16 August 2012 blogs Klaas Hulder 3 min read
What is a Membership Rule?
In System Center Operations Manager you can create groups of objects such as all computers hosting a particular application, or all devices in a specific location. These groups can then be used to limit the scope of reports and as the targets of rule and monitor overrides.
Membership rules define what objects belong to a given group. Membership rules are written in XML and stored in a management pack. As writing the XML can be difficult, both the Operations Manager Console and the Live Maps Authoring Console provide wizards that simplify rule creation. However, both wizards provide only a subset of the full power available to those who author their rules in pure XML.
In Live Maps every diagram, list or interactive map has a membership rule that determines which objects are rolled up to the view.
Towards More Advanced Membership Rules.
While the membership rule wizard currently provided in the Live Maps Authoring Console supports the needs of almost all of our customers, we have recently received requests for more advanced rule types.
Previously, customers have met this need by modifying the generated XML on their own. However, this resulted in rules that were then incompatible with the Live Maps Authoring Console and resulted in multiple applications being required to manage the contents of Live Maps.
To respond to customer requests and to improve the authoring experience, the next release of Live Maps will add three advanced membership rules. Below are screenshots and examples from an early internal build.
1. Filter objects based on the properties of their hosts
With this new addition, not only can you filter objects based on their own properties, but you can also look at the properties of the objects that host them. In the example below, the rule will show all local disks on servers that contain ‘VM’ in the DNS name.
2. Filter objects based on the objects they host
This rule allows you to filter objects based on their purpose or their connection to other parts of your IT infrastructure. In the example below, the rule will show every Windows Server that is hosting the ‘Windows Server 2008 Logical Disk’ class.
3. Filter objects based on the group their host belongs to
This rule allows you to reuse the definition of existing groups to form new ones, resulting in lesser rule complexity and greater maintainability. In the example below, the rule will show all logical disks belonging specifically to Windows Server 2008 computers.
We’re happy to note that the “hosted class” and “host group” rule types are unique to the Live Maps Authoring Console wizard and could previously only be accomplished in Operations Manager by writing the XML by hand.
If there are specific membership rules you would like to see in future versions of Live Maps please let us know.
Suggestions can be sent to email@example.com