How do I get an Azure Batch pool to resubmit after more cores become available?

Adam Talbot 1 Reputation point
2020-08-24T16:23:30.44+00:00

I'm using AutoPools with Jobs in Azure Batch, therefore I have a 1-to-1 ratio of Pools to Jobs.

If I submit a few jobs at the same time, one of them may be prevented from starting by the core quota on the Azure Batch account, i.e. the AutoPool would cause the number of cores to exceed the limit. When this happens the Job will never start and instead sit idle until I manually resize the pool.

Is there a way for the Job and AutoPool to resubmit once the number of cores in use has reduced and therefore there is free space? Could I use an Autoscaling Formula with a fixed number to resize the pool every x minutes?

Azure Batch
Azure Batch
An Azure service that provides cloud-scale job scheduling and compute management.
314 questions
{count} votes

1 answer

Sort by: Most helpful
  1. prmanhas-MSFT 17,901 Reputation points Microsoft Employee
    2020-08-27T06:54:00.703+00:00

    @Adam Talbot Thank you for your response. I had discussion internally and they did mentioned that using an Autoscaling Formula with a fixed number to resize the pool every x minutes will be the solution to olve your issue.

    Do let me know in case of any queries.

    Thanks