Steps to add existing VM into High Availability Set

Steps to add existing VM into High Availability Set

Steps to add existing VM into High Availability Set

In this blog, we will show you the Steps to add existing VM into High Availability set using Microsoft Azure Portal.

 

REQUIREMENTS

  • Azure Subscription
  • Azure VM

 

ENVIRONMENT OVERVIEW

  • We have already created a new vm named az-ha-vm-01 and a new availability set named VM-High-Availability-Set.

Steps to add existing VM into High Availability Set

 

Steps to add existing VM into High Availability Set

 

  • You can able to configure the high availability set only during VM creation.
  • To confirm that, access the VM properties of a VM in the Azure portal and click on availability set. You will see the below information.

Steps to add existing VM into High Availability Set

 

  • So, we are adding the existing VM to an availability set using PowerShell script.

 

DOWNLOAD VM HIGH AVAILABILITY SET

Steps to add existing VM into High Availability Set

 

  • Download the Set-ARmVmAvailabilitySet.ps1 script to your local machine.

Steps to add existing VM into High Availability Set

 

  • We have downloaded under c:\scripts folder for this demo.

Steps to add existing VM into High Availability Set

 

RUNNING THE POWERSHELL SCRIPT

  • Open the PowerShell window and execute the below command.

Syntax: Set-ArmVmAvailabilitySet.ps1 -VmName <Name of the VM> -ResourceGroup <Resourcegroup name> -AvailabilitySetName <Provide the high availability name>

Example:  Set-ArmVmAvailabilitySet.ps1 -VmName az-ha-vm-01 -ResourceGroup az-resourcegroup -AvailabilitySetName VM-High-Availability-Set

Steps to add existing VM into High Availability Set

 

  • It will prompt for azure login credentials.

Steps to add existing VM into High Availability Set

 

  • Then it will prompt us to select the Azure subscription.

Steps to add existing VM into High Availability Set

 

  • It will validate the VM and availability set details.

Steps to add existing VM into High Availability Set

 

  • This script will destroy the existing VM and create an identical one with same name and its settings. This is the workaround for this limitation as of now.

Steps to add existing VM into High Availability Set

 

VERIFICATION

  • Log in to Azure portal and select availability set from the service list.

Steps to add existing VM into High Availability Set

 

  • Click on the availability set name.

Steps to add existing VM into High Availability Set

 

  • You can see one virtual machine has been added to this availability set.

Steps to add existing VM into High Availability Set

 

VIDEO

Thanks for reading this blog. We hope it was useful for you to learn the workaround steps to add the existing VM into an availability set.

Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn
More Interested Related Posts
zfs pool usage

ZFS Pool and Dataset Usage

ZFS Pool and Dataset Usage   I am back with another blog to provide the useful script to the Freebsd users to determine the zpool

Assistanz Networks

Installing Zabbix Agent in FreeBSD 12.0

Zabbix Agent Installation and Configuration Guide on FreeBSD 12.0   Zabbix is an open-source monitoring software tool for diverse IT components, including networks, servers, virtual

DirectAdmin Server Management Plans

Premium Support

24/7 End User Support from your Helpdesk
$ 99 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • NDA & SLA
  • SLA Review Meetings
  • FREE Consultancy Services
  • Simple SignUp Process
  • Instant Account Activation
  •  

Platinum Support

24/7 Proactive Support
$ 49 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • Advance Proactive Monitoring
  • Guaranteed SLA
  • SLA Review Meetings
  • 3rd Party Application Support
  • FREE Consultancy Services
  • Server Migration Support
  • Weekly Status Report
  • No End User Support
Popular

Unlimited Support

24/7 Support

$ 30 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Support
  • Basic Monitoring
  • 30 Minutes Response Time
  • 4 Hours Resolution time for the Possible Issues
  • Security and Performance Optimization
  • React to Customers queries
  • Simple SignUp Process
  • Instant Account Activation
  • No Third party application support
  • No Migration and End User Support

Cpanel Server Management Plans

Premium Support

24/7 End User Support from your Helpdesk

$ 99 Monthly / Server
  • 24/7 End User White Label Support
  • Unlimited Number of Tickets
  • Chat Support for Admin
  • Separate Account Manager
  • Guaranteed SLA
  • Weekly Status Reports
  • FREE Consultancy Services
  • Simple SignUp Process
  • Instant Account Activation

Platinum Support

24/7 Proactive Server Management
$ 49 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • Advance Proactive Monitoring
  • Guaranteed SLA
  • SLA Review Meetings
  • 3rd Party Application Support
  • FREE Consultancy Services
  • Server Migration Support
  • Weekly Status Report
  • No End User Support
Popular

Unlimited Support

24/7 Server Management

$ 29 Monthly / Server
  • Unlimited Admin Tasks
  • 24/7 Support
  • Basic Monitoring
  • 30 Minutes Response time
  • 4 hours Response time for possible issues
  • Security and Performance Optimization
  • React to Customers queries
  • No Third party application support
  • No Migration and End User Support

Cpanel Server Management Plans

Premium Support

24/7 End User Support from your Helpdesk

$ 99 Monthly / Server
  • 24/7 End User White Label Support
  • Unlimited Number of Tickets
  • Chat Support for Admin
  • Separate Account Manager
  • Guaranteed SLA
  • Weekly Status Reports
  • FREE Consultancy Services
  • Simple SignUp Process
  • Instant Account Activation

Platinum Support

24/7 Proactive Server Management
$ 49 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • Advance Proactive Monitoring
  • Guaranteed SLA
  • SLA Review Meetings
  • 3rd Party Application Support
  • FREE Consultancy Services
  • Server Migration Support
  • Weekly Status Report
  • No End User Support
Popular

Unlimited Support

24/7 Server Management

$ 29 Monthly / Server
  • Unlimited Admin Tasks
  • 24/7 Support
  • Basic Monitoring
  • 30 Minutes Response time
  • 4 hours Response time for possible issues
  • Security and Performance Optimization
  • React to Customers queries
  • No Third party application support
  • No Migration and End User Support