简体   繁体   English

多个 Runbook 能否在一个 azure 自动化帐户中同时运行?

[英]Can multiple runbooks run simultaneously in an azure automation account?

Can multiple runbooks run simultaneously in an azure automation account ?多个 Runbook 能否在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.但我看到runbooks已排队。 Is there a limit for simultaneous runs?同时运行有限制吗? If yes, can it be increased?如果是,可以增加吗?

Can multiple runbooks run simultaneously in an azure automation account?多个 Runbook 能否在一个 azure 自动化帐户中同时运行? 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.是的,更具体地说,应该是 Runbook 作业而不是 Runbook,在 Azure 中启动 Runbook 自动化会创建一个作业,它是 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. Azure Automation 中的 Runbook 可以在 Azure 沙箱或Hybrid Runbook Worker上运行,它们有不同的限制,如果您在门户中启动 Runbook,它会使用 Z3A580F1420203677F1F0ZF 沙箱。

For Azure sandbox:对于 Azure 沙箱:

在此处输入图像描述

For Hybrid Runbook Worker:对于混合 Runbook Worker:

在此处输入图像描述

Reference - https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits#automation-limits参考 - 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.状态Queued并不意味着 Runbook 正在等待正在运行的作业完成,Azure Automation 在 Runbook 执行期间分配一个工作人员来运行每个作业,它们只是在等待工作人员。

Reference - https://docs.microsoft.com/en-us/azure/automation/automation-runbook-execution#job-statuses参考 - 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.是的,如上所述,对于 Azure 沙箱,每个自动化帐户的同时运行限制为200

If yes, can it be increased?如果是,可以增加吗?

No, it cannot be increased.不,不能增加。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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