通过VBStudio部署资源组,这会将VM添加到可用性集 [英] Deploy Resource Group via VBStudio that will add VMs to an availibility set

查看:57
本文介绍了通过VBStudio部署资源组,这会将VM添加到可用性集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Using VB studio I am playing with Azure ARM templates. I have it all working but have one question.
When using a blank project, I chose resources of two VMs and one Availability set all within the same new resource group.

I deployed the project and all got created, but, I had expected the two VMs that I had in my project to get added to the Availability Set that was also part of this new resource group? Instead, I got the resource group with the VMs and AV-set, but the VMs were not joined. Is there any way of these being added at deployment? Perhaps I just don't understand, and these have to be added afterwards?

Can someone please let me know.
Thank you.
Jay

推荐答案

在创建过程中,需要将VM添加到AV集中.创建它们后,您将无法将它们添加到AV集中.

VMs need to be added to an AV set during creation. You won't be able to add them to an AV set after they are already created. 

您可以共享用于在AV集中部署计算机的ARM模板吗?

Can you share your ARM template you used to deploy the machines in the AV set? 

我们还有一些您可能会觉得有用的快速入门模板

We also have some quickstart templates you might find useful

https://github.com/Azure/azure-quickstart-templates


这篇关于通过VBStudio部署资源组,这会将VM添加到可用性集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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