官术网_书友最值得收藏!

PowerShell desired state configuration

In the previous section, we talked about ARM and ARM templates that define resources, but they are unable to design the way a VM looks inside, specify which software needs to be installed, and how the deployment should be done. This is why we need to have a look at VM extensions. VM extensions define what should be done after ARM deployment has finished. In general, the extension could be anything that's a script. The best practice is to use PowerShell and it's add-on called Desired State Configuration (DSC).

DSC defines quite similarly to ARM, how the software needs to be installed and configured. The great concept is, that it also monitors whether the desired state of a virtual machine is changing (for example, because an administrator uninstalls or re-configures a machine). If it does, it makes sure within minutes whether the original state will be fulfilled again and rolls back the actions to the desired state:

主站蜘蛛池模板: 安庆市| 贡嘎县| 元江| 和田市| 曲周县| 河曲县| 柳林县| 股票| 循化| 太湖县| 浑源县| 平罗县| 伊宁县| 秭归县| 辽阳市| 高碑店市| 永顺县| 公主岭市| 女性| 雷波县| 安溪县| 斗六市| 安阳县| 宜兰县| 衡山县| 洪泽县| 临沭县| 囊谦县| 光山县| 疏附县| 朝阳市| 会泽县| 靖江市| 青岛市| 九江县| 九寨沟县| 庆城县| 灵宝市| 县级市| 磴口县| 延吉市|