📜 ⬆️ ⬇️

New features of Hyper-V 2012 R2

Good afternoon, dear colleagues and enthusiasts!

For a long time I did not write to Habr, there was somehow a lot of work, everyone didn’t get around, and there wasn’t really any reason.
But time does not stand still, as well as our grocery cycle (smile).
Summer is in the yard, preview versions of our Windows Server 2012 R2 and System Center 2012 R2 are released.
So now we have enough for the near future for interesting articles and stories.
I draw your attention to the fact that the preview and Windows Server and System Center come out simultaneously, which is planned for the final RTM versions of these products - which means, at last (even I personally enjoy this very much), the rulers are synchronized with each other, which eliminates a lot of embarrassments that arose earlier.


')
Today, I would like to draw attention and talk (or rather, tell) about innovations in the area of ​​our hypervisor, Hyper-V, which is already ending up to version 2012 R2.



And what version of your VM? ..



Probably one of the main innovations is the emergence of 2nd-generation virtual machines , or a 2-nd generation VM .
But what is new in the emergence of a new generation of VM, what is the salt?

First, the 2nd generation VMs are completely free from virtual iron junk, which are all sorts of COM ports, virtual keyboard and mouse drivers, in the virtual machine settings. A virtual IDE controller can also be attributed to archaisms - which automatically means the emergence of the ability to boot from virtual SCSI disks , since SCSI controller is now the only one.



Figure 1. Properties of the second-generation virtual machine and VM creation wizard.

It is worth noting that only WS2012 and Windows 8 are suitable as guest OSs for VMs of the 2nd generation. Also, you can automatically activate the guest server OS, Windows Server - without connection, without a KMS server, all you need is an activated host OS Windows Server 2012 R2 Datacenter.

Also, second-generation virtual machines are spared from the good old BIOS ...
Now he has come to replace UEFI , with all the consequences - a secure boot of Secure Boot , boot from synthetic network adapters (Legacy is all gone forever).



Figure 2. Virtual UEFI firmware download properties.

In terms of performance, these changes (and not only they) entail a faster installation of the OS inside the VM (50% faster) and faster startup of the VM (20% increase in speed).

Also worth noting is the fact of changing the network virtualization settings on hosts with WS2012 R2.
If earlier, on Windows Server 2012, it was required to get into the properties of a network adapter or network unit to include a special driver, now this function has automatically moved to the Virtual Switch.



Figure 3. Comparison of network virtualization settings for WS 2012 (left) and WS 2012 R2 (right).

Housing problem or moving virtual machines



Changes in Hyper-V 2012 R2 also apply to the relocation, or rather the migration of virtual machines.
Good news for those. who immediately thought about migrating the VM from the existing WS2012 to WS2012 R2.
Live migration is supported without shared storage from the old version of the server to the new one, but not vice versa.
Hosts can be fearlessly upgraded to live, with Vmkami, even if they have pictures and Saved States.
Also, simple data migration was added by the mechanisms of data compression during transmission, which naturally leads to a decrease in the amount of data transferred, and consequently to a reduction in the migration time.
Also, RDMA and multichannel SMB (SMB-Multichannel) mechanisms serve as a catalyst for the relocation process.
It also became possible to export snapshots of virtual machines to separate VMs with a certain status, state.



Figure 4. Export VM from snapshot.

It is also worth adding that the ability to export the VM as a whole, along with the state of the memory, was added to the export tokens. Even in the case when the VM is turned on, which leads to the idea of ​​the possibility of creating clones of working VMs - which is absolutely true, you can do it now too!

When is a penguin cold? ..



as for the penguin, I doubt that it can be very cold - it is, in general, created by nature in order to live in the cold. As for the support of the “penguin category” OS, a pack of innovations also appeared here:

1) Since in 2012 R2 you can change the size of a working VHDX disk without stopping the VM, this is true not only for Windows, but also on the linux VM.
2) There is full support for dynamic memory for VMs with Linux guest OS.
3) Improved video driver for the Linux kernel.
4) Support for backup VMs from Linux for profit, including during the migration of VMs.

Cluster guest cluster home ... Cluster backup



If we recall the changes relating to virtual disks, there is an important innovation:
There was an opportunity to create shared virtual hard disks (though on a physically shared storage) —that lets talk about creating guest virtual clusters, but from the point of view of SC VMM 2012 R2 create clusters of service templates! This is the power of automation and the power of the cloud! And, of course, WS 2012 R2 ...

Well, if we are talking about a cluster, here, of course, the performance of the disk subsystem plays a very important role.
Here we have the opportunity to create levels, performance ranges of the disk subsystem. Also, the system has sufficient intelligence to determine the type of drive, whether it is SATA, SAS or SSD.

And finally, improvements in the replication of virtual machines.
For the first time this mechanism appeared in WS 2012, and it was intended, as you might guess, to solve disaster-resistant or backup scenarios using a backup data center.
In WS2012 R2, this mechanism has evolved and now we have the opportunity to:

1) Set the VM replication interval between the primary host and the backup — the intervals can be 30 seconds, 5 minutes, and 15 minutes.
2) The possibility of multi-step replication, i.e. set up VM replication from host A to host B, and from host B to host C.

Happy end? .. Happy beginning!



Well, today we met with the innovations that appeared in Hyper-V Server 2012 R2, in WS 2012 R2 in the field of virtualization.
I hope you have been useful and interested in reading the list of new products, they are of interest to you. You can always download the evaluation version of the preliminary release of Windows Server 2012 R2 from our website in order to independently verify how the new functions of our server OS work.

Respectfully,
Fireman

George A. Gadzhiev

Information Infrastructure Expert
Microsoft Corporation

Source: https://habr.com/ru/post/188632/


All Articles