Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 835
  • Last Modified:

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

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
JamesAnctil
Asked:
JamesAnctil
  • 3
  • 2
1 Solution
 
JamesAnctilAuthor Commented:
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
 
JamesAnctilAuthor Commented:
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
 
Cliff GaliherCommented:
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
 
JamesAnctilAuthor Commented:
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
 
Cliff GaliherCommented:
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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now