Solved

Deploying Hyper V using an iSCSI SAN for VHD files

Posted on 2008-09-30
9
6,715 Views
Last Modified: 2013-11-11
Morning -

Just curious as to what everyone is doing out there when it comes to using iSCSI SANs to hold the data files for Hyper V Virtual Machines...

Are you creating an iSCSI LUN on the host box that points to an iSCSI share on the SAN and then are you using that virtual disk drive for all your VM data files such as the VHD?

By the way - we're talking about print server VMs, App server, monitoring server all running Windows Server 2003 std - nothing mission critical

Thank you for any help
0
Comment
Question by:javajo
  • 5
  • 3
9 Comments
 

Author Comment

by:javajo
ID: 22615191
Should this perhaps be moved to a different zone?  Perhaps a Server 2008 Hyper V zone?  Or a SAN zone...?
0
 
LVL 42

Accepted Solution

by:
kevinhsieh earned 500 total points
ID: 22620199
I am running most of my VMs under Virtual Server 2005 R2, with just 1 VM under Hyper-V, but the concept is the same.

I put each VHD onto it's own iSCSI LUN.  This makes it easier to move MVs from host to host, because it's just a matter of mounting and unmounting the LUN from each host.  No need to copy VHD files or try to have shared access to them.

I mount each LUN into an empty NTFS folder.  This way I don't use a drive letter for each VM.  

I put all of the files (VHD and configuration) into a folder inside the LUN.  I do this because I had problems with setting NTFS permissions properly to files at the root of the drive.

If a server just needs an OS and basic disk, it all goes on a VHD.  My file, SQL, and Exchange servers make iSCSI connections to the SAN itself.  I do this so that I still get all of the advanced SAN functionality such as the ability to grow the volume on the fly, application aware snapshots, hardware VSS backups, etc.  These servers interact with the SAN just like physical machines.

I have been running VMs with my SAN for close to two years now, so I am pretty confident that this is a good configuration.  Virtual Machine Manager made me put each VM on it's own LUN so that it can do the  quick migrations.
0
 

Author Comment

by:javajo
ID: 22623945
cool - this is exactly the kind of advice i was looking for!

Question...

How are you mounting a LUN inside an NTFS folder on the host?  We use a NetApp 3020 with iSCSI SAN functionality.
When i mount LUNs, i don't ever remember seeing this option....


Thanks again!!
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:javajo
ID: 22624030
Never mind...found the article:

http://support.microsoft.com/kb/307889


0
 

Author Comment

by:javajo
ID: 22624313
ok - so i read the article..very cool!  We've never had need to use these before...

So i guess if i'm looking at my host server, i can take my physical D: and create a folder called VMs.  Then create subfolders for each VM - vm1, vm2, vm3 etc..

then mount my iSCSI luns inside these individual folders.  Then within these individual folders create a folder for the VHD files.

Is this the general idea?


0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 22626076
That is exactly how to do it.
0
 

Author Comment

by:javajo
ID: 22636251
In the above explanation with mounting LUNS inside empty NTFS folders, is there a problem with having all the VM files in one folder:

For instance - LUN mounted to vm01
inside this folder i have the vhd file.
Then within the vm01 folder is a vm01 subfolder that contains all the vm files
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 22637089
I put all of my VM files into the same folder.  Things are just easier that way.  You are on the right track.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question