Table of ContentsLibraryView in Frames

Enabling ALUA for iSCSI and FC igroups

ALUA defines a standard set of SCSI commands for discovering and managing multiple paths to LUNs on Fibre Channel and iSCSI SANs. ALUA allows the initiator to query the target about path attributes, such as primary path and secondary path. It also allows the target to communicate events back to the initiator. As long as the host supports the ALUA standard, multipathing software can be developed to support any array. Proprietary SCSI commands are no longer required.

Before You Begin

Make sure your host supports ALUA before enabling it. Enabling ALUA for a host that does not support it can cause host failures during cluster failover. Check the Interoperability Matrix to see if ALUA is supported on your host system.

Considerations

ALUA may or may not be disabled by default. When you create a new igroup or add the first initiator to an existing igroup, Data ONTAP checks whether that initiator is enabled for ALUA in an existing igroup. If so, the igroup being modified is automatically enabled for ALUA as well. Otherwise, you must manually set ALUA to yes for each igroup.

For Fibre Channel SANs, ALUA works only in single_image cfmode. For iSCSI SANs, ALUA is supported only with Solaris hosts running the iSCSI Solaris Host Utilities 3.0 for Native OS.

In addition, you cannot map a LUN to both a FC and iSCSI igroup if ALUA is enabled on one of the igroups. Run the lun config_check command to determine if any such conflicts exist.

Steps

  1. Check to see if ALUA is enabled by entering the following command: igroup show -v igroup_name

    Example

    igroup show -v igroup1

    device1> igroup show -v igroup1
        igroup1:
            OS Type: solaris
            Member: 10:00:00:00:c9:2b:cc:39 (logged in on: vtic, 5a, 5b)
            Member: 10:00:00:00:c9:2b:cb:7e (logged in on: vtic, 4b, 4a)
            ALUA: No

  2. If ALUA is not enabled, enter the following command to enable it:igroup set igroup alua yes

    Example

    igroup set igroup1 alua yes

  3. For iSCSI igroups, set the path priority to each target portal group by entering the following command:iscsi tpgroup alua set target_portal_group_name [optimized | non-optimized]

    Example

    iscsi tpgroup alua set tpgroup1 non-optimized

Related concepts
What ALUA is
Related tasks
Configuring iSCSI target portal groups
Checking LUN, igroup, and FCP settings
Related information
NetApp Interoperability Matrix - http://now.netapp.com/NOW/products/interoperability/