Skip to main content

Create a portset and bind to an igroup

Contributors netapp-aherbin netapp-thomi

In addition to using Selective LUN Map (SLM), you can create a portset and bind the portset to an igroup to further limit which LIFs can be used by an initiator to access a LUN.

If you do not bind a portset to an igroup, then all of the initiators in the igroup can access mapped LUNs through all of the LIFs on the node owning the LUN and the owning node's HA partner.

What you'll need

You must have at least one LIF and one igroup.

Unless you are using interface groups, two LIFs are recommended for redundancy for both iSCSI and FC. Only one LIF is recommended for interface groups.

About this task

It is advantageous to use portsets with SLM when you have more than two LIFs on a node and you want to restrict a certain initiator to a subset of LIFs. Without portsets, all targets on the node will be accessible by all of the initiators with access to the LUN through the node owning the LUN and the owning node's HA partner.

Beginning with ONTAP 9.10.1, you can use System Manager to create portsets and bind them to igroups.

If you need to create a portset and bind it to an igroup in an ONTAP release earlier than 9.10.1 you must use the ONTAP CLI procedure.

  1. In System Manager, click Network > Overview > Portsets, and click Add.

  2. Enter the information for the new portset and click Add.

  3. Click Hosts > SAN Initiator Groups.

  4. To bind the portset to a new igroup, click Add.

    To bind the portset to an existing igroup, select the igroup, click Menu options icon, and then click Edit Initiator Group.