Solved

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

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
In previous parts of this Nano Server deployment series, we learned how to create, deploy and configure Nano Server as a Hyper-V host. In this part, we will look for a clustering option. We will create a Hyper-V cluster of 3 Nano Server host nodes w…
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
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…

689 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