As you can see, we have 4 virtual machines on our Hyper-V server, but only one is part of our cluster.
The other 3 virtual machines are hosted locally on this Hyper-V server and they don't benefit from the high availability offered by our cluster.
However, to add them to the cluster, it's also necessary that their storage (configuration files, virtual hard disks, snapshots, ...) be accessible from any node of the cluster.
However, these are currently stored on the local hard drive of our Hyper-V server.
To get started, select the virtual machine that you want to add to your cluster and click Settings.
As you can see, this computer is stored locally on our Hyper-V server.
To solve this problem, we will first have to move their storage to the shared volume of our cluster.
To do this, right-click on the virtual machine you want to move the storage and click Move.
Select : Move the virtual machine's storage.
Indeed, in this case, we only want to move the storage of this virtual machine and not its execution.
Select : Move all of the virtual machine's data to a single location.
Select your cluster shared volume or one of its subfolders.
In our case, we selected this folder "C:\ClusterStorage\volume1".
A summary is displayed.
Wait while moving the storage of this virtual machine.
As you can see in the Hyper-V Manager, moving the storage is in progress.
Once the move is complete, the status will disappear.
If you go into the settings of this virtual machine, you will see that its virtual hard disk has also been moved to the shared volume of your cluster "C:\ClusterStorage\volume1\Virtual Hard Disks\...".
Now that the virtual machine is stored on the shared volume of your cluster, you must add it to your cluster for automatic failover.
For the moment, your cluster is not aware of this virtual machine and the high availability of this virtual machine is not yet available.
Previously, to create a virtual machine in our cluster, we went through the "Roles -> Virtual Machines -> New Virtual Machine" menu.
However, since our virtual machine already exists on our Hyper-V server and we only want to add it to the cluster, we will not be able to use this option.
In this case, you will need to right-click Roles, and then click : Configure Role.
The High Availability Wizard appears.
Select : Virtual Machine.
The list of virtual machines of your Hyper-V servers that are not yet in your cluster appears.
Nevertheless, note that we can only add our "Win 7 x64" virtual machine for the moment, because it's the only one that is currently stored on the shared volume of our cluster.
So we check the "Win 7 x64" box.
The wizard configures high availability for the previously selected virtual machine.
A summary is displayed.
Our virtual machine that was hosted locally on our Hyper-V server is now part of our cluster.
If you go back to the Hyper-V Manager of your Hyper-V server, you will see that this virtual machine is now clustered.
® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.