Update Domain Availability Set
Each virtual machine in your availability set is assigned an update domain and a fault domain by the underlying azure platform.
Update domain availability set. One vm will be placed on rack1 and another will be placed on rack2 and give fault tolerance. Properties virtualmachines sub resource a list of references to all virtual machines in the availability set. There are 3 fault domains and 5 update domains per availability set by default. Vm will get fault domain and update domain id as below.
I could not find any other documentation on how to update the update domain other than this doc. What are fault domains. Microsoft azure what is an availability set. Create availability set nsit avb set01 with 2 fault domain fd and 4 update domain ud.
When you put vms on an availability set then to protect vms from failure azure spread them on fault domain and update domain. Cynthn since availability set comprises of fault domain and update domain this statement from the doc. For a given availability set five non user configurable update domains are assigned by default resource manager deployments can then be increased to provide up to 20 update domains to indicate groups of virtual machines and underlying physical hardware that can be. To change the availability set you need to delete and then recreate the virtual machine it implied to me that we need to delete and then recreate vm to update the update domain as well.
You can change the number of fault and update domains in an availability set. By deploying your vms across multiple hardware nodes azure ensures that if hardware or software failure happens within azure only a sub set of your virtual machines are impacted and your overall solution is safe and in working condition. Provisioned two vm s and associate availability set nsit avb set01. Availability sets ensure that the azure virtual machines are deployed across multiple isolated hardware nodes in a cluster.
All the virtual machines within that update domain will reboot together. Update domains are used for patching of the host vms and only one update domain is updated at a time. A fault domain is factually a rack of the servers which consumes mostly subsystem like network power cooling etc. What are update domains.