简体   繁体   中英

Can multiple runbooks run simultaneously in an azure automation account?

Can multiple runbooks run simultaneously in an azure automation account ? If yes, how many?

I have checked the microsoft documentation but I couldn't find anything relevant. From my experience, i have seen a runbook can be completed while another is in running status. 在此处输入图像描述

But I see that the runbooks are queued. Is there a limit for simultaneous runs? If yes, can it be increased?

Can multiple runbooks run simultaneously in an azure automation account? If yes, how many?

Yes, more specifically, it should be runbook jobs instead of runbooks, starting a runbook in Azure Automation creates a job, which is a single execution instance of the runbook.

And runbooks in Azure Automation can run on either an Azure sandbox or a Hybrid Runbook Worker , they have different limits, if you start your runbook in the portal, it uses Azure sandbox.

For Azure sandbox:

在此处输入图像描述

For Hybrid Runbook Worker:

在此处输入图像描述

Reference - https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits#automation-limits

But I see that the runbooks are queued.

The status Queued does not mean the runbooks are waiting for the running jobs to complete, Azure Automation assigns a worker to run each job during runbook execution, they are just waiting for the worker.

Reference - https://docs.microsoft.com/en-us/azure/automation/automation-runbook-execution#job-statuses

在此处输入图像描述

Is there a limit for simultaneous runs?

Yes, as mentioned above, there is a limit 200 for simultaneous runs per automation account for Azure sandbox.

If yes, can it be increased?

No, it cannot be increased.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM