locked
Availability Set RRS feed

  • Question

  • can I assign virtual machines to the availability set after  creation the of virtual machines without assign to availability set.
    Sunday, March 17, 2019 3:07 PM

Answers

  • In short - no. You will have to delete the VM, keep the existing disks, and then recreate the VM. Fortunately this can be automated. for an example, refer to https://docs.microsoft.com/en-us/azure/virtual-machines/windows/change-availability-set and https://pixelrobots.co.uk/2018/02/add-existing-virtual-machine-availability-set-azure/

    hth
    Marcin



    • Edited by Marcin PolichtMVP Sunday, March 17, 2019 3:18 PM
    • Marked as answer by abp440 Sunday, March 17, 2019 3:34 PM
    • Unmarked as answer by abp440 Sunday, March 17, 2019 3:35 PM
    • Marked as answer by abp440 Sunday, March 17, 2019 3:37 PM
    Sunday, March 17, 2019 3:17 PM

All replies

  • In short - no. You will have to delete the VM, keep the existing disks, and then recreate the VM. Fortunately this can be automated. for an example, refer to https://docs.microsoft.com/en-us/azure/virtual-machines/windows/change-availability-set and https://pixelrobots.co.uk/2018/02/add-existing-virtual-machine-availability-set-azure/

    hth
    Marcin



    • Edited by Marcin PolichtMVP Sunday, March 17, 2019 3:18 PM
    • Marked as answer by abp440 Sunday, March 17, 2019 3:34 PM
    • Unmarked as answer by abp440 Sunday, March 17, 2019 3:35 PM
    • Marked as answer by abp440 Sunday, March 17, 2019 3:37 PM
    Sunday, March 17, 2019 3:17 PM
  • Appreciate for your help.

    I have one query what is the difference between affinity group and availability set 

    Sunday, March 17, 2019 3:37 PM
  • Affinity groups have been depreciated and are no longer necessary, they were used in the depreciated Azure Cloud called ASM, we now use ARM.

    In Azure ARM you have to decide between

    1 Availability Set : https://docs.microsoft.com/en-us/azure/virtual-machines/windows/manage-availability

    or

    2 Availability Zone : https://docs.microsoft.com/en-us/azure/availability-zones/az-overview

    Sunday, March 17, 2019 5:15 PM