Azure可用性集和规模集的差异 [英] Difference in Azure Availability Sets and Scale Sets

查看:103
本文介绍了Azure可用性集和规模集的差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以在ARM门户网站中定义两者之间的区别.如果我需要向现有的AS(可用性集)添加新的Azure RM VM,那么PowerShell将是什么?谢谢普拉布

Can someone define the difference between the two in the ARM portal. Also what would be the PowerShell if i need to add a new Azure RM VM to a existing AS(Availability Set)? Thanks Prab

推荐答案

可用性集由一组离散的VM组成,这些VM具有自己的名称和各个属性,但分布在各个故障域中,这意味着一组虚拟机可以减少主机或机架发生硬件故障时丢失所有虚拟机的机会.

An availability set consists of a set of discrete VMs which have their own names and individual properties, but are spread across fault domains, which means when you have more than one VM in a set it reduces the chances of losing all your VMs in event of a hardware failure in the host or rack.

规模集包括一组配置相同的VM,它们也分布在各个故障域中(实际上,规模集是具有5个故障域的隐式可用性集).主要区别在于扩展集是相同的,使得在保持高可用性的同时非常容易在集中添加或删除VM,这又使得实现自动扩展以及对整个集或一部分VM执行操作变得容易..还有一些API调用支持重新映像和升级VM,使您可以在保持服务运行的同时推出更新.它们对于需要部署大量相似VM或需要具有弹性的云体系结构很有用.典型的体系结构可能将规模集用于代理或辅助节点,将可用性集用于主节点或控制节点.请参阅 https://azure.microsoft.com/en-us/services/virtual-machine-scale-sets/了解详情.

A scale set consists of a set of identically configured VMs, also spread across fault domains (in fact a scale set is an implicit availability set with 5 fault domains). The main difference is scale sets, being identical, make it very easy to add or remove VMs from the set while preserving high availability, which in turn makes it easy to implement autoscale, and to perform operations on the whole set or a subset of VMs. There are also API calls that support re-imaging and upgrading VMs, allowing you to roll out an update while keeping the service running. They are useful for cloud architectures which require deploying large numbers of similar VMs, or need to be elastic. A typical architecture might use a scale set for agent or worker nodes, and an availability set for master or control nodes. See https://azure.microsoft.com/en-us/services/virtual-machine-scale-sets/ for more detail.

有关将新VM添加到现有AS的问题,请参见 Azure Resource Manager:将VM移至可用性组 https://gallery.technet.microsoft.com/Set-Azure-Resource-Manager-f7509ec4

For your question about adding a new VM to an existing AS, see Azure Resource Manager: move VM to availability group and https://gallery.technet.microsoft.com/Set-Azure-Resource-Manager-f7509ec4

这篇关于Azure可用性集和规模集的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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