如何在Azure自动化运行手册中使用Service Fabric Powershell cmdlet [英] How to use Service Fabric Powershell cmdlets in an Azure Automation runbook

查看:54
本文介绍了如何在Azure自动化运行手册中使用Service Fabric Powershell cmdlet的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用azure自动化帐户连接到服务结构集群并运行运行状况检查.我正在努力建立与集群的连接,因为不存在服务结构sdk.

I want to use an azure automation account to connect to a service fabric cluster and run a health check. I'm struggling with establishing a connection to the cluster because the service fabric sdk is not present.

是否有办法在Azure自动运行手册中使用Service Fabric Powershell cmdlet?

Is there a way to use the service fabric powershell cmdlets in an azure automation runbook?

推荐答案

您可以将AzureRM.ServiceFabric 0.2.4模块导入Azure自动化帐户.打开链接 https://www.powershellgallery.com/packages/AzureRM.ServiceFabric/0.2.4 ,然后单击Deploy to Azure Automation.然后,您可以使用一些Service Fabric PowerShell cmdlet.

You could import AzureRM.ServiceFabric 0.2.4 module to Azure automation account. Open the link https://www.powershellgallery.com/packages/AzureRM.ServiceFabric/0.2.4 and click Deploy to Azure Automation. Then, you could use some Service Fabric PowerShell cmdlets.

另一种解决方案是使用混合Runbook Worker .

Another solution is using Hybrid Runbook Worker.

Azure自动化的Hybrid Runbook Worker功能使您能够 直接在托管角色的计算机上运行runbook并针对 环境中的资源来管理那些本地资源.

The Hybrid Runbook Worker feature of Azure Automation allows you to run runbooks directly on the computer hosting the role and against resources in the environment to manage those local resources.

您可以在本地安装Fabric群集SDK,并使用Runbook worker执行它.

You could install fabric cluster SDK on your local, and use Runbook worker to execute it.

这篇关于如何在Azure自动化运行手册中使用Service Fabric Powershell cmdlet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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