HyperV Shared Storage Question

SO I have a difficult question to explain.  I have a hyper v cluster with two host.  All of my disks are connected iSCSI and the VHD files reside on the SAN.  Now on both host I have iSCSI connections to disks that are not being used by the VM but as a network share.  I do not have a file server so I have the file server role on both my host.  My issue is when one host goes down for maintenance or whatever, my clients lose the connection to the disk that had those file shares.  Unless I bring the disk online on the other host however this requires remapping them to the other hosts IP address for network name.  

Is there a better way to do this.  These disk have the files copied to the SAN at the file level so there isn't a VHD that I can mount to one of the VM's to prevent this.  Is there a way to share these disk's via the cluster somehow?  I was thinking i would create a VM file server but then how do I attach these disks since they are files and not a VHD file?
diesel1218Asked:
Who is Participating?
 
Cliff GaliherCommented:
You broke the cardinal rule. Don't install other roles on Hyper-V (like the file server role.) If you are ever finding yourself doing this, you already know chances are you are doing something wrong.

Now, there are several ways to solve this particular issue.

1) You can create a VM and make it a file server. Then store VHD's for the file server on the iSCSI target. In that situation, the cluster is still handling the storage so that'll move over.

2) If you don't want to store the files on a VHD for some reason, you can always set up the iSCSI initiator on the guest to connect to those iSCSI targets. There wouldn't be a VHD involved, but the iSCSI logical drive is no attached in the guest, not the host, so when a host goes down, you don't have the iSCSI connection dropping out from under a guest.

Either way, file server duties should be a VM, not a part of the host. Your issues are stemming from that architecture decision.
0
 
diesel1218Author Commented:
You your basically suggesting to move my files attached by iSCSI at the file level into a VHD image on the guest?
0
 
diesel1218Author Commented:
What is the best way to go about this?  Using disk2VHD?

Also can I uninstall the file server role on the host with out causing issues once I am done?
0
 
Cliff GaliherCommented:
disk2vhd is certainly an option in this case. Or you could just create a new VHD and Robocopy (might be faster if you can spare the space temporarily.)

Yes, you should be able to uninstall the file server role without issues. But, as always, make a backup.
0
 
diesel1218Author Commented:
Thanks for the help
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.