📜 ⬆️ ⬇️

What's new in Hyper-V for Windows Server 2016

In the version of Hyper-V on Windows Server 2012 R2, a sufficient amount of functionality has already been implemented, so this review may seem to someone as an “old song in a new way” - but for those who, for example, work with another platform of the hypervisor and are thinking about transition to Hyper-V, it's time to look at the new product.
So, let's see what was presented to the general public today (do not forget that Technical Preview # 4 is being considered in this post, and there may be changes and additions to the release).




Powershell direct


Among the variety of new features I want to highlight PowerShell Direct. To connect to a virtual machine for remote management, you do not need access to the guest OS over the network. To connect to the machine on the host, you need to run the cmdlet
Enter-PSSession -VMName VMName
and provide data for authorization in the guest OS.
To run the various commands that will be executed on the virtual machine, use the cmdlet
Invoke-Command -VMName VMName -ScriptBlock {commands}
To use PowerShell Direct, you'll need:

')


Version and format of the virtual machine configuration


With the new hypervisor, you should expect a new version of the configuration. In Windows Server 2012 R2, configuration version 5 is used, but already in Windows Server 2016 Technical Preview # 3 was version 6.2, and in Technical Preview # 4 - version 7.
Compared to previous versions, there was a change that will be interesting first of all to the experts who are designing migration scenarios: if you move or import a virtual machine from a host from Windows Server 2012 R2 to a host from Windows Server 2016, the configuration version will not change (version 5 will remain ). This means the following:

To switch to a new version of the configuration, you can use the cmdlet
Update-VmConfigurationVersion vmname
or
Update-VmConfigurationVersion vmobject
The new version of the OS has changed the format of the configuration file. If earlier you could open it and read it without using special tools, now it is a binary file with the VMCX extension. Changing the format of the configuration file is done to improve performance and avoid the risk of data loss.



Phased transition to the new version of the cluster Hyper-V


To implement a gradual transition to a new platform, you can use the Rolling Hyper-V Cluster Upgrade feature, which involves adding nodes running Windows Server 2016 to a cluster of nodes running Windows Server 2012 R2. The virtual machine configuration version for such a cluster will not change (version 5 will remain). To upgrade to the new version of the configuration, you need to upgrade all the nodes of the cluster to Windows Server 2016.

Integration services


The developers have taken care to simplify the process of finding and installing OS updates of virtual machines. In Windows Server 2016, the update will be implemented using Windows Update, which will reduce the number of virtual machines with obsolete components. This will also provide the ability to further control the upgrade process.

New Hyper-V Controller


Now, Hyper-V Manager is not popular among system administrators, since it was originally designed to manage individual Hyper-V hosts.
Now you can manage earlier versions of Hyper-V (starting with versions of Windows Server 2012 and Windows 8) from the new Hyper-V console and use alternate credentials. The updated WS-MAN protocol will allow the use of authentication using the CredSSP, Kerberos or NTLM protocols and simplify the configuration of the host for remote management, since the connection will be made via port 80, which is usually open by default.
You may still need additional controls, such as SCVMM or 5nine, but the improvements made for the Hyper-V controller are good news.

Linux secure boot


In Windows Server 2016, UEFI Secure Boot (Secure Boot) with Linux Ubuntu 14.04 and Suse Linux Enterprise Server 12 for second-generation virtual machines will be possible. We hope this list will be replenished with other versions of Linux.

Hot add memory and network adapters


With regard to the possibilities of working with memory and network adapters, then in the new version without the need to turn off the machines you can do the following:




New technology to create snapshots


Microsoft has significantly reworked the backup mechanisms available in Hyper-V 2016. In Windows Server 2016, there will be two approaches to creating virtual machine snapshots:

The second approach will be the “default” approach and will be designed for use in productive networks, while the first approach is recommended for use in debugging and testing, including testing of OS updates before installing them.



Nano server


Although the Nano Server is not technically part of Hyper-V, I can't ignore it. Nano Server is a server component with no GUI and no local logon capability — for access, you need to use PowerShell, WMI, or other tools to manage a remote server (Windows Remote Management, Emergency Management Services). We can say that it turned out a very small (Nano) edition of the server, with a small set of essential components, which is very quickly installed and loaded, requiring a minimum of patches and reboots. The main purpose of this product, according to the manufacturer , will be support for computing clusters from Hyper-V systems, as well as DevOps tasks.
You can deploy such a server on both physical and virtual machines. You can install a specially designed package for the Hyper-V role (supporting clustering, among other things) on the Nano Server, so using it to create a Hyper-V infrastructure is realistic.
Perhaps, at first, working with the Nano Server will seem unusual to someone, but later you will undoubtedly discover its advantages. I hope that Server Manager and PowerShell, as well as MMC consoles (Cluster Manager, Hyper-V Manager, etc.) and 5nine Manager will help you with this.
In addition to the mentioned package for the Hyper-V and Clustering role, Technical Preview # 4 includes other packages that implement server roles: DNS, IIS and MPIO. I think that by the release of them will be even more, and perhaps in the future someone's dream of deploying the entire infrastructure (including the file server, AD, DNS, DHCP and Hyper-V) based on the Nano Server will come true.



I can also recommend:

Nested Virtualization


Many of us dreamed about this for quite a long time - and today, finally, we can implement this idea using Windows 10 and Hyper-V. Microsoft is actively working to ensure that “nested virtualization” consumes the minimum possible amount of resources and, thus, could be used not only in a test or demo environment, but also, if necessary, in production.



Shielded virtual machines


This feature will please those who would like the system or Hyper-V administrator to leave his machines and the data on them alone. This feature is implemented for the second generation VM and provides for the inclusion of encryption of VM disks. It is assumed that the protected virtual machines will also be in demand when working with a public cloud.

ReFS file system enhancements


It is expected that using ReFS as a file system will significantly reduce the time it takes to create virtual machines (compared to creating a VHD / VHDX disk). And if you use virtual machine disk snapshots when backing up (as most manufacturers do when backing up the entire machine), then you will surely appreciate that:

Discrete Device Assignment


This feature appeared in Technical Preview # 4. It allows you to "prokinut" some devices that are connected to hosts via PCI Express, in the guest OS of the virtual machine. To some extent, this resembles “transparent” (pass-through) disks. A brief overview of this feature can be found in a blog article on TechNet . In particular, support was announced for Non-Volatile Memory Express (NVMe) devices and graphics processors (GPUs) (together with their manufacturers, the list of which has not yet been officially announced). However, those who expected the support of transparent USB devices to be implemented will have to wait.

Hyper-V containers


As you know, Microsoft is working to realize the use of containers on its platform - so, in Technical Preview # 4, Windows Server Containers and Hyper-V Containers containers are supported. Therefore, if you have a need to work with them, you can start testing. More information about containerization from Microsoft can be found, for example, in
this Microsoft blog article on Habré .

Instead of conclusion


In this post, I stopped at only a small part of the list of new Windows Server 2016 related to Hyper-V. But there is also a lot of new developments in terms of data storage systems and network infrastructure, which will be a great help in creating a virtual environment: storage resiliency (Storage Resiliency), replica storage (Storage Replica), quality of service for storage (Storage QoS), fault tolerance cluster virtual machines (VM Cluster Resiliency), enhanced deduplication (Enhanced Deduplication), improved RDMA, and much more.

In addition to the links to resources already provided, I can also recommend:

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


All Articles