NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Data Protection

using commands to create shared luns for MSCS

netappmagic
5,982 Views

Please verify following steps in create shared luns in a 2-nodes cluster environment, ignored some of details in options.

-     igroup create igroup_node1 wwn_node1

-     igroup create igroup_node2 wwn_node2

-    vol create

-     lun create shared_lun1

-     lun map shared_lun1 igroup_node1

-     lun map shared_lun1 igroup_node2

If I want to create 2nd shared lun then add the following:
-     lun creaet shared_lun2

-     lun map shared_lun2 igroup_node1     # map to the same igroup

-     lun map shared_lun2 igroup_node2

then on two nodes, disk scan to discover the new created shanred lun.

Are above steps seem correct?

Thnaks!

6 REPLIES 6

aborzenkov
5,982 Views

I prefer to use single initiator group for all nodes in cluster, that ensure that every LUN is always mapped to all nodes. But your way will work as wll, and is actually used by SnapDrive.

netappmagic
5,982 Views

Got your point.

A follow-up questions: Will you create a igroup for each one of shared LUN's and mapped to all nodes, or create a single igroup for all lun's and mapped to all nodes?

aborzenkov
5,982 Views

Single group for all LUNs and all nodes in a cluster.

netappmagic
5,982 Views

Thanks for your time and patience.

One more question:

What benifits I am getting by creating a single igroup for them all, instead of the way I initially wrote?

aborzenkov
5,982 Views

It ensures that any change in configuration is always applied to the whole cluster. When you add LUN, it is ensured that all nodes see it. When you a node, it is ensured it sees all LUNs.

Whether this is beneficial or not, it is up to you after all ...

arunchak
5,982 Views

Yes they use separate initiators for SDW. Also if you want to map the same LUN on one node using iSCSI and other using FCP, then you would need separate igroups as above.

Public