Hyper V virtual machines and SAN storage

Hello, I have a server running MS 2008 R2 with Hyper-V as a host to 4 virtual machines. We have an EMC SAN (ns120) that houses our SQL data. The host server has 2 Fibre HBA cards and I'm wondering if it's possible to get the VM's to see the SQL LUNs. If so, how would I be able to set this up. The host can see my test LUN just fine, but I need the VM's to see it.
LilbuddhaAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
OliverLoConnect With a Mentor Commented:
Hi Lilbuddha,

If you want the virtual machine to see the host I would advise the following:
1. > the LUN should be connected and visible to the host
2. > access to the diskmgmt.msc console from the host to manage the local disks
3. > find the disk corresponding to the LUN accessed through FC, and set their status to offline:
- on the left side of the console, right click on the LUN disk then click on "Offline". I think this step is required to ensure that the Hyper-V parent OS is not trying to access to the disk at the same time as the VM. A letter should be assigned to the FC LUN connected to the parent OS.
4. > access to the settings of the virtual machine and look for the hard disk. You have to map the IDE controller to  the physical drive on the host (the offline LUN disk).

All this steps are accurately described there:
http://blogs.technet.com/b/askcore/archive/2008/10/24/configuring-pass-through-disks-in-hyper-v.aspx

Let me know if it helps.
0
 
LilbuddhaAuthor Commented:
Worked perfectly! Thank you.
0
All Courses

From novice to tech pro — start learning today.