3 Replies Latest reply on Mar 8, 2017 12:24 AM by RAJ_RAJ

    set default Multipath policy

    ricky73 Enthusiast

      In ESXi 5.5 cluster environment, I need to change default multipath policy for every datastore which I'll create to HP 3par storage.

      Now Default Multipath Policy is MRU and I want to set it to Round Robin so when Datastore is created I will not need to change it every time.

      I thought to use this command, tu run for each host, but I want to be sure:

       

      esxcli storage nmp satp set --default-psp VMW_PSP_RR --satp VMW_SATP_EQL

       

      I don't understand what means "--satp VMW_SATP_EQL" ?!

       

       

      While ... there is way to set Multipath Policy to RR inside specific host for all present datastores?

       

      thanks

        • 1. Re: set default Multipath policy
          RAJ_RAJ Expert
          vExpert

          Hi,

           

          Please refer below

           

          [root@ESXi-10:~] esxcli storage nmp device list |grep "Path Selection Policy:" |sort |uniq -c

                1    Path Selection Policy: VMW_PSP_FIXED

               24    Path Selection Policy: VMW_PSP_MRU

                2    Path Selection Policy: VMW_PSP_RR

           

          [root@ESXi-10:~] esxcli storage nmp satp rule add -s "VMW_SATP_ALUA" -P "VMW_PSP_RR" -O iops=1 -c "tpgs_on" -V "3PARdata" -M "VV" -e "HP 3PAR custom SATP Claimrule"

          [root@ESXi-10:~] esxcli storage nmp satp rule list -s VMW_SATP_ALUA

          Name           Device  Vendor    Model      Driver  Transport  Options                     Rule Group  Claim Options  Default PSP  PSP Options  Description           

          -------------  ------  --------  ---------  ------  ---------  --------------------------  ----------  -------------  -----------  -----------  ----------------------------------------

          VMW_SATP_ALUA          LSI       INF-01-00                     reset_on_attempted_reserve  system      tpgs_on        VMW_PSP_MRU               NetApp E-Series arrays with ALUA support

          VMW_SATP_ALUA          NETAPP                                  reset_on_attempted_reserve  system      tpgs_on        VMW_PSP_RR                NetApp arrays with ALUA support

          VMW_SATP_ALUA          IBM       2810XIV                                                   system      tpgs_on        VMW_PSP_RR                IBM 2810XIV arrays with ALUA support

          VMW_SATP_ALUA          IBM       2107900                       reset_on_attempted_reserve  system                     VMW_PSP_RR                                      

          VMW_SATP_ALUA          IBM       2145                                                      system                     VMW_PSP_RR                                      

          VMW_SATP_ALUA          3PARdata  VV                                                        user        tpgs_on        VMW_PSP_RR   iops=1       HP 3PAR custom SATP Claimrule

          VMW_SATP_ALUA                                                                              system      tpgs_on                                  Any array with ALUA support

           

           

          #esxcli storage nmp satp  set  -s VMW_SATP_ALUA -P VMW_PSP_RR

           

          Reboot your ESXI host

           

          [root@ESXi-10:~] esxcli storage nmp device list |grep "Path Selection Policy:" |sort |uniq -c

                1    Path Selection Policy: VMW_PSP_FIXED

               26    Path Selection Policy: VMW_PSP_RR

           

          Reference # NMP Plugin set device rule to VMW_PSP_MRU instead of VMW_PSP_MRR

          RAJESH RADHAKRISHNAN
          VCA -DCV/WM/Cloud,VCP 5 - DCV/DT/CLOUD, ,VCP6-DCV, EMCISA,EMCSA,MCTS,MCPS,BCFA
          https://ae.linkedin.com/in/rajesh-radhakrishnan-76269335
          Mark my post as "helpful" or "correct" if I've helped resolve or answered your query!
          • 2. Re: set default Multipath policy
            ricky73 Enthusiast

            What's difference among VMW_SATP_EQL and VMW_SATP_ALUA ? I'd like to set RR as default policy  for all datastore, instead to create specific rule, so I can run this command? esxcli storage nmp satp set --default-psp VMW_PSP_RR --satp VMW_SATP_ALUA

            • 3. Re: set default Multipath policy
              RAJ_RAJ Expert
              vExpert

              Hi ,

               

              PLease find the below  .  Rule is to apply for all luns after reboot else you have run for individually . Also this rule will help you  in future . New luns from 3 PAR will be in RR policy .

               

              VMW_SATP_EQL  is for Dell EqualLogic Storage

               

              VMW_SATP_ALUA  -

               

               

              If VMW_SATP_ALUA is assigned to a specific storage device, but the device is not ALUA-aware, no claim rule match occurs for this device. The device is claimed by the default SATP based on the device's transport type.

               

               

               

              The default PSP for all devices claimed by VMW_SATP_ALUA is VMW_PSP_MRU. The VMW_PSP_MRU selects an active/optimized path as reported by the VMW_SATP_ALUA, or an active/unoptimized path if there is no active/optimized path. This path is used until a better path is available (MRU). For example, if the VMW_PSP_MRU is currently using an active/unoptimized path and an active/optimized path becomes available, the VMW_PSP_MRU will switch the current path to the active/optimized one.

               

              Refer #  vSphere 5.5 Documentation Center

              RAJESH RADHAKRISHNAN
              VCA -DCV/WM/Cloud,VCP 5 - DCV/DT/CLOUD, ,VCP6-DCV, EMCISA,EMCSA,MCTS,MCPS,BCFA
              https://ae.linkedin.com/in/rajesh-radhakrishnan-76269335
              Mark my post as "helpful" or "correct" if I've helped resolve or answered your query!
              1 person found this helpful