在已经创建计算机之后将负载均衡器附加到多个VM(在这种情况下,将无法使用可用性集) [英] Attach Load Balancer to multiple VMs after machines are already created (Availability Set cannot be used in that case)

查看:47
本文介绍了在已经创建计算机之后将负载均衡器附加到多个VM(在这种情况下,将无法使用可用性集)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了两个虚拟机.我没有为他们创建可用性集,因为我不知道我将需要它.我不想重新创建那些VMS.

I created two VMs. I did not created Availability Set for them because I did not know I will need it. I do not want to re-create those VMS.

现在,我创建了LB,但是我只能将它与一个VM或包含多个VM的可用性集相关联(这是我说不可能的,因为只能在创建VM的过程中对其进行配置).

Now I created LB but I can see that I can associte it only to one VM or to Availability Set which will contain multiple VMs (which is as I stated not possible because it can be configured only during the creation of VM).

我尝试将LB与VM关联,但是我只能选择一个VM!

I try to associate LB to VM but I can see that I can select only one VM!!!

我不敢相信我不能为LB选择至少两个VM ???这真的以这种方式工作吗?这真让我感到惊讶,也很失望.

I cannot believe that I cannot select at least two VMs for LB??? Is this really working in this way?? This is really surprising for me and very dissapointing.

如果可以快速解决如何将具有相同资源组和虚拟网络的负载均衡器与多个虚拟机相关联,请提出建议.

Please suggest me if there is some quick work around how to associate Load Balancer wth same resource group and virual network to multiple VMs.

请!

谢谢

推荐答案

嗨CaneV

没错,您只能选择单个VM,可用性集或VM规模集.

Hi CaneV

You are correct, you only have the option to attatch a single VM, Availability set or VM Scale Set.

我还看到您不想重新创建VM:s.到目前为止,这是您最好的选择,而且实际上很容易做到.基本上,您删除虚拟机,但保留磁盘,然后以适当性集重新创建虚拟机.  

I also see that you dont want to recreate your VM:s. This is as for now your best option though and actually very easy to do. Basiclly you delete the VM but keeps the disks, then recreat your VM in a avilability set.  

https://docs .microsoft.com/en-us/azure/virtual-machines/windows/change-availability-set


这篇关于在已经创建计算机之后将负载均衡器附加到多个VM(在这种情况下,将无法使用可用性集)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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