[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 335
  • Last Modified:

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.
0
Lilbuddha
Asked:
Lilbuddha
1 Solution
 
OliverLoCommented:
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

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now