What version/sp of LANDesk are you using? The groups are dynamic in the sense it will be updated based on how often you have the scheduler set to evaluate the tasks/queries (Configure LANDesk Services | Scheduler Service | Interval between query evaluations). Depending on what version/sp you have is needed because the process has changed from version to version. You should dnot have to restart the task. Is the target being updated on the console?
Under Configure | Services | Scheduler there is an option in the middle that is for query evaluations. When you add another machine to an AD group it will get targeted once the query is re-evaluated. If you have the query evaluation set to 8 hours, it will add the machine 8 hours from the last time the queries were evaluated. This feature actually is dynamic.
I have this set to 15 mins which presumably is the default as i have not changed it.
Is that excessive? Do the evaluations demand a lot of the core/db/pdc?
1 of 1 people found this helpful
The default is, actually, 1 hour.
The queries CAN be intensive, it depends.
The problem with AD queries is that LDAP queries get worked off with LOWEST priority by the DC, so depending on how busy your DC is (or they are, in case you have several), this can be a problem.
Also not that IF the interval is set too aggressively and we don't complete the query resolution, we WILL re-start at the appointed time.
So if you were to need 20 minutes to resolve queries, and set the query interval to 15 minutes, you would never complete resolving queries, causing yourself various issues.
LANDesk EMEA Technical Lead
Thanks for the info Paul.
I will turn it down a bit.
This helped a lot. Thanks for all the answers.
It occured to me that I forgot (Doh) to point out a few things.
If you need to "time" the query evaluation process, there's a few tricks and log-files to help you with.
First off - Re-starting the scheduler service WILL force the re-start of query evaluation, so this is a handy piece of information on the side.
Next, the single most useful log-file to look at is in LDMAIN / the ManagementSuite directory on the Core. This is -- "SCHEDQRY.EXE.LOG"
In particular the following two entries will make your life easier:
Query Resolution start:
29/01/2009 13:57:20 : Evaluating user scopes in prepartion to updating all active policies
29/01/2009 13:57:20 : Evaluating queries for all active policy tasks.
<At this stage we go into each query and task, all rather uninteresting>
Query resolution end
29/01/2009 13:57:21 : Cleaning up orphaned packages.
29/01/2009 13:57:21 : Scheduled query resolution has been completed.
Now - if you DON'T see a "Scheduled query resolution has been completed." before seeing another "Evaluating queries...", it means your queries never complete being resolved. The time-stamps also give you an idea as to how much time this takes (and then - in turn - how much room to play you have).
A recommendation from me is to always add at least (!) 5 minutes to the time it takes at the moment to resolve queries, so as to allow time for growth in the future.
LANDesk EMEA Technical Lead
I was searching through and found this post. My LANDesk version is 8.8 SP3.
I understand that queries are re-evaluated after 1 hour and I did check the log to verify this. The question is, if I have a software deployment task policy or policy-supported push set with an LDAP query, will it autopopulate the computer into the scheduled task and redeply after the query is re-evaluated without having to re-run the task at a future time? Also, do I have to use a pre-requisite query to prevent reinstall of the application by running it the first time by using "devices that did not suceed" or something along that.
By the way, I did test this and it seems to work because it will be re-evaluated and when you look at pending, the name (Associated LDAP object name) is searchable in the pending. However the associated device is not.