Hi,

I was wondering if anyone has created a script that goes to sleep for a few random seconds or minutes and then force checkin? I need to check in over 100 clients and I don't want to overwhelm the server. I just need some way to stagger them so they don't all checkin at once. Any ideas will be great.

Thanks,

M
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
the kbox already has a throttle on it for task throughput. If your throughput is 2 then only about 20 maximum will be able to run an inventory at the same time. The others will be queued and wait.

If you are having bottlenecks elsewhere -- like on the WAN -- then perhaps you could target machines in groups?

That said, a simple way to sleep would be in a batch (that you wait for ) that pings null. E.g.
ping -n 5 127.0.0.1 >NUL
Answered 12/15/2011 by: GillySpy
Seventh Degree Black Belt

Please log in to comment
0
I'm just reading the warning on the force inventory script:

Force Windows machines with the K1000 agent installed to take inventory and sync with the K1000.
WARNING: Do not run this with more than 50 machines selected as this can overload the server with requests.

So this no longer applies? I can check in as many machines as I want?
Answered 12/15/2011 by: ms01ak
Tenth Degree Black Belt

Please log in to comment
0
By issuing this run as you are potentially trumping your queue of other tasks until these complete. It's your kbox and your network so your experience counts for a lot. Run 50 and see what your experience is like.
Answered 12/15/2011 by: GillySpy
Seventh Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity