Windows Server 2012 R2 - New and Changed Functionality
Shared Virtual Hard Disk
Hyper-V in Windows Server 2012 R2 enables virtual machines to share VHDX files.
This feature allows us to more easily build cluster virtual machines. Shared virtual hard disks allow multiple virtual machines to access the same VHDX file, which is a convenient way to provide shared storage for Windows Failover Clustering. the shared VHDX files can be hosted on highly available CSVs or SMB based Scale-Out File Server file shares.
Generation 1 and 2 virtual machines are supported in a guest failover cluster which uses a shared virtual hard disk.
Resize virtual hard disk
Hyper-V storage now supports resizing of virtual hard disks while the virtual machine is running.
Resizing virtual hard disks while the virtual machine is running allows administrators to perform configuration and maintenance on virtual hard disks when the virtual machine the virtual hard disk is attached to is online and/or the virtual hard disk is in use.
Online virtual hard disk resizing is only available for VHDX files which are attached to a SCSI controller. VHDX files that are attached to an IDE controller are not supported for resizing.
When expanding a virtual hard disk while it is online functionality is very similar to performing an offline expansion. After expanding the virtual hard disk it is necessary to log on to the virtual machine and expand the volume within the virtual machine to make use of the additional space on the virtual hard disk. In Windows this can be done through Disk Manager.
Similarly when shrinking a virtual hard disk the amount it can be shrunk is limited by the size of the volume currently in use on the virtual hard disk inside the virtual machine. The Hyper-V Manager user interface shows the minimum disk size available for shrinking a virtual hard disk.
Storage Quality of Service
Storage Quality of Service (QoS) enables the administrator to manager storage throughput for virtual hard disks which are accessed by their virtual machines.
This feature allows the administrator to specify the maximum and minimum I/O loads in terms of I/O operations per second (IOPS) for each virtual hard disk in their virtual machines. Storage QoS allows the administrator to ensure that storage throughput of one virtual hard disk does not impact the performance of another virtual hard disk on the same host.
Storage QoS is not available for shared virtual hard disks.
Hyper-V live migration has been updated with improved performance and the ability to perform cross-version live migrations.
Performance options which are now available include:
- TCP/IP - The memory of the virtual machine is copied to the destination server over a TCP/IP connection. This is the method which was used in Hyper-V in Windows Server 2012.
- Compression - The memory content of the virtual machine which is being migrated is compressed and then copied to the destination server over a TCP/IP connection. This is the default setting in Hyper-V in Windows Server 2012 R2.
- SMB 3.0 protocol - The memory content of the virtual machine is copied to the destination server over a SMB 3.0 connection. This means SMB Direct and SMB Multichannel can be made use of to increase performance if they have been configured on the servers.
Cross-version live migrations allow virtual machines to be migrated from Windows Server 2012 and Windows Server 2012 R2. This allows upgrading to a new version of Windows Server on Hyper-V hosts without a downtime on virtual machines.
Virtual Machine Generations
Hyper-V in Windows Server 2012 R2 includes support for a second virtual machine generation.
Generation 1 virtual machines provide the same virtual hardware to the virtual machine as in previous versions of Hyper-V
Generation 2 virtual machines provide the following new functionality:
- Secure Boot (enabled by default)
- Boot from a SCSI attached virtual hard disk
- Boot from a SCSI attached virtual DVD
- PXE boot by using a standard network adapter (previously required a legacy network adapter)
- UEFI firmware support
Generation 2 virtual machines support a limited number of guest operating systems including:
- Windows Server 2012
- Windows Server 2012 R2
- 64-bit versions of Windows 8
- 64-bit versions of Windows 8.1
Integration Services have been updated to allow Hyper-V administrators to copy file to a virtual machine while the virtual machine is running without using a network connection.
Hyper-V now supports exporting a virtual machine or virtual machine checkpoint while the virtual machine is running. It is no longer necessary to shut down a virtual machine before an export operation.
Failover Clustering and Hyper-V
Hyper-V is now able to detect physical storage failures on storage devices not managed by Windows Failover Clustering such as SMB 3.0 file shares. Storage failure detection can detect the failure of a virtual machine boot disk or data disk associated with a virtual machine and Windows Failover Clustering will ensure that the virtual machine is relocated and restarted on another node in the cluster.
Enhanced Session Mode
Virtual Machine Connection in Hyper-V allows redirectoin of local resources in a Virtual Machine Connection session.
This feature enhances the interactive session for Hyper-V administrators connecting to their virtual machines. It provides similar functionality to a remote desktop connection to the virtual machine but does not require a network path to the virtual machine.
The follow local resources can be redirect when using Virtual Machine Connection:
- Display configuration
- Smart cards
- USB devices
- Supported Plug and Play devices
Only Windows Server 2012 R2 and Windows 8.1 support enhanced session mode connections.
Hyper-V Replica adds two new features to Hyper-V.
You can configure extended replication. With extended replication the replica server forwards information about changes in the primary virtual machine to a third server (the extended replica server). After a failover from the primary server to the replica server the extended replica server provides an additional level of business continuity protection.
The frequency of replication is now configurable and an administrator is now able to access recovery points for 24 hours. Previous versions allowed access to recovery points for 15 hours.
Linux virtual machines can now be backed up in the same manner as virtual machines running Windows. Supported Linux operating systems with updated integration services components appear in the list of available virtual machines when backing up a server running Hyper-V.
Dynamic Memory support is now available for Linux guest operating systems. Any supported Linux operating systems with updated integration services components are now able to take advantage of Dynamic Memory the same way virtual machines running Windows are.
An administrator can manage Hyper-V in Windows Server 2012 from a computer running Windows Server 2012 R2. In previous releases it was not possible to connect to and manage down-level versions of Hyper-V.
Automatic Virtual Machine Activation
This feature allows an administrator to install virtual machines on a computer Windows Server 2012 R2 is properly activated without having to manage product keys for each individual virtual machine. Automatic Virtual Machine Activation (AVMA) binds the virtual machine activation to the licensed virtualization server and activates the virtual machine when it starts. AVMA also provides real-time reporting on usage as well as historical data on the license state of virtual machines.
SCVMM 2012 R2
Site-to-site network connections using private IP addresses:
- Support for setting guest IP address configuration through VMM as well as support for dynamic IP addresses to enable guest clusters.
- Site-to-site NVGRE gateway support. This enables virtualized network hosters to achieve higher capacity and better reliability. It also offers options for the tenants on the networks using all Microsoft software.
- Cisco NVGRE (network virtualization using generic routing encapsulation) allows the VMM provider API to be more flexible to address a variety of network services as well as simplify the user experience. Network services such as load balancers, for example, are able to function as network virtualization gateways. Additionally, switch extensions have access to network virtualization policy to determine the owner of packets being sent.
- IP Address Management (IPAM) integration
- Top of rack switch integration
- Forwarding extensions for Hyper-V extensible switch work with Hyper-V network virtualization (Cisco 1KV and NVGRE)
Virtual Machines and Cloud
Optimized support for differencing disks to improve performance of virtual machine provisioning. They also reduce storage capacity requirements by allowing a large percentage of disk data to be shared among multiple virtual hard disks.
Live cloning of virtual machines allows for cloning of virtual machines without downtime.
Online VHDX resizing is included in SCVMM 2012 R2 to support the new Hyper-V VHDX resizing feature.
Dynamic memory support has been enhanced to allow settings to be applied to a running or paused virtual machine.
Administrators can now customize the scope of permitted activities users are allowed to perform on a per cloud basis.
Support for file-based virtual machine customization allows the injection of a file into a specified path in the virtual machine drive or file path prior to the first boot.
The ability to leverage the new Hyper-V file transfer API in Windows Server 2012 R2 which allows the transfer of files from the host to a guest even when the virtual machine does not have a connection to a network with access to the VMM library server.
The ability to create Windows and Linux based virtual machines and multi-VM services from templates has been added.
Faster live migration and support for live migration of Windows Server 2012 R2 host operating systems has been added.
Support for management and automated provisioning of fibre channel fabrics for virtual machines has been added.
Management of zones has been added.
Enhanced support for Offloaded Data Transfer (ODX) for high availability scenarios is included.
SCVMM 2012 R2 has support for shared VHDX for guest clustering.
The ability to provision scale-out file server clusters from bare metal is available in SCVMM 2012 R2.
Integration and management of storage spaces offers greater ability to manage the storage infrastructure used in the virtualization environment.
Support has been added to allow for deploying VMM in System Center 2012 SP1 services to XenServer Hosts.
The ability to allow the script that runs on a the first deployed virtual machine to be different than the script that runs on other virtual machines in that tier is included.
It is now possible for an auto-task resume to occur after a virtual machine failover.
There is an expanded computer scope for VMM update management.
Management packs have been updated with new metrics which are based on allocation and utilization.
Support for Windows Server 2012 R2 and Windows 8.1 in various roles such as VMM management server, VMM library server and Hyper-V host have been added.
Enhancements to replication and recovery have been added.
Direct links to missing prerequisites have been added to the setup wizard.
It is clear there have been many significant enhancements to Microsoft's Private Cloud offering with the updates included in Windows Server 2012 R2 and System Center 2012 R2 Virtual Machine Manager. The increasing number of features in the latest software versions from Microsoft continue to position their solution as a top choice for deploying a private cloud.