6.0

Table Of Contents
VMware, Inc. 49
Chapter 4 Managing Storage
WhileVMW_PSP_MRUistypicallyselectedforALUAarraysbydefault,certainALUAstoragearraysneed
touseVMW_PSP_FIXED.TocheckwhetheryourstoragearrayrequiresVMW_PSP_FIXED,seetheVMware
CompatibilityGuideorcontactyourstoragevendor.WhenusingVMW_PSP_FIXEDwithALUAarrays,
unlessyouexplicitlyspecifyapreferredpath,the
ESXihostselectsthemostoptimalworkingpathand
designatesitasthedefaultpreferredpath.Ifthehostselectedpathbecomesunavailable,thehostselects
analternativeavailablepath.How ever ,ifyouexplicitlydesignatethepreferredpath,itremainspreferred
nomatterwhatitsstatusis.
Bydefault,thePSAclaimrule101masksDellarraypseudodevices.Donotdeletethisrule,unlessyou
wanttounmaskthesedevices.
Changing Path Policies
YoucanchangepathpolicieswithESXCLIorwithvicfg-mpath.
Changing Path Policies with ESXCLI
YoucanchangethepathpolicywithESXCLI.Specifyoneoftheoptionslistedin“ConnectionOptionsforvCLI
HostManagementCommands”onpage 18inplaceof<conn_options>.
To change the path policy with ESXCLI
1EnsureyourdeviceisclaimedbytheNMPplugin.OnlyNMPdevicesallowyoutochangethepathpolicy.
esxcli <conn_options> storage nmp device list
2 Retrievethelistofpathselectionpoliciesonthesystemtoseewhichvaluesarevalidforthe--pspoption
whenyousetthepathpolicy.
esxcli storage core plugin registration list --plugin-class="PSP"
3Setthepathpolicyusingesxcli.
esxcli <conn_options> storage nmp device set --device naa.xxx --psp VMW_PSP_RR
SeeTable 41,“SupportedPathPolicies,onpage 48.
4 (Optional)IfyouspecifiedtheVMW_PSP_FIXEDpolicy,youmustmakesurethepreferredpathisset
correctly.
aCheckwhichpathisthepreferredpathforadevice.
esxcli <conn_options> storage nmp psp fixed deviceconfig get --device naa.xxx
bIfnecessary,changethepreferredpath.
esxcli <conn_options> storage nmp psp fixed deviceconfig set --device naa.xxx --path
vmhba3:C0:T5:L3
Thecommandsetsthepreferredpathtovmhba3:C0:T5:L3.Runthecommandwith--defaultto
clearthepreferredpathselection.
Changing Path Policies with vicfg-mpath
Youcanchangethepathpolicywithvicfg-mpath.Specifyoneoftheoptionslistedin“ConnectionOptions
forvCLIHostManagementCommands”onpage 18inplaceof<conn_options>.
To change the path policy with vicfg-mpath
1Listallmultipathingpluginsloadedintothesystem.
vicfg-mpath <conn_options> --list-plugins
Ataminimum,thiscommandreturnsNMP(NativeMultipathingPlugin)andMASK_PATH.IfotherMPP
pluginshavebeenloaded,theyarelistedaswell.
2SetthepathpolicybyusingESXCLI.
esxcli <conn_options> nmp device set --device naa.xxx --psp VMW_PSP_RR