0
votes

When creating a VM in Azure, you have the option of setting an Availability Set and Fault/Update domain. I have some VMs where I need to set the Availability Set and another set of VMs where I need to update the Fault/Update domain.

As far as I can see, this isn't available with the new Resource Group-based Virtual Machines and cmdlets, thus this previous post isn't applicable. Without recreating the VMs, what is the proper way to set these resources?

1

1 Answers

1
votes

Because availability set membership determines which stamp (cluster) a VM will be created in, it isn't possible to configure the availability set after the machine is deployed.

The simplest solution would be to delete the VM, while retaining the disks, then create your availability set and create and add new VMs with the existing disks.