/build/static/layout/Breadcrumb_cap_w.png

Force update script with sleep timer

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

Answers (3)

Posted by: GillySpy 12 years ago
7th Degree Black Belt
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
Posted by: ms01ak 12 years ago
10th Degree Black Belt
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?
Posted by: GillySpy 12 years ago
7th Degree Black Belt
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ