Azure自动化:在混合工作组中的所有服务器上运行Runbook [英] Azure automation: run runbook on all servers in hybrid worker group

查看:132
本文介绍了Azure自动化:在混合工作组中的所有服务器上运行Runbook的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

地狱队,

我在azure自动化中创建了一个混合工作组,其中有3个服务器,并创建了项目所需的运行手册,对于维护任务,我需要在工作组中的每台服务器上运行几个运行手册.

如您所知,我们在控制台中没有任何选项可以在组中的每台服务器上运行Runbook,当前,根据设计,该运行书在组中的任何一台服务器上运行.

请建议我们是否可以在工作组中的所有服务器上运行脚本.

谢谢


sridhar v

解决方案

尊敬的Sridhar,正如您正确地指出的那样,Azure自动化当前不支持在工作组中的多个服务器上运行相同的脚本.您可能会扩展脚本以检测混合组中所有工作人员的主机名,然后 然后将您的脚本同时定位到所有检测到的服务器上(很抱歉,我没有针对此的脚本,因此,这在理论上是最好的).好消息是,自动化团队始终愿意从其尊贵的客户那里获得直接反馈.我强烈建议 发布此功能ask/request 这里,自动化团队将审查其可行性.


Hell team,

I created a Hybrid worker group in azure automation with 3 server in it and created runbooks required for project, for maintenance task, i need to run few runbooks on each server in worker group. 

as you know we do no have any option in console to run runbook on each server of the group, currently the run book runs on any one server in group as per design.

Please suggest us if there is any way to run script on all servers in worker group.

Thanks 


sridhar v

解决方案

Hi Sridhar, As you rightly stated, Azure Automation currently doesn't support running the same script across multiple servers in the worker group. It may be possible for you to extend your script to detect all workers' hostnames in the hybrid group and then target your script concurrently on all detected servers (sorry I don't have a script for this so this is theoretical at best). Good news is that the Automation team is always willing to get direct feedback from it's valued customers. I strongly recommend posting this feature ask/request HERE and the Automation team will review for feasibility. 


这篇关于Azure自动化:在混合工作组中的所有服务器上运行Runbook的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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