In this article, we will teach you how to create High Availability Hyper-V virtual machines. Here is how to use the Failover Cluster Manager to build fault-tolerant virtual machines or create new virtual machines. The description for this problem is to make the VMs (virtual machines) fault-tolerant by clustering the Hyper-V host. I have written an article describing how to set up Hyper-V Failover clustering, so I am not repeating that procedure here. Instead, I am focusing on some features of Hyper-V failover clustering that are unique to Hyper-V.
Table of Contents
High Availability Hyper-V Virtual Machines
Open Hyper-V Manager
When we enable the Hyper-V Role on Windows Server 2022, we generally enable the Hyper-V manager along with that role. Creating high-availability Hyper-V Virtual Machines.
![Hyper-V manager](https://jamiltech.com/wp-content/uploads/Hyper-V-manager-3.webp)
How to Create Hyper-V Virtual Machine in Hyper-V Manager
After going through the new virtual machine wizard to create high-availability Hyper-V virtual machines, we can view the new virtual machine listed in the Hyper-V Manager.
![Hyper-V manager nodes](https://jamiltech.com/wp-content/uploads/Hyper-V-manager-nodes.webp)
We want to use another tool to make sure the newly created Hyper-V VM is highly available and a cluster resource.
Configure Roles in Failover Cluster Manager
Open Failover Cluster Manager, right-click on the roles, and then select Configure Role.
![Failover cluster manager](https://jamiltech.com/wp-content/uploads/Failover-cluster-manager-2.webp)
High Availability wizard, click next.
![High availability wizard](https://jamiltech.com/wp-content/uploads/High-availability-wizard.webp)
From the roles, click on the virtual machine role to configure for high availability, and then choose next.
![High Availability Hyper-V Virtual Machines](https://jamiltech.com/wp-content/uploads/High-Availability-Hyper-V-Virtual-Machines.webp)
Select your virtual machine, and then click Next.
![High availability wizard virtual machine](https://jamiltech.com/wp-content/uploads/High-availability-wizard-virtual-machine.webp)
Hyper-V high availability virtual machine confirmation; click next.
![Hyper-V high availability VM confirmation](https://jamiltech.com/wp-content/uploads/Hyper-V-high-availability-VM-confirmation.webp)
Configuring Hyper-V virtual machines for high availability is in progress.
![Configure high availability VM Hyper-V](https://jamiltech.com/wp-content/uploads/Configure-high-availability-VM-Hyper-V.webp)
Review the high availability summary and then click Finish.
![High availability wizard summary](https://jamiltech.com/wp-content/uploads/High-availability-wizard-summary.webp)
You can see the virtual machine.
![Failover cluster manager roles](https://jamiltech.com/wp-content/uploads/Failover-cluster-manager-roles.webp)
Create Hyper-V High Availability Virtual Machine using Failover Cluster Manager
We have the storage setup and location configurations for the clustered shared volume.
Creating a highly available virtual machine. Right-click on Roles under failover cluster manager, choose Virtual Machines, and then New Virtual Machine.
![Failover cluster manager](https://jamiltech.com/wp-content/uploads/Failover-cluster-manager-3.webp)
You can select a node on which we initially need to set up the virtual machine and click next.
![High availability Hyper-V virtual machine](https://jamiltech.com/wp-content/uploads/High-availability-Hyper-V-virtual-machine.webp)
New Virtual Machine Wizard; choose next.
![New virtual machine wizard](https://jamiltech.com/wp-content/uploads/New-virtual-machine-wizard-5.webp)
Type a new virtual machine name and either leave the default storage location or go with a different one. We need to take advantage of the CSV benefits, so keep default and then click next.
![Specify name and location](https://jamiltech.com/wp-content/uploads/Specify-name-and-location-1.webp)
Choose the generation of the virtual machine, and then click Next.
![Virtual machine wizard specify generation](https://jamiltech.com/wp-content/uploads/Virtual-machine-wizard-specify-generation.webp)
Assign memory for the Hyper-V high availability virtual machine, and then choose next.
![Assign memory virtual machine](https://jamiltech.com/wp-content/uploads/Assign-memory-virtual-machine.webp)
Select the network and click next.
![Configure networking new virtual machine](https://jamiltech.com/wp-content/uploads/Configure-networking-new-virtual-machine.webp)
Connect the virtual hard disk settings, enter the disk size, and then click OK.
![Connect virtual hard disk](https://jamiltech.com/wp-content/uploads/Connect-virtual-hard-disk-1.webp)
Select how you need to install an operating system and click next.
![Virtual machine wizard installation options](https://jamiltech.com/wp-content/uploads/Virtual-machine-wizard-installation-options.webp)
Review the Hyper-V high-availability virtual machine summary and then choose the finish.
![Completing new virtual machine wizard](https://jamiltech.com/wp-content/uploads/Completing-new-virtual-machine-wizard.webp)
High availability has been successfully configured; click finish.
![Hyper-V high availability VM summary](https://jamiltech.com/wp-content/uploads/Hyper-V-high-availability-VM-summary.webp)
A virtual machine was created.
![Failover cluster manager roles](https://jamiltech.com/wp-content/uploads/Failover-cluster-manager-roles-1.webp)
If the two Hyper-V node servers are running different CPU models, then enable processor compatibility.
Turn off the virtual machine in Hyper-V Manager. Right-click on the virtual machine and choose Settings.
![Failover cluster manager roles](https://jamiltech.com/wp-content/uploads/Failover-cluster-manager-roles-.webp)
Expand Processor, and then click on the Compatibility tab. Tick the box “Migrate to a physical computer with a different processor” and then click OK.
![Hyper-V processor compatibility](https://jamiltech.com/wp-content/uploads/Hyper-V-processor-compatibility.webp)
Right-click on the virtual machine and choose properties.
![Failover cluster manager](https://jamiltech.com/wp-content/uploads/Failover-cluster-manager-4.webp)
On the General tab, select the nodes that you wish to manage this virtual machine in the event of a failure. Choose ok
![VM properties preferred owners](https://jamiltech.com/wp-content/uploads/VM-properties-preferred-owners.webp)
Read this article to find out more about creating high-availability Hyper-V virtual machines.