View Fault and Update Domains in Azure Resource Manager

View the Update Domains and Fault Domains for VMs in Azure Resource Manager.

John Savill

July 27, 2016

1 Min Read
View Fault and Update Domains in Azure Resource Manager

Q. How can I view the Fault Domains and Update Domains for ARM VMs?

A. The Fault Domain and Update Domains for ARM VMs can be viewed by looking at the Availability Set within the Azure portal as shown

This can also be seen using PowerShell by getting the status of each VM which provides the InstanceView that then shows the Fault Domain and Update Domain information as properties.

PS C:> $AS = Get-AzureRmAvailabilitySet -ResourceGroupName "RGEastUSMinecraft"PS C:> $AS.VirtualMachinesReferences | ForEach { $VMResource =(Get-AzureRmResource -Id $_.id); $VM= Get-AzureRMVM -Name $VMResource.Name -ResourceGroup $VMResource.ResourceGroupName -Status; [PSCustomObject]@{"Name"=$VM.Name; "FaultDomain"=$VM.PlatformFaultDomain;"UpdateDomain"=$VM.PlatformUpdateDomain;}}Name    FaultDomain UpdateDomain----    ----------- ------------WebSrv1       0        0WebSrv2       1        1WebSrv3       2        2WebSrv4       0        3

 

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like