myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


  


Querying an AD Group, cached or direct?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Management Products] >> System Center Products >> System Center Configuration Manager >> Querying an AD Group, cached or direct? Page: [1]
Login
Message << Older Topic   Newer Topic >>
Querying an AD Group, cached or direct? - 8/11/2008 4:45:55 AM   
irafn233

 

Posts: 5
Score: 0
Joined: 2/11/2004
Status: offline
Does SCCM perform an immediate direct query of AD, for members of an AD Group, when I issue an say:

select * from SMS_R_System where SMS_R_System.SystemGroupName = 'MS Office Project Professional 2007'

or does it just query the cashed content from the last AD System Group Discovery cycle?

I tried browsing through the (vast number of) tables, unable however to find any cached content.

My guess is that Group Names are cached (in: SMS_CEN_System_System_Group_Name_ARR), and then queried direct for members at request.

Caching all group members also seems a bit illogical to me, however not everything strike me as logical i SCCM.

Does anybody know?
Post #: 1
RE: Querying an AD Group, cached or direct? - 8/11/2008 5:40:06 AM   
skissinger


Posts: 2119
Score: 134
Joined: 9/13/2001
From: Sherry Kissinger
Status: offline
ConfigMgr queries pull data from SQL tables, and those tables are populated via various means.  In this case, the AD System Group Discovery Cycle. 

(To me, it seems illogical to go outside of the database when submitting an SQL query)

_____________________________

mofmaster@smsexpert.com (version 2007) | http://www.smsexpert.com | http://www.sccmexpert.com
My Blog
Microsoft MVP - ConfigMgr

(in reply to irafn233)
Post #: 2
RE: Querying an AD Group, cached or direct? - 8/11/2008 7:27:07 AM   
irafn233

 

Posts: 5
Score: 0
Joined: 2/11/2004
Status: offline
Thanks alot for your answer Sherry.

I always pictured the AD System Group Discovery as a  -  discovery methode. I understand SCCM takes the opertunity to cache membership data during the discover and that this, by the way, is the only means.

We have a system with 7000 workstations and 800 applications. We use AD groups as a trigger for sw distribution and consequently all workstations appear in multiple AD groups.
This amounts to a lot membership data!

We run the AD System Group Discovery on a 4 hour schedule, and at every cycle approx. 7000 DDR's are generated. I have no idea how long time SCCM uses to process all this data, but I reckon an hour or two.

In a development/testing situation this is long time to wait (4 hour + 2 hour processing time). Even if I trigger the AD System Group Discovery, I can expect a 2 hour delay, and a hevy load on the server.

Looking for a way to shorten the development/testing cycle, I wonder if You would know of any methode to update the membership data of just one AD Group ?


Thanks in advance

(in reply to skissinger)
Post #: 3
RE: Querying an AD Group, cached or direct? - 8/11/2008 8:31:57 AM   
irafn233

 

Posts: 5
Score: 0
Joined: 2/11/2004
Status: offline
Would anyone know which table caches the AD Group membership (so I can tell when the membership is updated) ?

(in reply to skissinger)
Post #: 4
RE: Querying an AD Group, cached or direct? - 8/11/2008 10:38:23 AM   
jnelson993


Posts: 900
Score: 127
Joined: 2/18/2005
From: Minneapolis, MN
Status: offline
Yeah, AD processing, especially on large sites is a time-consuming operation.  From the time that discovery is kicked off, to the time all the DDRs finish processing can be hours, and then if you've got collections based on that data, you have to wait longer for the collections to update.  For that reason, we don't rely on AD group membership from discovery to handle time-sensitive software pushes.  If we wanted to use it that way, I'd just use VBScript or PowerShell to pull the AD information and update my own tables directly instead of relying on the AD discovery.  That way I can pull only those records that have changed since the last AD pull and I can run it more often.  The processing would be faster, the amount of data SMS/CM has to deal with would be minimal and the time taken to get it all into SQL would be minimal.

If you're looking to query the AD Group membership (for systems, not users) it's dbo.v_RA_System_SystemGroupName. I wouldn't query or update the underlying table directly (which is dbo.System_System_Group_Name_ARR).  If you want to roll your own script that populates this, you'd jus create your own DDRs and put them in the inboxes.

_____________________________

Number2 (John Nelson)
MyITForum - Blog
MyITForum - Forum Posts

(in reply to irafn233)
Post #: 5
RE: Querying an AD Group, cached or direct? - 8/12/2008 3:13:23 AM   
irafn233

 

Posts: 5
Score: 0
Joined: 2/11/2004
Status: offline
Thanks alot John; the DDR Idea is great.

However, from the logs I can see that our system is more or less constantly busy processing DDR's.

Would you know of any means to push a DDR in front of the processing queue, or do SCCM simply process them in date/time order ?

And; if I tamper with the file date, and create an old DDR, will SCCM consider it outdated?

(in reply to jnelson993)
Post #: 6
RE: Querying an AD Group, cached or direct? - 8/12/2008 7:14:34 AM   
skissinger


Posts: 2119
Score: 134
Joined: 9/13/2001
From: Sherry Kissinger
Status: offline
To sidestep your questions completely, I wonder if your organization might benefit from a 3rd party application from www.systemcentertools.com, Enhanced System Discovery.  ESD 2007 is designed to alleviate the issues you are seeing w/Discovery.

_____________________________

mofmaster@smsexpert.com (version 2007) | http://www.smsexpert.com | http://www.sccmexpert.com
My Blog
Microsoft MVP - ConfigMgr

(in reply to irafn233)
Post #: 7
RE: Querying an AD Group, cached or direct? - 8/12/2008 9:39:12 AM   
irafn233

 

Posts: 5
Score: 0
Joined: 2/11/2004
Status: offline
Thanks Sherry I'll take it into consideration

(in reply to skissinger)
Post #: 8
Page:   [1]
All Forums >> [Management Products] >> System Center Products >> System Center Configuration Manager >> Querying an AD Group, cached or direct? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



  
Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.219