Virtualization is using software to emulate one or more physical components in a computer system. Be familiar with the following types of virtualization:
- Server virtualization allows multiple instances of server operating systems on a single physical computer. With server virtualization, you can migrate servers from older hardware to newer computers or add virtual servers to computers with extra/unused hardware resources.
- The physical machine is called the host operating system.
- The virtual machine is called the guest operating system. A virtual machine is also referred to as a VM.
- Network virtualization allows multiple virtual servers to communicate using networking protocols as if they were attached to a physical network.
- Storage virtualization partitions physical storage on one system for use by multiple virtual servers. You can also use virtual storage to create or imitate storage devices such as iSCSI storage units.
The Hyper-V role in Windows Server 2012 enables you to create and manage virtual machines. Be aware of the following Hyper-V details:
- Hyper-V can be installed on a full installation of Windows Server 2012 or a Server Core installation.
- When you add the Hyper-V role using Server manager, the hypervisor software and the hypervisor management tools are installed.
- It is best practice to install only the Hyper-V role on a server. You can create one or more VMs on which you can install other server roles.
- Consider installing Hyper-V on a Server Core installation to minimize resources used for the Hyper-V partition.
- When you install Hyper-V on Server Core, you must manually install the hypervisor management tools.
- The Hyper-V Manager console allows you to create a VM, import a VM, configure switches, and perform other management tasks.
Windows Server 2012 running Hyper-V has the following hardware requirements:
- A 64-bit processor that includes hardware-assisted virtualization
- A system BIOS that supports the virtualization hardware
- Hardware-enforced Data Execution Prevention (DEP)
The following table describes new or updated features available in Windows Server 2012 Hyper-V and Windows Server 2012 R2 Hyper-V:
Features | Description |
Dynamically expanding memory | Dynamically expanding memory maximizes the amount of memory a VM is allowed to use. Dynamically expanding memory allows you to:
|
Smart paging | Smart paging allows a virtual machine to restart when there is not enough available memory to restart the virtual machine.
|
Resource metering | Resource metering measures the assigned resources and the actual usage of the assigned resources on a virtual machine. Resource metering:
|
Resource control | Resource control allows you to analyze each VM’s usage of host resources. Resource control uses:
|
Integration Services | Integration Services allows the VM to interact with the host system. Integration Services provides:
|
Enhanced Session Mode | On Windows Server 2012 R2, Enhanced Session Mode allows you to redirect local resources to a virtual machine session. In Enhanced Session mode, you can redirect resources using a Remote Desktop Connection session using the virtual machine bus. This eliminates the need for a network connection. Resources you can redirect to the virtual machine include:
To enable Enhanced Session Mode, right-click the server in Hyper-V Manager, select Hyper-V Settings, and then select the Allow enhanced session mode checkbox under Enhanced Session Mode Policy.
|
Hyper-V on Windows Server 2012 R2 introduces generation 1 and generation 2 virtual machines. All legacy virtual machines running Windows Server 2012 and earlier are now referred to as generation 1 virtual machines. The following table identifies key components of generation 2 virtual machines:
Component | Description |
Supported guest operating systems | The following guest operating systems are supported on generation 2 virtual machines:
|
Hardware | Hardware support in generation 2 virtual machines include:
|
Supported features | Generation 2 virtual machines support the following features:
|
Non-supported features | The following features are not supported in generation 2 virtual machines:
|
Be aware of the following regarding generation 2 virtual machines:
- You use wizards and property sheets in Virtual Machine Manager (VMM) to specify the generation of a virtual machine.
- You can run generation 1 and generation 2 virtual machines together.
- For generation 2 virtual machines, boot order for devices is handled by the FirstBootDevice parameter with Windows PowerShell commands.
By default, the virtual hard disk is the first device to boot. If the virtual machine has more than one virtual hard disk, the disk marked Contains the operating system for the virtual machine is booted first.
- If you use a .vhd file format to create the virtual machine or the virtual machine template, the virtual machine is set up as a generation 1 machine.
You cannot change the generation of a virtual machine once the virtual machine is created.