What are Generation 2 VMs in Hyper-V 2012 R2, and why are they important?
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
One of the big changes that Microsoft is making in the forthcoming Windows Server Hyper-V 2012 R2 is a feature known as Generation 2 virtual machines. Generation 2 VMs are an attempt to modernize the virtual machine structure, which has remained relatively unchanged since Windows Server 2008.
Generation 2 VMs will be able to run more efficiently than first generation VMs because they are hypervisor aware and do not rely on synthetic or emulated hardware.
As you can imagine, with this modernization comes a lot of changes and many of the changes will directly impact storage admins.
Probably the biggest change affecting storage admins is that when you create a Generation 2 virtual machine, Hyper-V 2012 R2 uses virtual SCSI disks by default. Previous versions of Windows used virtual IDE disks instead. This means that Generation 2 VMs are not subject to the limits of IDE. It therefore becomes easier to create and attach multiple virtual hard disks to a virtual machine. Doing so was possible in some of the previous versions of Hyper-V, but the virtual SCSI controller was not created by default as it is now.
The move away from IDE also means that Generation 2 VMs will not be able to access physical DVD drives. It is possible, however, to create a virtual SCSI DVD drive. A virtual SCSI DVD drive appears to the guest operating system as a DVD drive but is actually linked to an ISO file rather than to a physical DVD drive.
Another big change with Hyper-V 2012 R2 is that you can boot a Generation 2 VM from a virtual SCSI controller. Previous versions of Hyper-V only supported booting from virtual IDE devices. Of course, since Generation 2 VMs do not support the use of virtualized IDE devices, booting from them is not even an option.
Incidentally, Microsoft has also made it possible to perform a Preboot Execution Environment (PXE) boot from a standard network adapter. Previously, if you wanted to perform a PXE boot, you had to create a legacy synthetic virtual network adapter. This is no longer a requirement for Generation 2 VMs.
One last thing to know about Generation 2 VMs is that they can only host 64-bit editions of Windows Server 2012 R2 or Windows 8.1. These VMs cannot be live migrated to a Windows Server 2012 host, and there is no way to change a VM's generation once you have created the VM.
Dig Deeper on Microsoft Hyper-V management
Brien Posey asks:
What do you think of Generation 2 VMs?
2 ResponsesJoin the Discussion
Related Q&A from Brien Posey
You don't always need users' passwords to fix problems with Windows desktops. If the computer is domain-joined, you can use any account.continue reading
While it may seem that you should never switch off the deduplication process, there are two instances where that may be the best solution for your ...continue reading
When traditional storage hardware can't handle virtualized workloads, VM-aware storage can be used as an alternative. But could VMware VVOLs solve ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.