Currently Being Moderated

Since vSphere provides ALUA support and enables Round-Robin I/O via the default PSP, here are the steps to migrate from a non-ALUA to an ALUA configuration and enabe the Round-Robin algorithm using a NetApp disk array.

 

1) Make sure you're running a supported  ONTAP version such as any version above 7.3.1

FAS2020A> version
NetApp Release 7.3.1.1: Mon Apr 20 22:58:46 PDT 2009

 

2) Enable the ALUA flag on the ESX igroups on each NetApp controller

FAS2020A> igroup show -v vmesx_b
    vmesx_b (FCP):
        OS Type: vmware
        Member: 21:00:00:1b:32:10:27:3d (logged in on: vtic, 0b)
        Member: 21:01:00:1b:32:30:27:3d (logged in on: vtic, 0a)
        ALUA: No

FAS2020A> igroup set vmesx_b alua yes

 

FAS2020A> igroup show -v vmesx_b
    vmesx_b (FCP):
        OS Type: vmware
        Member: 21:00:00:1b:32:10:27:3d (logged in on: vtic, 0b)
        Member: 21:01:00:1b:32:30:27:3d (logged in on: vtic, 0a)
        ALUA: Yes

 

3) VMotion the VMs to another host in the Cluster and reboot the ESX host

 

*4) After the Reboot, the SATP will change to VMW_SATP_ALUA and the PSP to VMW_PSP_MRU. </p><pre>5)* You will need to change the PSP to VMW_PSP_RR. There are 2 options</font></pre>

<pre>a) <font face="Arial" size="2">With the NetApp ESX Host Utilities Kit 5.1</font></pre>

 

 

1a) #/opt/netapp/santools/config_mpath -m </font></font></pre><pre><font face="Arial" size="2">      -a CtlrA:username:password -a CtlrB:username:password</font></pre><pre><font face="Arial" size="2">  2a)  You will get a message to Reboot the host </font></pre><pre>b) Manually</pre><pre><font size="2"><font face="Arial">  1a) # esxcli nmp satp setdefaultpsp --satp VMW_SATP_ALUA </font></font></pre><pre><font size="2"><font face="Arial">       --psp VMW_PSP_RR</font></font></pre><pre><font face="Arial" size="2">  2a) Reboot</font></pre></blockquote><pre>6) On the ESX Host verify the new setting per device*

# esxcli nmp device

naa.60a9800050334b356b4a51312f417541
    Device Display Name: NETAPP Fibre Channel Disk (naa.60a9800050334b356b4a51312f417541)
    Storage Array Type:* VMW_SATP_ALUA*
    Storage Array Type Device Config: {implicit_support=on;explicit_support=off;explicit_allow=on;alua_followover=on;{TPG_id=2,TPG_state=AO}{TPG_id=3,TPG_state=ANO}}

    Path Selection Policy: VMW_PSP_RR
    Path Selection Policy Device Config: {policy=rr,iops=1000,bytes=10485760,useANO=0;lastPathIndex=3: NumIOsPending=0,numBytesPending=0}
    Working Paths: vmhba2:C0:T2:L1, vmhba1:C0:T2:L1


 

 

Comments

Filter Blog

By date:
By tag: