Solved

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

Posted on 2013-06-11
5
812 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
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 57

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 57

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows 2012 R2 Evaluation 4 27
Group Policy - Windows ADMX Central Store 2 22
How often Should you reconcile DHCP manually? 1 29
gpo help required 4 30
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
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.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

830 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