AnsweredAssumed Answered

Resource allocation across agents

Question asked by Jeff_Cook_7527 on Sep 26, 2016
Latest reply on Sep 26, 2016 by Jessica_Isaacson_255
I'm struggling how to interpret the Automic documentation concerning resource allocation across agents.  I have a situation where I need to run a job one at a time on any 1 of 5 servers in my host group.  When I start the process, I will create 20 jobs and I'd like the first 5 (or any 5) to start running, one on each of the Linux machines in my host group.  When one finishes, I want another job in the queue to start on the machine where the job just completed, such that only 1 job will run at a time on each machine.  I've tried to do this through a special host group using a "Load Dependent" method, but its not working as several jobs are running on the same machine at one time.  I'd like to explore using resources for the job and agents.  However I am unable to identify how to assign a resource limit to an agent.  The Automic documentation has an example for resources that states "An agent has 100 available resources for job executions".  Yet the documentation on the Agent object does not seem to indicate where this resource limit should be noted.  Can someone help me identify how to make this work or refer me to the appropriate documentation?  I should point out that we will be running many other jobs on the same machines at the same time that will not be constrained by these resource limits.  The resource limits are only needed for this one job across the servers in the host group.

Outcomes