Hyper-V is a hypervisor-based technology that is a key feature of Windows Server 2008, and provides a scalable, reliable, and highly available virtualization platform. It provides scalability and high performance by supporting features like guest multi-processing support and 64-bit guest and host support; reliability and security through its hypervisor architecture; flexibility and manageability by supporting features like quick migration of virtual machines from one physical host to another, and integration with System Center Virtual Machine Manager (SCVMM).
Installing the Hyper-V role on a full installation of Windows Server 2008 installs all the components of the Hyper-V technology, including the remote management tools. The tools consist of Hyper-V Manager, which is a Microsoft Management Console (MMC) snap-in, and Virtual Machine Connection, which provides you with direct access to a virtual machine through a network connection.
So, how do you get Hyper-V up and running on your server? Installation is easy, but before installing it you must make sure you meet the required prerequisites.
Hyper-V requires specific hardware. You will need the following:
While possible with most new laptop brands, when you enable the Hyper-V role on Windows Server 2008, the support for sleep/hibernate will be disabled. The reason for this is that supporting these features on a hypervisor based system is incredibly complicated – and Hyper-V is designed to run on servers – where sleep and hibernate are not used. Therefore, each time you will want to stop working with the laptop, you will need to completely shut it down.
An explanation for this behavior can be found here in Microsoft’s TechNet forums.
With a hosted VMM model (like Virtual Server or Virtual PC) the VMM driver gets to participate in power management decisions just like other system drivers do. When a request to sleep gets made it is able to react accordingly. With a hypervisor model power management is controlled by a ‘root’ operating system that is relatively unaware of the state of the hypervisor and of any virtual machines. In order to ensure that the root operating system does nothing detrimental the hypervisor needs to change some aspects of the power management features that are reported up from the hardware.
Disabling sleep is one of the things we do while doing this.
While this is awkward for laptop users, this is a server virtualization solution and supporting sleep would add a lot of complexity for a situation that 99% of our customers are not going to be interested in.
Hyper-V is a virtualization platform from Microsoft, originally available as Beta 3 on the RTM installation DVD of Windows Server 2008, but the RTM update for Hyper-V is now available for download or from Windows Update (after July 8, 2008). In order to get the Hyper-V role on Windows Server 2008 you need to install this update. The update package consists of the Hyper-V role, including the x64 version of the remote management tools, and integration services for the supported versions of the Windows operating system. With this update, you can now use Hyper-V in a production environment for supported configurations.
Description of the update for the release version of the Hyper-V technology for Windows Server 2008 – 950050
Note: The Hyper-V role update package is a permanent package. Once you install the update package, you cannot remove it.
Note: Looking at the above link, it might appear like there’s a 32-bit version of Hyper-V. That is NOT correct. The 32-bit download is just for the Hyper-V management tool and connection tool.
The download itself, around 30 MB, can be found here.
Note: You can manage Hyper-V servers from other Windows Server 2008 machines, or from Windows Vista machines. See the following link for the download paths.
Description of the Windows Vista Service Pack 1 Management Tools update for the release version of Hyper-V – 952627
The update that allows the Hyper-V role is for Windows Server 2008 x64 editions, and after installing it you will be able to enable the virtualization role through Server Manager. After the Hyper-V role is enabled, Hyper-V Manager will become available as a part of Administrative Tools. From the Hyper-V Manager you can easily create and configure virtual machines.
You must enter the BIOS setup of the server and make sure that “Virtualization Technology” and “Execute Disable” are both set to Enabled. Otherwise, even after installing the Hyper-V role, you will not be able to start using it and might get one of the following errors:
Hyper-V launch failed; Either VMX not present or not enabled in BIOS.
Hyper-V launch failed; at least one of the processors in the system does not appear to provide a virtualization platform supported by Hyper-V.
In most cases, the required BIOS settings can be found in these BIOS sections (actual names may differ, based upon your server’s BIOS settings):
Below is the step-by-step on installing Hyper-V on Windows Server 2008.
Note: Hyper-V can also be installed on Windows Server 2008 Server Core. Please read my Installing Hyper-V on Windows Server 2008 Server Core article.
All the above tasks can be accomplished by using either the Initial Configuration Tasks wizard, the Server Manager, Command Prompt tools and script.
Important note: It is very important that you understand the logic behind using virtual networks. I strongly recommend that you have at least 2 network adapters on the server, use ONE for the virtual networks, and use the SECOND for the server’s management tasks.
Now can manage Hyper-V role either from Server Manager or from the Hyper-V management console found in the Administrative tools folder. The next logical steps would be to define virtual networks, and to create and launch virtual machines. More on that, in a future article.