Changes

Jump to: navigation, search

Installing the Hyper-V Role

80 bytes added, 11:11, 7 January 2009
no edit summary
Microsoft Hyper-V is included as a standard feature of the 64-bit version Windows Server 2008 Standard, Enterprise and DataCenter Datacenter editions. In addition, Hyper-V is available in both the full and core varients of these platforms. The Hyper-V role is not, however, installed and activated by default. The objective of this chapter, therefore, is to provide an overview of the steps involved in installing the Hyper-V role on a Windows Server 2008 system.
== System Requirements ==
== Installing the Hyper-V Role from the Command Prompt ==
As previously mentioned, Hyper-V is provided bundled by default with the 64-bit version of Windows Server 2008 Standard, Enterprise and Datacenter editions. Before it can be used, however, the Hyper-V role must installed. This process is achieved using the either the Server Manager tool, or via the command-prompt. To perform the installation at the command line, open a command prompt window with elevated privileges (right click on the command prompt icon in the Start menu and select ''Run as administrator'' from the resulting menu) and enter the following command:
<pre>
</pre>
Assuming this initial stage of the hyperHyper-V installation process is successful, a reboot of the system will, as indicated by the above output, be necessary to complete the installation process.
== Installing the Hyper-V Role using Server Manager ==
For those who prefer to using the graphical desktop environment to perform when performing administrative tasks, the Hyper-V role may be installed using the ''Server Manager'' tool (''Start->Administrative Tools->Server Manager''). With Server Manager running, select ''Roles'' from the left hand panel followed by ''Add Roles'' in the main panel to invoke the ''Add Roles Wizard''. If the ''Welcome'' screen is displayed, click ''Next'' to proceed to the ''Select Server Roles'' screen as illustrated in the following figure:
Select the Hyper-V role and click ''Next'' to proceed. The next screen will provide information about Hyper-V and its associated hardware requirements. After reading this information, click ''Next'' and to display the ''Create Virtual Networks'' screen.
In order to communicate with the external networkto which the host server is connected, virtual machines need to be able to use a physical network adapter installed on the host computer system. Hyper-V controls this access by creating one or more ''virtual networks'' to which virtual machines are connected. In terms of access to the external network, there is a one to one correlation between virtual networks and physical network adapters installed into the host computer. Multiple virtual networks may not share the same physical network adapter. This stage of the Hyper-V installation process provides a list of network adapters detected on the host system and provides the option to select the devices for which virtual networks are to be created:
[[Image:hyper-v_create_virtual_networks.jpg|Selecting Network Adapters for the creation of Hyper-V virtual networks]]
 
With the required network adapters selected from the list, click on ''Next'' to display the ''Confirmation'' screen, review the configuration information displayed and click ''Install'' to initiate the installation process. Complete installation of Hyper-V requires a system reboot.
== Uninstalling the Hyper-V Role ==
If, at any point in the future , the Hyper-V role is no longer required on the server, it may be removed either from the command prompt or via the Server Manager tool. It is important to note that removal of the Hyper-V server role does not remove any virtual machines and associated virtual disks that have been configured on the server. If the virtual machines are no longer required, they should be manually deleted using the ''Hyper-V Manager'' tool prior to uninstalling Hyper-V.
To uninstall Hyper-V from a command prompt (administrator privileges are required), use the ''servermanagercmd'' as follows:
</pre>
To perform the removal using Server Manager, select ''Roles'' from the left hand panel of the Server Manager interface and click on ''Remove Roles'' to invoke the ''Remove Roles Wizard''. Delect Deselect the ''Hyper-V'' option from the list of server roles and click ''Next''. Review the information on the ''Confirmation'' screen and click ''Remove'' to perform in the removal. It is typically necessary to restart the system to complete the Hyper-V removal process.
1,798
edits

Navigation menu