Managing virtual machines in a Windows Server Hyper-V cluster

Edit a virtual machine


From the list of roles on the Failover Cluster Manager, right-click on the 1 virtual machine and click Settings 2 .

Open parameters

A window opens displaying all the parameters that can be modified, it is here that it is possible to add hardware components such as a hard disk, network card …

list of parameters

Add a component

Depending on the generation of the virtual machine and the hardware to add, the virtual machine needs to be turned off.

To illustrate the tutorial, we will add an additional network adapter to the virtual machine.

Select Add material 1 , choose the material to add 2 and click on the button Add 3 .

We are directly positioned on the added material 1 (which is written in bold), make the setting and click on Apply to add 2 .

When the change is applied, the component passes with a “normal” write.

On Generation 2 virtual machines, it is not possible to add IDE devices and floppy disk drives.

Change the boot order

Generation 1

Go to BIOS 1 , select the device in boot order 2 and use the Up and Down buttons 3 and click on Apply 4 .

To start on the network with a computer of generation 1, it is necessary to add a material of the type Network card inherited.

Generation 2

Go to Firmware 1 , select the device in start order 2 and use the Up and Down buttons 3 and click on Apply 4 .

Change memory – RAM

Go to Memory 1 and change the assigned RAM value 2 then click Apply 3 .

In the case of using dynamic memory, it is possible to configure the minimum and maximum memory attributable to the virtual machine.

Change the number of processors

Select Processor 1 , change the number of virtual CPUs 2 and click Apply 3 .

It is recommended not to exceed the number of logical CPUs, too many virtual processors cause queues and may slow down overall performance.

In a large number of cases, 2 virtual processors are sufficient for Windows.

Add a virtual hard disk

Go to the SCSI or IDE Controller 1 depending on the generation, select Hard Disk 2 and click on Add 3 .

On Generation 1 virtual machines, which use an IDE controller, you can not put more than two virtual hard disks. Except special case, I advise you when you want to add an additional hard disk to put it on the SCSI controller. Only the disk where the operating system is installed must be on an IDE controller.

Click New 1 to launch the Create Hard Disk Wizard.

Add disk

When launching the wizard, click Next 1 .

Assistant création VHD

Select disk type 1 and click Next 2 .

Choisir un type de disque

Dynamic disk usage requires physical storage monitoring to not allocate more virtual space than physical space.

Leave 10 to 20% available space on physical storage for snapshot storage (used by backup software) and RAM files.

Name the disk 1 and indicate the location 2 that must be on a shared storage in the cluster and click Next 3 .

Nom et emplacement

Indicate the size of the disc 1 and click Next 2 .

Taille du disque

Click Finish 1 to create the disc.

Confirmer la création

Avoiding the creation of large fixed disk during heavy demand periods of the SI, the process will create a blank disk of the defined size which will impact the performance of the physical storage.

Click Apply 1 to validate the attachment of the disk to the virtual machine.

Add a CD player – ISO file

Go to SCSI Control or IDE 1 depending on generation, select DVD Player 2 and click on Add 3 .


Select Image File 1 and click Browse 2 .

Choose the ISO file 1 to present and click on Open 2 .

Click on Apply 1 to add the DVD player.

Configure a VLAN on the network adapter of the virtual machine

Go to the network card 1 where the VLAN is to be defined, check the box “Enable virtual LAN identification” 2 and indicate 3 . Finally click on Apply 4 .

To work, the switch (s) where the hypervisor network cards are connected must have the tagged ports on the VLAN.

Disable synchronization of the date / time of the host

In an Active Directory environment, it is advisable to disable time synchronization between the host and the virtual machine because it is given by the PDC.

Go to Integration Service 1 , uncheck “Date / Time Synchronization” 2 and then click Apply 3 .

Starting the virtual machine automatically

Go to Autostart action 1 , choose Always start this virtual machine automatically 2 then click on Apply 3 .

It is possible to configure a startup delay, it is generally used to order the startup of the virtual machines as first start the database servers and then the application servers.

Action in case of automatic shutdown

On a Hyper-V host alone, this is the action performed when the physical computer is shut down, as part of a cluster it is the action that will be performed in case of stopping the last host or a stop without emptying roles.

Go to Automatic Shutdown Action 1 , select an action 2 and click Apply 3 .