Tuesday, August 25, 2009

Sharing an ISO Image using Hyper-V and SCVMM R2

By:Rick Rohne

By Default, SCVMM copies an ISO from the Library share to the directory of the VM. This is desired behavior for the most part because it eliminates VM failures if the ISO directory becomes un-available, and it also reduces network bandwidth and Disk I/O during the use of the CDROM.

In some cases (Such as a lab environment or a situation where you are limited on storage), this might be un-desirable behavior and you might wish to have the ISO shared instead of copied. To accomplish this, you will have to reconfigure SCVMM and Hyper-V to have access to the shared directories. The following steps are required to share the ISO instead of copying it:
  1. Configure the SCVMM service to start with an Active Directory Account
  2. Configure the required NTFS permissions on the VMM library share
  3. Configure Constrained Delegation for “Each” Hyper-V host
  4. Configure the VM to Share instead of Copy the iso.

    NOTE: This is only supported with SCVMM R2.
Configure a SCVMM Service Account

  1. Open Computer Management or Server manager and find the Virtual Machine Manager service.
  2. Change the service to start using a Domain User Account
Configure NTFS Permissions on the Library Share

Grant the following permissions to the share:
  • Read Access for the SCVMM Service Account
  • Machine Account of each Hyper-V host that will use the ISO images
Configure Constrained Delegation for “Each” Hyper-V host

  1. Using Active Directory Users and Computers, navigate to the Machine Account running Hyper-V
  2. Right click the Hyper-V server and select properties
  3. Select the Delegation tab and select “Select this computer for delegation to specified services only”
  4. Click Use any Authentication Protocol
  5. Click Add.
  6. In the Add Services dialog box, click Users or Computers, select each VMM library server that stores ISO image files.
  7. In the Available services list, select the cifs protocol for each of the VMM library servers, and then click Add.

To configure a virtual machine to share an ISO image

  1. Right-click the virtual machine, and then click Properties.
  2. Click the Hardware Configuration tab.
  3. 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.
  4. 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.
  5. 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.

NOTE: Do not keep the ISO mounted when it is not in use. Keeping the ISO mounted may result in a failed VM.

More information on System Center

blog comments powered by Disqus
Microsoft Virtualization, Citrix, XENServer, Storage, iscsi, Exchange, Virtual Desktops, XENDesktop, APPSense, Netscaler, Virtual Storage, VM, Unified Comminications, Cisco, Server Virtualization, Thin client, Server Based Computing, SBC, Application Delivery controllers, System Center, SCCM, SCVMM, SCOM, VMware, VSphere, Virtual Storage, Cloud Computing, Provisioning Server, Hypervisor, Client Hypervisor.