Book Image

Windows Server 2012 Hyper-V Cookbook

By : Leandro Eduardo S Carvalho, Leandro Carvalho
Book Image

Windows Server 2012 Hyper-V Cookbook

By: Leandro Eduardo S Carvalho, Leandro Carvalho

Overview of this book

Virtualization has proved that it can help organizations to reduce costs, and the Private Cloud has created a revolution in the way we manage and control our servers with centralization and elasticity. The new Windows Server 2012 Hyper-V release from Microsoft comes with a myriad of improvements in areas such as mobility, high availability and elasticity, bringing everything you need to create, manage and build the core components of a Microsoft Private Cloud for virtualized workloads."Windows Server 2012 Hyper-V Cookbook" is the perfect accompaniment for Hyper-V administrators looking to take advantage of all the exciting new features the release has to offer. Through practical recipes, you'll master Hyper-V deployment, migration and management. "Windows Server 2012 Hyper-V Cookbook" is an essential resource for any Hyper-V administrator looking to migrate, install and manage their virtual machine efficiently. With all the features of Windows Server 2012 Hyper-V covered, you will learn everything from installation to disaster recovery, security, high availability, configuration, automation, architecture and monitoring, all in a practical recipe format. The book also includes new features such as Storage and Shared Nothing Live Migration, Hyper-V Replica and Network Virtualization and much more.With "Windows Server 2012 Hyper-V Cookbook" in hand, you'll be equipped to manage your Private Cloud with ease.
Table of Contents (18 chapters)
Windows Server 2012 Hyper-V Cookbook
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

Verifying Hyper-V requirements


In order to install Hyper-V, you should make sure your server supports it by verifying the prerequisites. Failing with the Hyper-V requirements will result in an error while you install it.

Neither Windows nor Hyper-V offers a tool to verify the prerequisites, but the processor companies created tools such as AMD-V System Compatibility Check and INTEL Processor Identification Utility.

You will see in this recipe how to use them and also how to use the Coreinfo tool to facilitate the process.

Getting ready

To verify the prerequisites of your processor, you must download the Intel Processor Identification Utility. You can download it from the following link: http://downloadcenter.intel.com/Detail_Desc.aspx?ProductID=1881&DwnldID=7838&lang=eng&iid=dc_rss.

Based on the server processor, you can also download the AMD Virtualization Technology and Microsoft Hyper-V System Compatibility Check Utility from the following link: http://support.amd.com/us/Pages/dynamicDetails.aspx?ListID=c5cd2c08-1432-4756-aafa-4d9dc646342f&ItemID=177&lang=us.

To identify the processor brand, open the Directx Diagnostic Tool (dxdiag) and check the processor information.

You also need to download the Coreinfo tool at http://technet.microsoft.com/en-us/sysinternals/cc835722 to verify advanced processor support such as Second-Level Address Translation (SLAT) to install Hyper-V in Windows 8.

How to do it...

In the following steps, you will see how to verify if your computer meets the requirements to install Hyper-V on Windows Server 2012 and Windows 8.

  1. After downloading and installing the necessary tools as explained in the Getting ready section, install the utility based on your processor.

  2. For AMD processors, the AMD-V System Compatibility Check provides the results for AMD processors, if it supports Hyper-V, as shown in the following screenshot:

  3. If you have an Intel processor, after the Intel Processor Identification Utility install, you will see three tabs once you run it.

  4. Select the first tab named Frequency Test to show the highest frequency and speed that your processor can handle.

  5. Select the second tab named CPU Technologies and check the results for the technologies supported by the processor model such as Virtualization technology, Hyper-Threading and other technologies.

  6. Then, select the CPUI Data tab to see information such as the Processor type, Family model, Cache sizes, and Data Execution Prevention (Execute Disable Bit).

  7. For Intel processors, the result will be similar to the one shown in the following screenshot:

  8. To verify whether the processor supports Second-Level Address Translation (SLAT) or not, use the free tool called Coreinfo.

  9. After its download, copy it to the chosen directory, then access it through the command prompt and run the command coreinfo –v.

  10. In the following screenshot, you can see an example of a computer running with an AMD processor, the SLAT support, the Hypervisor support, and it shows that the Hypervisor is not installed.

  11. With these steps, you have identified whether the computer you want to install Hyper-V on has all its prerequisites.

How it works...

The mentioned tools simply verify the processor properties to show if it has the necessary features to install Hyper-V. One of these features is the Hardware-assisted virtualization. This functionality allows Hyper-V to run under privileged access through a special layer in the processor. In some cases, this feature must be enabled through the Basic Input-Output System (BIOS).

These three tools also check whether the Data Execution Prevention (DEP) is present. Intel calls this feature Intel XD bit (Execute Disable Bit), and for AMD it is AMD NX bit (no execute bit). This feature must be also enabled through the BIOS.

There is a particular prerequisite called Second Level Address Translation (SLAT) that is shown only by the Coreinfo tool. SLAT is the only requirement that is optional for Windows Server, but necessary for Windows 8 installations. It provides better performance by reducing the CPU time and improving the memory usage in virtual environments. The-v switch used by Coreinfo shows whether the Hypervisor is enabled, whether it supports virtualization, and whether your processor supports SLAT. For the last one you will see an asterisk (*) at Intel Nested Page (NP) tables on the AMD processor and Extended Page Tables (EPT) for Intel processors.

Coreinfo and both AMD and Intel utilities extract details about the processor information provided by the BIOS. Sometimes for security reasons these features can be enabled manually. It is also common in some cases for it to be necessary to update the BIOS in order to manage these features.

See also