Connect the same iscsi iqn to two servers

Guido 21 Reputation points
2020-08-05T16:40:27.557+00:00

hi, I have a nas connected to a server via iscsi. I connected this nas with the same iqn to another server. It seems that at the moment it doesn't give me any problems, but my question is: does it involve problems? Is it a correct procedure? is it not recommended ?.
I would add, if I want to disconnect the iscsi unit, it won't, it warns me that there are active services, what control are they? and how to disconnect them?
Thank you

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,228 questions
0 comments No comments
{count} votes

Accepted answer
  1. Alex Bykovskyi 2,166 Reputation points
    2020-08-07T18:17:15.923+00:00

    Hey,

    In order to work with a single iSCSI LUNs on 2 servers simultaneously you need to have a file system, which can coordinate I/O, as mentioned above CSVFS can handle it.
    https://learn.microsoft.com/en-us/windows-server/failover-clustering/failover-cluster-csvs

    For your case, it is easier to create SMB file share on your NAS and connect it on your servers. The fileserver could be created with StarWind VSAN as a fault-tolerant storage backend for a HA Fileserver. The following guide covers Failover Cluster process creation as well as HA File Share.
    https://www.starwindsoftware.com/resource-library/starwind-virtual-san-for-hyper-v-2-node-hyperconverged-scenario-with-windows-server-2016/

    Cheers,

    Alex Bykvoskyi

    StarWind Software

    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

    1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Xiaowei He 9,906 Reputation points
    2020-08-06T07:54:06.383+00:00

    Hi,

    If the NAS storage is shared to different servers, it is normal and recommended that we connect the same IQN to different servers.

    In my test, I have a Windows Server for storage, I created virtual disk with IQN: iqn.1991-05.com.microsoft:dc-target-n1-n1-target. This IQN is configured to allow node 1 and node 2 to connect.

    16111-image.png

    16074-image.png

    If the reply could be of help, please help to accept it as an answer, thanks for your cooperation!
    Thanks for your time!
    Best Regards,
    Anne

    2 people found this answer helpful.

  2. Guido 21 Reputation points
    2020-08-06T09:39:24.807+00:00

    perfect, I managed to do it. I specify that the two servers are of different domains. When a user of domain 1 creates or modifies shared shared files within the issi, the user of domain 2 does not see the added files and the changes. Because?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.