Note: I’ve since blogged about a solution to this problem. PSS gave me bad information on this one and I found a MS blog entry on how to solve it.
Virtual Machine Manager 2008 has a library where you can store VHD’s, machine templates and CD/DVD ISO images. When you set up a VM in Hyper-V you can mount an ISO image. Using VMM 2008 you can store these centrally and distribute them out to VM’s.
When you look in the console and try to mount an ISO from the library in a VM’s configuration you’ll see you have 2 options:
- Copy the ISO to the VM: This copies the ISO to the Hyper-V server in question and allows the VM to copy it. Unfortunately, this can fail if you’ve previously mounted the ISO on a VM on that server. That’s because the copy fails – the ISO is already there.
- Share the ISO from the library: The idea here is that instead of copying the ISO it is accessed over the network by the Hyper-V server … or so it would seem.
If you try the latter (which would be the preferred solution surely?) you get the following error causing the process to fail:
"Error (12700) VMM cannot complete the Hyper-V operation on the hvsvr.mydomain.local server because of the error: ‘vm001’ failed to add device ‘Microsoft Virtual CD/DVD Disk’. (Virtual machine ID 8D61046E-60DB-4B8B-8677-1FA4CE952D24) ‘vm001’: The file ‘hvsvr.mydomain.localMSSCVMMLibraryISOavg.iso’ does not have the required security settings.
Error: ‘General access denied error’ (0x80070005). To fix the security settings, remove the device associated with this file from the virtual machine and then add it again. (Virtual machine 8D61046E-60DB-4B8B-8677-1FA4CE952D24) (Unknown error (0x8001)) Recommended Action Resolve the issue in Hyper-V and then try the operation again".
If you go a googling you’ll find entries on the TechNet forums saying that you need to alter the CIFS delegated permissions for the computer objects in AD. I’ve tried that, reboots and all and it fails. You’ll find people replying with the same comments.
I asked MS and I was told by PSS (case#SRX081210600013) that ISO sharing does not work with VMM 2008 and Hyper-V. It a security complication with Hyper-V. I wasn’t given anything more than it’s something they’re looking at for a future release.
It’s a pity it doesn’t work. I hope the rectify that. For now, you’ll need to copy the ISO (before) or using the ISO mount wizard from the library.