Azure VMware Solution Releases Placement Polices in Public Preview

Published Aug 16 2021 10:15 AM 1,406 Views
Microsoft

Co-Authored: Ashwin Kabadi, Senior Product Manager, Azure VMware Solution, Microsoft

 

Placement policies enable admins to specify constraints or rules when allocating Virtual Machines within an Azure VMware Solution (AVS) private cloud. With this update the creation and assignment of vSphere Distributed Resource Scheduler (DRS) rules for running Virtual Machines (VMs) in an AVS SDDC has been simplified and is now executable directly from the Azure Portal for cloud admin roles.

 

Making updates to VM (Virtual Machine) groups and Host groups is a cumbersome operation, especially for hosts in a cloud environment where they can be more frequently cycled. In an on-premises environment, as hosts are replaced in the vSphere inventory, the vSphere admin must modify the host group to ensure that the desired VM-Host placement constraints continue to stay in effect. Placement policies in AVS take care of updating the Host groups when a host is rotated or changed. Similarly, if you scale-in a cluster, the Host Group is also updated automatically, as applicable. This eliminates the overhead of managing the Host Groups.

 

Placement policies essentially define constraints or rules that allow you to decide where and how the VMs should run within the AVS SDDC clusters. Placement polices are used to support VM performance and availability by grouping multiple VMs that communicate regularly on the same host.  policy and help mitigate the impact of maintenance operations to policies within the SDDC cluster. Placement polices in AVS also reduce the complexity and administrative burden of updating host groups via DRS rules in vSphere during SDDC maintenance operations.

 

Placement policies.png

 

 

When you create a placement policy, it creates a vSphere Distributed Resource Scheduler (DRS) rule in the specified vSphere cluster. It also includes additional logic for interoperability with Azure VMware Solution operations.

 

There are two basic placement policy types now supported:

  1. Virtual Machine to Virtual Machine: this refers to a policy that is applied to VMs with respect to each other.
    • VM-VM Affinity policies instruct DRS to try keeping the specified VMs together on the same host for performance reasons as an example.
    • VM-VM Anti-Affinity policies instruct DRS to try keeping the specified VMs apart from each other on separate hosts. It's useful in scenarios where  you may want to spread your virtual machines across hosts to ensure availability of the applications.
  2. Virtual Machine to SDDC Host: this refers to a policy applied to selected VMs to either run on, or avoid  selected hosts  .
    • VM-Host Affinity policies instruct DRS to try running the specified VMs on the hosts defined.
    • VM-Host Anti-Affinity policies instruct DRS to try running the specified VMs on hosts other than those defined.
 

For more information on requirements for placement policies in Azure VMware Solution and how to create and apply them, see Microsoft Docs pages here.

 

Start using placement polices directly from the Azure Portal  today!

%3CLINGO-SUB%20id%3D%22lingo-sub-2653265%22%20slang%3D%22en-US%22%3EAzure%20VMware%20Solution%20Releases%20Placement%20Polices%20in%20Public%20Preview%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2653265%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3ECo-Authored%3A%20Ashwin%20Kabadi%2C%20Senior%20Product%20Manager%2C%20Azure%20VMware%20Solution%2C%20Microsoft%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlacement%20policies%20enable%20admins%20to%20specify%20constraints%20or%20rules%20when%20allocating%20Virtual%20Machines%20within%20an%20Azure%20VMware%20Solution%20(AVS)%26nbsp%3Bprivate%20cloud.%26nbsp%3BWith%20this%20update%20the%20creation%20and%20assignment%20of%20vSphere%20Distributed%20Resource%20Scheduler%20(DRS)%20rules%20for%20running%20Virtual%20Machines%20(VMs)%20in%20an%20AVS%20SDDC%20has%20been%20simplified%20and%20is%20now%20executable%20directly%20from%20the%20Azure%20Portal%20for%20cloud%20admin%20roles.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMaking%20updates%20to%20VM%20(Virtual%20Machine)%20groups%20and%20Host%20groups%20is%20a%20cumbersome%20operation%2C%20especially%20for%20hosts%20in%20a%20cloud%20environment%20where%20they%20can%20be%20more%20frequently%20cycled.%20In%20an%20on-premises%20environment%2C%20as%20hosts%20are%20replaced%20in%20the%20vSphere%20inventory%2C%20the%20vSphere%20admin%20must%20modify%20the%20host%20group%20to%20ensure%20that%20the%20desired%20VM-Host%20placement%20constraints%20continue%20to%20stay%20in%20effect.%20Placement%20policies%20in%20AVS%20take%20care%20of%20updating%20the%20Host%20groups%20when%20a%20host%20is%20rotated%20or%20changed.%20Similarly%2C%20if%20you%20scale-in%20a%20cluster%2C%20the%20Host%20Group%20is%20also%20updated%20automatically%2C%20as%20applicable.%20This%20eliminates%20the%20overhead%20of%20managing%20the%20Host%20Groups.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlacement%20policies%20essentially%20define%20constraints%20or%20rules%20that%20allow%20you%20to%20decide%20where%20and%20how%20the%20VMs%20should%20run%20within%20the%20AVS%20SDDC%20clusters.%20Placement%20polices%20are%20used%20to%20support%20VM%20performance%20and%20availability%20by%20grouping%20multiple%20VMs%20that%20communicate%20regularly%20on%20the%20same%20host.%20%26nbsp%3Bpolicy%20and%20help%20mitigate%20the%20impact%20of%20maintenance%20operations%20to%20policies%20within%20the%20SDDC%20cluster.%20Placement%20polices%20in%20AVS%20also%20reduce%20the%20complexity%20and%20administrative%20burden%20of%20updating%20host%20groups%20via%20DRS%20rules%20in%20vSphere%20during%20SDDC%20maintenance%20operations.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Placement%20policies.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F303565iDE1BEBA5B6A014B7%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Placement%20policies.png%22%20alt%3D%22Placement%20policies.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20you%20create%20a%20placement%20policy%2C%20it%20creates%20a%20vSphere%20Distributed%20Resource%20Scheduler%20(DRS)%20rule%20in%20the%20specified%20vSphere%20cluster.%20It%20also%20includes%20additional%20logic%20for%20interoperability%20with%20Azure%20VMware%20Solution%20operations.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThere%20are%20two%20basic%20placement%20policy%20types%20now%20supported%3A%3C%2FP%3E%0A%3COL%20start%3D%222%22%3E%0A%3CLI%3E%3CSTRONG%3EVirtual%20Machine%20to%20Virtual%20Machine%3C%2FSTRONG%3E%3A%20this%20refers%20to%20a%20policy%20that%20is%20applied%20to%20VMs%20with%20respect%20to%20each%20other.%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EVM-VM%20Affinity%3C%2FSTRONG%3E%26nbsp%3Bpolicies%20instruct%20DRS%20to%20try%20keeping%20the%20specified%20VMs%20together%20on%20the%20same%20host%20for%20performance%20reasons%20as%20an%20example.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EVM-VM%20Anti-Affinity%3C%2FSTRONG%3E%26nbsp%3Bpolicies%20instruct%20DRS%20to%20try%20keeping%20the%20specified%20VMs%20apart%20from%20each%20other%20on%20separate%20hosts.%20It's%20useful%20in%20scenarios%20where%20%26nbsp%3Byou%20may%20want%20to%20spread%20your%20virtual%20machines%20across%20hosts%20to%20ensure%20availability%20of%20the%20applications.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EVirtual%20Machine%20to%20SDDC%20%3C%2FSTRONG%3EHost%3A%20this%20refers%20to%20a%20policy%20applied%20to%20%3CSTRONG%3Eselected%20VMs%20to%20either%20run%20on%2C%20or%20avoid%20%26nbsp%3Bselected%20hosts%20%26nbsp%3B.%3C%2FSTRONG%3E%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EVM-Host%20Affinity%26nbsp%3B%3C%2FSTRONG%3Epolicies%20instruct%20DRS%20to%20try%20running%20the%20specified%20VMs%20on%20the%20hosts%20defined.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EVM-Host%20Anti-Affinity%26nbsp%3B%3C%2FSTRONG%3Epolicies%20instruct%20DRS%20to%20try%20running%20the%20specified%20VMs%20on%20hosts%20other%20than%20those%20defined.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CDIV%20id%3D%22tinyMceEditorLockyAinley_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3EFor%20more%20information%20on%20requirements%20for%20placement%20policies%20in%20Azure%20VMware%20Solution%20and%20how%20to%20create%20and%20apply%20them%2C%20see%20Microsoft%20Docs%20pages%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-vmware%2Fcreate-placement-policy%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EStart%20using%20placement%20polices%20directly%20from%20the%20%3CA%20href%3D%22https%3A%2F%2Fms.portal.azure.com%2F%23blade%2FHubsExtension%2FBrowseResource%2FresourceType%2FMicrosoft.AVS%252FprivateClouds%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EAzure%20Portal%26nbsp%3B%3C%2FA%3E%26nbsp%3Btoday!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2653265%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20newly%20released%20Placement%20Policies%20for%20Azure%20VMware%20Solution%20enable%20admins%20to%20specify%20constraints%20or%20rules%20when%20allocating%20Virtual%20Machines%20within%20the%20AVS%20private%20cloud.%26nbsp%3BWith%20this%20update%20the%20creation%20and%20assignment%20of%20vSphere%20Distributed%20Resource%20Scheduler%20(DRS)%20rules%20for%20running%20VMs%20in%20AVS%20has%20been%20simplified.%20Now%20you%20can%20more%20easily%20optimize%20VM%20on%20host%20performance%20and%20availability%20through%20rules%20for%20VM%20groups%2C%20and%26nbsp%3Breduce%20the%20complexity%20and%20administration%20of%20updating%20host%20groups%20during%20SDDC%20maintenance%20operations.%3C%2FP%3E%3C%2FLINGO-TEASER%3E
Co-Authors
Version history
Last update:
‎Aug 16 2021 10:15 AM
Updated by: