Solved

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

Posted on 2013-06-11
5
800 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
  • 3
  • 2
5 Comments
 

Author Comment

by:JamesAnctil
Comment Utility
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
Comment Utility
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 56

Expert Comment

by:Cliff Galiher
Comment Utility
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
Comment Utility
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 56

Accepted Solution

by:
Cliff Galiher earned 500 total points
Comment Utility
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

Are your corporate email signatures appalling?

Is it scary how unprofessional your email signatures look? Do users create their own terrible designs and give themselves stupid job titles? You can make this a lot easier for yourself by choosing an email signature management solution from Exclaimer today.

Join & Write a Comment

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now