Have version 3.5.0.1 installed, having multiple issues.

This forum is for the discussions and support for the Chocolatey For Automate plugin. Inside you will find the Documentation Project forum that describes the operation of the plugin.
Post Reply
User avatar
jtzabecki
Posts: 35
Joined: Tue Aug 06, 2019 4:11 pm
4

Have version 3.5.0.1 installed, having multiple issues.

Post by jtzabecki »

Cannot seem to set more than 5 standalones. Cannot select more then 1 workstation to deploy framework. Cannot do a heck of a lot. This version is highly different then the one you have documentation for. Please help.

User avatar
jtzabecki
Posts: 35
Joined: Tue Aug 06, 2019 4:11 pm
4

Re: Have version 3.5.0.1 installed, having multiple issues.

Post by jtzabecki »

are there anyways to set globally for the client on standalone and such.

User avatar
Cubert
Posts: 2430
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Have version 3.5.0.1 installed, having multiple issues.

Post by Cubert »

If you setup a client to be all stand alone and more than 1 or 2 agents are at the same location using the same IP you will have major issues getting anything done.

You will incur IP blocks and rate limiting from the community repo. So if you are seeing only a handful of agents doing anything and everyone else is doing nothing then you may have hit that limit and are now being IP blocked at that location. Chocolatey will not block 1 agents requests for packages and installers but requests from dozens of agents will incur a block with in minutes.

This is why caching was introduced to the plugin. It gets around the issues of blocking by funneling all repo requests to a single agent.

A properly setup location will have 1 agent set as caching agent and all others left as normal agents. You will have a share either on the cashing agent or on the network where all agents can gain access to share. Once you confirmed this is accessible by all agents at that location you set a update schedule, this can be daily , weekly or monthly.

Once this is complete you should allow a couple of days for all agents to come in to service. Most will happen in 24 hours but you will need to allow the services to complete.

#1 All agents need to get deployed
#2 Caching agent needs to test repo
#3 Caching agent need to cache current package list
#4 All agent need to version them selves to see what software complies with App Searches.
#5 Agents start updating from cache
#6 Agents reversion and validate current update levels.

All the functions above are driven by the Chocolatey Service Automate script that gets scheduled against agents. This is a function script so it does a lot of stuff , one thing at a time. so you call script and pass the function you want to perform. To keep from blowing up an Automate host with thousands of script schedules at one time we space the functions out over 24 hours. This is why the immediate update of an agent does not happen when plugin is activated. If you enabled a client with several hundred agents at one location and it all happened at once it would really load down a network.

You can follow along the agents progress by monitoring the agents script and commands log in the agent console. If there are issues it will show up here in logs.

If you have access to Automate logs then you can see who is getting scheduled and for what in the logs for plugin located at

C:\Program Files\LabTech\Logs\plugin_chocolateyForAutomate.txt

on the automate host.

User avatar
Cubert
Posts: 2430
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Have version 3.5.0.1 installed, having multiple issues.

Post by Cubert »

If you feel something is not working or not happening correctly we will need to see the agent and server logs to help you with the issues. Now that you have a list of things it does you can use script logs to capture those function calls and the output to see what's the issue is.


Post those logs and such back here with any screen shots you can take so we can see where you are inside the plugin.

User avatar
jtzabecki
Posts: 35
Joined: Tue Aug 06, 2019 4:11 pm
4

Re: Have version 3.5.0.1 installed, having multiple issues.

Post by jtzabecki »

After doing what was suggested it appears to be working well now.

Post Reply

Return to “Chocolatey For Automate”