Solved

OpsMgr 2007 R2 dynamic group membership

Posted on 2012-03-24
6
1,367 Views
Last Modified: 2012-04-16
Installation consist of scom 2007 r2 on windows 2003 r2 with one management group. About 15 management packs deployed and about 3000 agents. All in all it is working good but recently I stumble upon an issue with populating dynamic groups. Although I've excluded members (windows computer entity) from a dynamic group (either by exclude tab or by query) it doesn't seems to work.
In view members entity isn't there but I have health state view which is narrowed to that group and that computer is still showing there. By querying the db I can see that computer is still member of that group although view members doesn't shows it.
I've tried creating new groups with different kind of queries and behavior is the same. Even tried creating groups in different management packs. All the same. Waited for interval to pass, the same.

Any ideas what to look at next?
0
Comment
Question by:mmuza
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 14

Expert Comment

by:alimu
ID: 37786439
Can you post your dynamic inclusion and exclusion queries/objects so I can have a look at what you've setup?
0
 

Accepted Solution

by:
mmuza earned 0 total points
ID: 37786525
( Object is Windows Computer AND ( Principal Name Matches wildcard ser* ) AND ( Principal Name Does not equal server01.domain.local ) )
I'm currently looking at this but not so keen on implementing that as relationship view will be broken I think:
http://blogs.technet.com/b/kevinholman/archive/2009/11/03/why-do-my-group-memberships-for-windows-computers-have-machines-that-don-t-belong-there.aspx
0
 
LVL 14

Expert Comment

by:alimu
ID: 37786704
yeah, i'd expect that query to work fine.  Your state view is just windows computers in the group or something more complex?
from that blog entry did you try *just* running the powershell cmdlet Kevin mentions "remove-disabledmonitoringobject" to see if that made any difference to your views? maybe there's something hinky floating around in there that never quite got deleted properly out of the database.

also in ref to the blog entry, is your exclusion a hyper-v host?
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 

Author Comment

by:mmuza
ID: 37831966
I went through the mentioned post and issue is resolved now.
0
 
LVL 14

Expert Comment

by:alimu
ID: 37835888
no objections.
0
 

Author Closing Comment

by:mmuza
ID: 37850275
Technet article was the solution.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
I have a large data set and a SSIS package. How can I load this file in multi threading?
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question