Changes

Jump to: navigation, search
m
Text replacement - "<google>BUY_HYPERV</google>" to "<htmlet>hyperv</htmlet>"
<table border="0" cellspacing="0" width="100%">
<tr>
<td width="20%">[[Configuring Hyper-V Virtual Machines|Previous]]<td align="center">[[Hyper-V Essentials|Table of Contents]]<td width="20%" align="right">[[The Hyper-V Virtual Machine Connection Tool|Next]]</td>
<tr>
<td width="20%">Configuring Hyper-V Virtual Machines<td align="center"><td width="20%" align="right">The Hyper-V Virtual Machine Connection Tool</td>
</table>
<hr>
 
 
<htmlet>hyperv</htmlet>
 
 
In [[Creating Hyper-V Virtual Machines]] we looked at creating a Hyper-V Virtual Hard Disk (VHD) as part of the ''Create New Virtual Machine'' wizard process. Unfortunately, the ease of use of the wizard masks some powerful features of Virtual Hard Disks within Hyper-V. The purpose of this chapter, therefore, is to cover some of the more advanced features of Hyper-V virtual hard disk creation and configuration.
There are a total of five actions that can be performs performed on virtual hard disks as outlined in the following table:
<table border="1" cellpadding="5" cellspacing="0" id="E3B" style="border-collapse: collapse; border-color:#cccccc; border-style: solid; border-width: 1px; margin-bottom:20px">
== Getting Information about a Hyper-V Virtual Hard Disk ==
Information about an existing Hyper-V virtual hard disk, such as the current size, maximum size, image file location and disk type, can be obtained at any time using the Hyper-V Manager. To achieve this, right click on the virtual machine to which the disk is assigned from the list of virtual machines displayed by Hyper-V Manager and click on the ''Settings...'' option of the resulting menu. In the Settings dialog, select the required hard drive from the ''Hardware'' panel which runs down the left hand side of the dialog. This will update the main panel to relect reflect the selected disk drive. In the ''Media'' section of this panel, click on the ''Inspect'' button to invoke the ''Virtual Hard Disk Properties'' dialog as illustrated below:
== Moving Hyper-V Virtual Hard Disks between IDE and SCSI Disk Controllers ==
When a virtual hard disk is assigned to a Hyper-V virtual machine it will be attached either to an IDE or a SCSI disk controller, depending on the configuration. Sometimes the guest operating system may dictate that the virtual hard disk be connected to a disk controller of different type to the one to which it is currently connected. Fortunately, the a virtual hard disk may be moved between different disk controllers with relative ease.
For the purposes of this example, a virtual hard disk currently connected to an IDE controller will be moved to a SCSI controller. This task is performed from within the Hyper-V Manager tool. Begin by right clicking on the appropriate virtual machine from the list in the Hyper-V Manager and click on the ''Settings...'' menu option. Once the settings dialog appears check to see if a SCSI controller is already configured on the virtual machine. If no SCSI controller is currently configured, select the ''Add Hardware'' entry in the ''Hardware'' panel, select ''SCSI Controller'' from the list of available hardware devices and click on ''Add''.
Select the SCSI controller from the ''Hardware'' list, ensure that ''Hard Disk'' is selected in the ''Add Hardware'' panel and click ''Add'' to display the ''hard Hard Drive'' settings panel. Use the Browse button in the ''Media'' section of the panel to navigate to the virtual hard disk .vhd file. Once the correct .vhd file has been specified, click on the ''Apply'' button to commit the configuration change.
With the disk now assigned to a SCSI controller, all that remains is to disconnect the drive from the IDE controller. To do so, select the disk entry beneath the IDE controller in the ''Hardware'' panel and click on ''Remove'' in the main hard disk settings panel. The disk with then be disconnected from IDE controller, leaving it accessible only through the SCSI controller.
 
 
<htmlet>hyperv</htmlet>

Navigation menu