Microsoft Enterprise Platforms Support: Windows Server Core Team
EPS Team Blogs
Product Team Blogs
I was recently asked how to add a Pass-through disk to a Highly Available VM running on a Windows Server 2012 R2 Failover Cluster. I tested the steps I was accustomed to for Windows Server 2008 and found the Disk to be in a ReadOnly state in the VM. As it turns out there are differences in how you add the disk and how Cluster refreshes the VM after the disk as added. Below are the steps to do this successfully:
The first step is to add the disk to Failover Cluster. When you do this the disk will be placed in Available Storage. Note the Disk Number associated with your Pass-through disk for later use.
After adding the disk to Failover Cluster, assign it to the VM role and ensure that the disk is online. If it is offline when you perform the remaining steps, the disk will be ReadOnly in the VM with no way to fix it but to start over.
Now that you have the Pass-through disk added to the VM role, all that is left is to modify the VM setting by adding the Pass-through disk to a virtual SCSI adapter. Before doing this you will need to Shut Down the VM and leave the Configuration resource online. Also ensure the disk is online.
Go to the VM Settings from within Failover Cluster administrator by right clicking on the VM and selecting Settings:
Click on the SCSI controller, select Hard Drive and then click on Add. You can use the existing SCSI controller the Operating System VHDX is attached too, or add a second one if you like.
Click the Physical hard disk radio button and from the drop down select the disk that corresponds to the disk you added to the VM role. This is the disk number you noted above. Click ok to complete the change.
Start the Virtual Machine and you will now have access from within the VM to your Pass-Through disk.
Here is an abbreviated list of steps if you are familiar with the interfaces and would just like to know what needs to be done so you can go do it.
Steven Andress Sr. Support Escalation Engineer Platforms Global Business Support
I followd the steps carefully but was unable to perform live migration to other nodes in the cluster.Windows Event Log shows Hyper-V-High-Availability EventID 21502, Cluster log shows Microsoft-Windows-FailoverClustering Event ID 1069 and 1205The VM is a CentOS 6.5 Server with 2 Pass-Through disks.