业务流程模式(预览版)Orchestration modes (preview)

注意

感谢所有参与此公共预览版的人。Thank you to everyone who participated in this public preview. 我们能够从我们的社区收集有价值的反馈。We were able to gather valuable feedback from our community. 此预览版现在将对任何新参与者关闭,以便集成反馈。This preview is now closed for any new participants, in order to integrate feedback. 我们会使用任何新信息更新此空间。We will update this space with any new information.

虚拟机规模集提供平台管理的虚拟机的逻辑分组。Virtual machines scale sets provide a logical grouping of platform-managed virtual machines. 使用规模集可以创建虚拟机配置模型,根据 CPU 或内存负载自动添加或删除其他实例,并自动升级到最新的 OS 版本。With scale sets, you create a virtual machine configuration model, automatically add or remove additional instances based on CPU or memory load, and automatically upgrade to the latest OS version. 在传统上,规模集允许使用在创建规模集时提供的 VM 配置模型来创建虚拟机,并且规模集只能管理基于配置模型隐式创建的虚拟机。Traditionally, scale sets allow you to create virtual machines using a VM configuration model provided at time of scale set creation, and the scale set can only manage virtual machines that are implicitly created based on the configuration model.

现在,使用规模集业务流程模式(预览版),可以选择是要让规模集协调在规模集配置模型外部显式创建的虚拟机,还是协调基于配置模型隐式创建的虚拟机。With the scale set orchestration mode (preview), you can now choose whether the scale set should orchestrate virtual machines which are created explicitly outside of a scale set configuration model, or virtual machine instances created implicitly based on the configuration model.

虚拟机规模集支持 2 种不同的业务流程模式:Virtual machine scale sets will support 2 distinct orchestration modes:

  • ScaleSetVM - 添加到规模集的虚拟机实例基于规模集配置模型。ScaleSetVM - Virtual machine instances added to the scale set are based on the scale set configuration model. 虚拟机实例生命周期(创建、更新、删除)由规模集管理。The virtual machine instance lifecycle - creation, update, deletion - is managed by the scale set.
  • VM(虚拟机)- 可将规模集外部创建的虚拟机显式添加到规模集。VM (virtual machines) - Virtual machines created outside of the scale set can be explicitly added to the scaleset.

重要

业务流程模式是在创建规模集时定义的,以后无法更改或更新。The orchestration mode is defined when you create the scale set and cannot be changed or updated later.

虚拟机规模集的此项功能目前以公共预览版提供。This feature of virtual machine scale sets is currently in public preview. 此预览版在提供时没有附带服务级别协议,不建议将其用于生产工作负荷。This preview version is provided without a service level agreement, and it's not recommended for production workloads. 某些功能可能不受支持或者受限。Certain features might not be supported or might have constrained capabilities. 有关详细信息,请参阅适用于 Azure 预览版的补充使用条款For more information, see Supplemental Terms of Use for Azure Previews.

业务流程模式Orchestration modes

功能Feature "orchestrationMode”:“VM” (VirtualMachine)"orchestrationMode”: “VM” (VirtualMachine) “orchestrationMode”:“ScaleSetVM” (VirtualMachineScaleSetVM)“orchestrationMode”: “ScaleSetVM” (VirtualMachineScaleSetVM)
VM 配置模型VM configuration model None 必须Required
将新 VM 添加到规模集Adding new VM to Scale Set 创建 VM 时,会显式将 VM 添加到规模集。VMs are explicitly added to the scale set when the VM is created. VM 是隐式创建的,将会根据 VM 配置模型、实例计数和自动缩放规则添加到规模集VMs are implicitly created and added to the scale set based on the VM configuration model, instance count, and AutoScaling rules
删除 VMDelete VM 必须单独删除 VM;如果规模集中包含任何 VM,则不会删除规模集。VMs have to be deleted individually, the scale set will not be deleted if it has any VMs in it. 可以单独删除 VM,删除规模集会删除所有 VM 实例。VMs can be deleted individually, deleting the scale set will delete all of the VM instances.
附加/分离 VMAttach/Detach VMs 不支持Not supported 不支持Not supported
实例生命周期(创建到删除)Instance Lifecycle (Creation through Deletion) 可以单独管理 VM 及其项目(例如磁盘和 NIC)。VMs and their artifacts (like disks and NICs) can be managed independently. 实例及其项目(例如磁盘和 NIC)对于创建它们的规模集实例而言是隐式的。Instances and their artifacts (like disks and NICs) are implicit to the scale set instances that create them. 无法在规模集的外部单独对其进行分离或管理They cannot be detached or managed separately outside the scale set
更新域Update domains 更新域会自动映射到容错域Update domains are automatically mapped to fault domains 更新域会自动映射到容错域Update domains are automatically mapped to fault domains
自动缩放AutoScale 不支持Not supported 支持Supported
OS 升级OS upgrade 不支持Not supported 支持Supported
模型更新Model updates 不支持Not supported 支持Supported
实例控制Instance control VM 全面控制。Full VM Control. VM 具有完全限定的 URI,支持全面的 Azure VM 管理功能(例如 Azure Policy、Azure 备份和 Azure Site Recovery)VMs have fully qualified URI that support the full range of Azure VM management capabilities (like Azure Policy, Azure Backup, and Azure Site Recovery) VM 是规模集的依赖资源。VMs are dependent resources of the scale set. 只能通过规模集访问用于管理的实例。Instances can be accessed for management only through the scale set.
实例模型Instance Model Microsoft.Compute/VirtualMachines 模型定义。Microsoft.Compute/VirtualMachines model definition. Microsoft.Compute/VirtualMachineScaleSets/VirtualMachines 模型定义。Microsoft.Compute/VirtualMachineScaleSets/VirtualMachines model definition.
容量Capacity 可以创建空规模集;最多可将 200 个 VM 添加到规模集An empty scale set can be created; up to 200 VMs can be added to the scale set 可以使用实例计数 0-1000 定义规模集Scale sets can be defined with an instance count 0 - 1000
移动Move 支持Supported 支持Supported
单个位置组 == falseSingle placement group == false 不支持Not supported 支持Supported