AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
Expand all | Collapse all

AIX MPIO path configuration problem to Netapp SAN

  • 1.  AIX MPIO path configuration problem to Netapp SAN

    Posted Wed February 03, 2010 03:31 AM

    Originally posted by: SGunnis


    Hi all
    I am looking for help with a MPIO path problem connecting to a Netapp SAN.

    The problem is the Netapp is reporting that traffic to the LUN is travelling via the partner node on a non optimal path.

    AULA is not in use and optimization was performed using the AIX dotpaths utility.

    Supporting stats on the Netapp and a basic diagram are included in the attached file.

    Some output from the AIX side of things:-
    1. dotpaths -v
    hdisk4 (path 0): Unoptimized path - Current priority of 1 is correct
    hdisk4 (path 1): Optimized path - Current priority of 255 is correct
    hdisk4 (path 2): Unoptimized path - Current priority of 1 is correct
    hdisk4 (path 3): Optimized path - Current priority of 255 is correct
    hdisk5 (path 0): Unoptimized path - Current priority of 1 is correct
    hdisk5 (path 1): Optimized path - Current priority of 255 is correct
    hdisk5 (path 2): Unoptimized path - Current priority of 1 is correct
    hdisk5 (path 3): Optimized path - Current priority of 255 is correct
    hdisk6 (path 0): Unoptimized path - Current priority of 1 is correct
    hdisk6 (path 1): Optimized path - Current priority of 255 is correct
    hdisk6 (path 2): Unoptimized path - Current priority of 1 is correct
    hdisk6 (path 3): Optimized path - Current priority of 255 is correct
    hdisk7 (path 0): Unoptimized path - Current priority of 1 is correct
    hdisk7 (path 1): Optimized path - Current priority of 255 is correct
    hdisk7 (path 2): Unoptimized path - Current priority of 1 is correct
    hdisk7 (path 3): Optimized path - Current priority of 255 is correct
    Path priority set and/or verified for 4 disks, 16 total paths.

    1. lsdev -Cc disk
    hdisk0 Available 07-08-00 SAS Disk Drive
    hdisk1 Available 07-08-00 SAS Disk Drive
    hdisk2 Available 07-08-00 SAS Disk Drive
    hdisk3 Available 07-08-00 SAS Disk Drive
    hdisk4 Available 04-00-02 MPIO NetApp FCP Default PCM Disk
    hdisk5 Available 04-00-02 MPIO NetApp FCP Default PCM Disk
    hdisk6 Available 04-00-02 MPIO NetApp FCP Default PCM Disk
    hdisk7 Available 04-00-02 MPIO NetApp FCP Default PCM Disk

    1. sanlun lun show -p
    ONTAP_PATH: PDCSAN04:/vol/pronto/lun1/lun1.lun
    LUN: 1
    LUN Size: 74.0g (79461089280)
    Host Device: hdisk4
    LUN State: GOOD
    Controller_CF_State: Cluster Enabled
    Controller Partner: PDCSAN03
    Multipath Provider: AIX Native
    Multipathing Algorithm: round_robin


    -----------
    ------
    ----------
    MPIO Controller AIX Controller AIX MPIO
    path path MPIO host target HBA path
    status type path HBA port priority

    -----------
    ------
    ----------
    Enabled secondary path0 fcs0 0a 1
    Enabled primary path1 fcs0 0a 255
    Enabled secondary path2 fcs1 0b 1
    Enabled primary path3 fcs1 0b 255

    ONTAP_PATH: PDCSAN04:/vol/pronto/lun3/lun3.lun
    LUN: 3
    LUN Size: 74.0g (79461089280)
    Host Device: hdisk6
    LUN State: GOOD
    Controller_CF_State: Cluster Enabled
    Controller Partner: PDCSAN03
    Multipath Provider: AIX Native
    Multipathing Algorithm: round_robin


    -----------
    ------
    ----------
    MPIO Controller AIX Controller AIX MPIO
    path path MPIO host target HBA path
    status type path HBA port priority

    -----------
    ------
    ----------
    Enabled secondary path0 fcs0 0a 1
    Enabled primary path1 fcs0 0a 255
    Enabled secondary path2 fcs1 0b 1
    Enabled primary path3 fcs1 0b 255

    ONTAP_PATH: PDCSAN04:/vol/pronto/lun4/lun4.lun
    LUN: 4
    LUN Size: 200g (214748364800)
    Host Device: hdisk7
    LUN State: GOOD
    Controller_CF_State: Cluster Enabled
    Controller Partner: PDCSAN03
    Multipath Provider: AIX Native
    Multipathing Algorithm: round_robin


    -----------
    ------
    ----------
    MPIO Controller AIX Controller AIX MPIO
    path path MPIO host target HBA path
    status type path HBA port priority

    -----------
    ------
    ----------
    Enabled secondary path0 fcs0 0a 1
    Enabled primary path1 fcs0 0a 255
    Enabled secondary path2 fcs1 0b 1
    Enabled primary path3 fcs1 0b 255

    ONTAP_PATH: PDCSAN04:/vol/pronto/lun2/lun2.lun
    LUN: 2
    LUN Size: 200g (214748364800)
    Host Device: hdisk5
    LUN State: GOOD
    Controller_CF_State: Cluster Enabled
    Controller Partner: PDCSAN03
    Multipath Provider: AIX Native
    Multipathing Algorithm: round_robin


    -----------
    ------
    ----------
    MPIO Controller AIX Controller AIX MPIO
    path path MPIO host target HBA path
    status type path HBA port priority

    -----------
    ------
    ----------
    Enabled secondary path0 fcs0 0a 1
    Enabled primary path1 fcs0 0a 255
    Enabled secondary path2 fcs1 0b 1
    Enabled primary path3 fcs1 0b 255

    1. clear
    2. sanlun lun show -p
    ONTAP_PATH: PDCSAN04:/vol/pronto/lun1/lun1.lun
    LUN: 1
    LUN Size: 74.0g (79461089280)
    Host Device: hdisk4
    LUN State: GOOD
    Controller_CF_State: Cluster Enabled
    Controller Partner: PDCSAN03
    Multipath Provider: AIX Native
    Multipathing Algorithm: round_robin


    -----------
    ------
    ----------
    MPIO Controller AIX Controller AIX MPIO
    path path MPIO host target HBA path
    status type path HBA port priority

    -----------
    ------
    ----------
    Enabled secondary path0 fcs0 0a 1
    Enabled primary path1 fcs0 0a 255
    Enabled secondary path2 fcs1 0b 1
    Enabled primary path3 fcs1 0b 255

    ONTAP_PATH: PDCSAN04:/vol/pronto/lun3/lun3.lun
    LUN: 3
    LUN Size: 74.0g (79461089280)
    Host Device: hdisk6
    LUN State: GOOD
    Controller_CF_State: Cluster Enabled
    Controller Partner: PDCSAN03
    Multipath Provider: AIX Native
    Multipathing Algorithm: round_robin


    -----------
    ------
    ----------
    MPIO Controller AIX Controller AIX MPIO
    path path MPIO host target HBA path
    status type path HBA port priority

    -----------
    ------
    ----------
    Enabled secondary path0 fcs0 0a 1
    Enabled primary path1 fcs0 0a 255
    Enabled secondary path2 fcs1 0b 1
    Enabled primary path3 fcs1 0b 255

    ONTAP_PATH: PDCSAN04:/vol/pronto/lun4/lun4.lun
    LUN: 4
    LUN Size: 200g (214748364800)
    Host Device: hdisk7
    LUN State: GOOD
    Controller_CF_State: Cluster Enabled
    Controller Partner: PDCSAN03
    Multipath Provider: AIX Native
    Multipathing Algorithm: round_robin


    -----------
    ------
    ----------
    MPIO Controller AIX Controller AIX MPIO
    path path MPIO host target HBA path
    status type path HBA port priority

    -----------
    ------
    ----------
    Enabled secondary path0 fcs0 0a 1
    Enabled primary path1 fcs0 0a 255
    Enabled secondary path2 fcs1 0b 1
    Enabled primary path3 fcs1 0b 255

    ONTAP_PATH: PDCSAN04:/vol/pronto/lun2/lun2.lun
    LUN: 2
    LUN Size: 200g (214748364800)
    Host Device: hdisk5
    LUN State: GOOD
    Controller_CF_State: Cluster Enabled
    Controller Partner: PDCSAN03
    Multipath Provider: AIX Native
    Multipathing Algorithm: round_robin


    -----------
    ------
    ----------
    MPIO Controller AIX Controller AIX MPIO
    path path MPIO host target HBA path
    status type path HBA port priority

    -----------
    ------
    ----------
    Enabled secondary path0 fcs0 0a 1
    Enabled primary path1 fcs0 0a 255
    Enabled secondary path2 fcs1 0b 1
    Enabled primary path3 fcs1 0b 255

    #
    Any and all help appreciated.
    #AIX-Forum


  • 2.  Re: AIX MPIO path configuration problem to Netapp SAN

    Posted Thu June 16, 2011 09:02 AM

    Originally posted by: armink


    It's been some time since you asked the question... if you're still looking for an answer:

    It seems that your "Multipathing Algorithm" causes the problem.

    It is set to round_robin. But the Netapp Boxes are not supposed to do that. Netapp is implementing
    active/passive policy only. So if you set it to "fail_over" (chdev -l hdiskXX -a algorithm=fail_over),
    the Netapp guys probably don't complain anymore.
    #AIX-Forum