超过3小时超时Automation Runbook Azure [英] Exceed 3 hours timeout Automation Runbook Azure

查看:94
本文介绍了超过3小时超时Automation Runbook Azure的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个要启动的Runbook,但是要花3个多小时才能运行(分区过程),所以它在完成之前就停止了.我想知道是否有办法超过3小时的限制.我听说过混合运行手册,但不确定如何解决我的问题.你知道还有其他解决方案吗?

I have a runbook to launch but it takes more than 3 hours to run (process of partitions) and so, it stops before being complete. I wanted to know if there is a way to exceed the 3 hours limitation. I've heared about hybrid runbooks but I'm not sure how it could solve my problem. Do you know if there is other solutions ?

非常感谢.

推荐答案

如果要坚持使用Azure自动化,可以使用检查点:

If you want to stick to Azure Automation, you can use Checkpoints:

Azure Automation具有一项称为公平共享"的功能,其中任何运行手册 运行了3个小时的软件将被卸载,以允许其他Runbook运行. 最终,卸载的Runbook将会重新加载,并且是在何时加载 从运行手册中的最后一个检查点恢复执行. 因此,为了确保运行手册最终完成, 您必须以少于3小时的时间间隔添加检查点.

Azure Automation has a feature called "fairshare", where any runbook that runs for 3 hours is unloaded to allow other runbooks to run. Eventually, the unloaded runbook will be reloaded, and when it is it will resume execution from the last checkpoint taken in the runbook. Thus, in order to guarantee that the runbook will eventually complete, you must add checkpoints at intervals that run for less than 3 hours.

来源.

这是 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆