在Linux上初始安装OMI和DSC软件包 [英] Initial installation of OMI and DSC packages on Linux

查看:383
本文介绍了在Linux上初始安装OMI和DSC软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Azure上有大约20个Linux VM,并希望通过DSC for Linux管理它们。


通过Powershell安装初始OMI和DSC转发器的最佳方法是什么没有登录每个虚拟机并单独安装?


还可以建议,一旦编译了DSC配置并生成了特定于节点的配置,我该如何自动将节点分配给配置通过Powershell而不使用门户网站?
$

解决方案

嗨BeerMan007,



Register-AzAutomationDscNode 是可用于将Azure VM注册为自动化帐户的DSC节点的cmdlet。


请注意,当您登录时通过这种方式由Azure Automation DSC进行管理的机器,您无需担心OMI等软件包依赖性。



Start-AzAutomationDscNodeConfigurationDeployment 是可用于分配节点配置的cmdlet。



希望这有帮助!!干杯!!


I have about 20 Linux VMs on Azure and would like to manage them via DSC for Linux.

What's the best way to install the initial OMI and DSC rpms via Powershell without logging into each VM and installing individually?

Also can you please suggest, once the DSC configuration is compiled and the node specific configs are generated, how can I automatically assign the node to the config via Powershell without using the portal ?

解决方案

Hi BeerMan007,

Register-AzAutomationDscNode is the cmdlet which you can use to register an Azure VM as a DSC node for an Automation Account.

Note that when you onboard machines for management by Azure Automation DSC in this way, you need not worry about package dependencies like OMI, etc.

Start-AzAutomationDscNodeConfigurationDeployment is the cmdlet which you can use to assign a node configuration.

Hope this helps!! Cheers!!


这篇关于在Linux上初始安装OMI和DSC软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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