I create one iGroup and put all of my ESX Cluster Host initiators in it. One iGroup per ESX cluster that shares the storage. 4 Hosts with two HBA ports would have 8 initiators in an iGroup. This makes sure that all luns mapped to the iGroup have the same LUN ID across each host. You can create a separate iGroup for each host but then have to manage the LUN IDs individually.
You can use these to see some of the initiator, target, lif, and igroup info. Go back through the SAN administration guide and follow all best practices.
cluster::>net int show -vserver <vserverName> (this will show you the target wwpns of the fcp lifs)
cluster::>wwpn show (this will show all the initiators logged in)
cluster::>vserver fcp initiator show (this will show you the initiators per target that are logged in, useful to verify zoning is correct)
cluster::>vserver fcp interface show (this wil also show you the target wwpns of the fcp lifs and what node/port they are on.)
cluster::>fcp wwpn-alias set (this will assign aliases to each of your initiators)
cluster::> igroup show -instance (this shows you more verbose details about your igroups and shows whether the initiators are logged in)
Zone each host with 1 initiator + all SVM FC target lifs in each zone. If you have 4 hosts then you should have 4 zones. Soft zoning is best. Make sure you zone the Host initiators with the SVM LIFs and NOT the target cards. Do you have 2 FC fabrics or only 1? Most have 2 so you would have to create a zone on both fabrics for each host.
If your SVM spans nodes 1, 2, 3, and 4, then you should have FC LIFs configured for those 4 nodes that are homed to 0c and 0d. Don't zone the hosts into Ports 0c and 0d directly. Zone them into the Logical Interfaces for that SVM. You can zone them into all of your node lifs if you wish to move the Volume>LUNs between the nodes. ONTAP 8.3.2 uses NPIV and will allow virtual WWPNs for each of the SVMs on those ports. I have mode ESXi LUN (datastores) non-disruptively many times between all of my nodes.
What is the output of your ::>fcp interface show ?
I have a cluster with 4 nodes. A SVM that spans all 4 nodes. Each node has 2 FCP ports 0c and 0d. So I have a total of 8 Fiber Channel ports. My SVM has 8 Fiber Channel LIFs that are homed to each of those nodes. Those 8 ports are split between 2 fabrics. So I have 4 ports on each fabric. My hosts have a dual port FC card attached to each fabric. So each host has a zone on the fabric with the Host Initiator plus 4 SVM FC LIFs.
Fabric A Zone =
a_host1_p1 (port 1 on the ESXi host)
a_svm1_fc_lif1 (homed to node 1 0c)
a_svm1_fc_lif3 (homed to node 2 0c)
a_svm1_fc_lif5 homed to node 3 0c)
a_svm1_fc_lif7 (homed to node 4 0c)
Fabric B Zone =
a_host1_p2 (port 2 on the same ESXi host)
a_svm1_fc_lif2 (homed to node 1 0d)
a_svm1_fc_lif4 (homed to node 2 0d)
a_svm1_fc_lif6 (homed to node 3 0d)
a_svm1_fc_lif8 (homed to node 4 0d)
This allows the host to see all 8 paths. Repat this for all hosts. Make sure all of those lifs are in the same FC Port Set. It will use SLM (Selective LUN Mapping) and only see the paths on the owning HA pair as the Active-Optimized/Active paths. Look up SLM in the SAN Admin Guide.