Solved

Using Server 2012 as a "San" or Hyper V storage.

Posted on 2013-06-11
5
818 Views
Last Modified: 2014-11-12
Recently stopped using Openfiler as san software due to the fact that you cannot have more than one hyper v host use an iscsi target as it will cause corruption(and just not work properly).  idea for 2012 box was for shared storage so I can get failover replication, ect setup

So it was decided to install server 2012 as a san / shared storage server.

since this is my first endeavor using server 2012 in this matter I guess im looking for suggestions best practices.

My setup consist of 4  2012 hyper v hosts (will be put in a cluster)
and a server 212 box that will be used as VM storage

Im hoping to have none of these boxes on my domain, rather they be on the outside looking in. However im not sure if I will be able to use smb 3 file share as the hyper v torage without the pcs being on a domain.

Another questions I have is with the server 2012 iscsi target, will a 2012 iscsi target allow multiple hyper v host to connect to it without causing corruption?

bottom line how can I use 2012 best as a shared storage for hyper v shared storage.
0
Comment
Question by:JamesAnctil
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 

Author Comment

by:JamesAnctil
ID: 39239036
As im reading through documentation relating to  server 2012 storage, I came across an article that says I can setup an iscsi target using 2012, and that I can have multiple servers access that target at once, but it mentioned clustering.

also saw this which leads me to believe that I can have my host attach to one iscsi target:

"Clustering: You can configure multiple initiators to access the same virtual disk by adding more initiators to the list. To add the initiators, click on the Add button."

came from http://blogs.technet.com/b/filecab/archive/2012/05/21/introduction-of-iscsi-target-in-windows-server-2012.aspx
0
 

Author Comment

by:JamesAnctil
ID: 39239120
ok so I created an iscsi target, and connected to 2012 hypv hosts.

When I create a test document from one server it does not show up on the other (both mapped to the same iscsi target)....so I guess that is a no go...unless I am configuring it wrong.
0
 
LVL 58

Expert Comment

by:Cliff Galiher
ID: 39241843
Using windows as an iSCSI target, multiple initiators *cannot* access the same target at the same time, or corruption will occur.

The way to accomplish what you want is to create a Hyper-V Cluster, and then the cluster setup will manage the iSCSI target connections. This requires at least two iSCSI target LUNs though. One for the VM files, and one for the CSV for the cluster.

-Cliff
0
 

Author Comment

by:JamesAnctil
ID: 39276584
yeah, after attempting migrate the dc while using an SMB3 vm store, and finding that I was unable to start the vm back up. due to there being no dc to authenticate against,  I went back to VMware.


So just so I understand correctly,

i cannot use shared iscsi storage using 2012 even if the host are clustered?
0
 
LVL 58

Accepted Solution

by:
Cliff Galiher earned 500 total points
ID: 39276604
You did not read the last paragraph of my last answer.

"I cannot use shared iscsi storage using 2012 eve if the host are clustered?"

...and my answer, BEFORE you asked your question:

"The way to accomplish what you want is to create a Hyper-V Cluster, and then the cluster setup will manage the iSCSI target connections."

Yes, you can use iSCSI storage if you set up a cluster. Technically the iSCSI target will not be "shared" however. You must let the cluster manage the storage. You cannot manually attach the initiators to the targets, or problems will arise.
0

Featured Post

Office 365 Advanced Training for Admins

Special Offer:  Buy 1 course, get 2nd free!  Buy the 'Managing Office 365 Identities & Requirements' course w/ Accelerated TestPrep, and automatically receive the 'Enabling Office 365 Services' course FREE!

Question has a verified solution.

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

Suggested Solutions

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

734 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