How to Enable Shared ISO Images for Hyper-V Virtual Machines in VMM
Applies To: Virtual Machine Manager 2008, Virtual Machine Manager 2008 R2, Virtual Machine Manager 2008 R2 SP1
Perform the following procedures to enable virtual machines to share ISO image files stored in the VMM library in a Hyper-V environment that is managed by System Center Virtual Machine Manager (VMM) 2008 or VMM 2008 R2.
To share the ISO images, you will perform the following tasks:
Specify an Active Directory domain account as the VMM service account on the VMM server.
Configure the required share and NTFS permissions on the VMM library share that stores the ISO image files.
Configure constrained delegation for the Hyper-V host.
Configure the virtual machine to share an ISO image file.
You must attach the shared ISO image file to the virtual machine after you create the virtual machine. You cannot attach the file during virtual machine creation.
VMM 2008 does not support shared ISO images for self-service users. Instead, VMM 2008 attaches a copy of the ISO image file to the new virtual machine. VMM 2008 R2 supports shared ISO images for self-service users.
To specify a domain account as the VMM service account
- When you install the VMM server, specify a domain account instead of the default Local System credentials as the service account for VMM. For instructions, see Installing the VMM Server (http://go.microsoft.com/fwlink/?LinkID=162988).
To configure the required share and NTFS permissions for the library share
Outside VMM, grant the following permissions to the library shares that store the ISO images. You must configure both share permissions and NTFS permissions on the folder.
Service account for the VMM Server service: Read access
Machine account for each Hyper-V host that will link to the ISO images: Read access
To allow a Hyper-V virtual machine to access an ISO file on a shared folder in a domain environment, you must configure the server running Hyper-V for constrained delegation. In this case, you must configure the computer account of the server running Hyper-V to present delegated credentials for the Common Internet File System (CIFS) service type.
To perform the following procedure, you must be a domain administrator in Active Directory Domain Services (AD DS).
To configure constrained delegation for a Hyper-V host
In Administrative Tools, open Active Directory Users and Computers, and then navigate to the machine account for the computer running Hyper-V.
If Active Directory Users and Computers is not listed, install the Active Directory Domain Services Tools feature. For instructions, see Installing Remote Server Administration Tools for AD DS (http://go.microsoft.com/fwlink/?LinkId=140463).
Right-click the computer account for the Hyper-V host, and then click Properties.
On the Delegation tab, click Select this computer for delegation to specified services only, and then click Use any authentication protocol.
To allow the Hyper-V computer account to present delegated credentials for the library servers:
In the Add Services dialog box, click Users or Computers, select each VMM library server that stores ISO image files, and then click OK.
In the Available services list, select the cifs protocol (also known as the Server Message Block (SMB) protocol) for each of the VMM library servers, and then click Add.
Use the following procedure to modify the hardware configuration of a virtual machine to enable the virtual machine to share an ISO image file that is stored in the VMM library. For information about attaching files to a virtual machine, see How to Add a DVD or CD Drive to a Virtual Machine (http://go.microsoft.com/fwlink/?LinkId=163809).
To configure a virtual machine to share an ISO image
In Virtual Machines view of the VMM Administrator Console, right-click the virtual machine, and then click Properties.
Click the Hardware Configuration tab.
In the left pane, under Bus Configuration, click IDE devices, and then select the IDE device that is being used to capture the ISO image file.
Under Capture mode, select Existing image file, and then use the Browse button to select the shared ISO image file in the VMM library that you want to use.
To share the image file from the VMM library instead of attaching a copy of the image to the virtual machine, select the Share image file instead of copying it check box.
Self-service users also can configure this option on their own virtual machines by using the VMM Self-Service Portal.