6.0

Table Of Contents
Getting Started with vSphere Command-Line Interfaces
50 VMware, Inc.
SeeTable 41,“SupportedPathPolicies,onpage 48.
3 (Optional)IfyouspecifiedtheVMW_PSP_FIXEDpolicy,youmustmakesurethepreferredpathisset
correctly.
aFirstcheckwhichpathisthepreferredpathforadevice.
esxcli <conn_options> storage nmp psp fixed deviceconfig get -d naa.xxxx
bIfnecessary,changethepreferredpath.
esxcli <conn_options> storage nmp psp fixed deviceconfig set --device naa.xxx --path
vmhba3:C0:T5:L3
Thecommandsetsthepreferredpathtovmhba3:C0:T5:L3
Setting Policy Details for Devices that Use Round Robin
ESXihostscanusemultipathingforfailover.Withcertainstoragedevices,ESXihostscanalsouse
multipathingforloadbalancing.Toachievebetterloadbalancingacrosspaths,administratorscanspecifythat
theESXihostshouldswitchpathsundercertaincircumstances.Differentsettableoptionsdeterminewhenthe
ESXihostswitchespathsand
whatpathsarechosen.Onlyalimitednumberofstoragearrayssupportround
robin.
Youcanuseesxcli nmp roundrobintoretrieveandsetroundrobinpathoptionsonadevicecontrolledby
theroundrobinPSP.Specifyoneoftheoptionslistedin“ConnectionOptionsforvCLIHostManagement
Commands”onpage 18
inplaceof<conn_options>.
Novicfg-commandexistsforperformingtheoperations.TheESXCLIcommandsforsettingroundrobin
pathoptionshavechanged.ThecommandssupportedinESXi4.xarenolongersupported.
To view and manipulate round robin path selection settings with ESXCLI
1 RetrievepathselectionsettingsforadevicethatisusingtheroundrobinPSP.
esxcli <conn_options> storage nmp psp roundrobin deviceconfig get --device na.xxx
2Setthepathselection.Youcanspecifywhenthepathshouldchange,andwhetherunoptimizedpaths
shouldbeincluded.
Use--bytesor--iopstospecifywhenthepathshouldchange,asinthefollowingexamples:
esxcli <conn_options> storage nmp psp roundrobin deviceconfig set --type "bytes" -B 12345
--device naa.xxx
Setsthedevicespecifiedby--devicetoswitchtothenextpatheachtime12345byteshavebeensent
alongthecurrentpath.
esxcli <conn_options> storage nmp psp roundrobin deviceconfig set --type=iops --iops
4200 --device naa.xxx
Setsthedevicespecifiedby--devicetoswitchafter4200I/Ooperationshavebeenperformedona
path.
UseuseanotospecifythattheroundrobinPSPshouldincludepathsintheactive,unoptimizedstate
intheroundrobinset(1)orthatthePSPshoulduseactive,unoptimizedpathsonlyifnoactive
optimizedpathsareavailable(0).Ifyoudonotincludethisoption,thePSPincludes
onlyactive
optimizedpathsintheroundrobinpathset.
Scheduling Queues for Virtual Machine I/O
Bydefault,vSphereprovidesamechanismthatcreatesschedulingqueuesforeachvirtualmachinefile.Each
filehasindividualbandwidthcontrols.ThismechanismensuresthattheI/Oforaparticularvirtualmachine
goesintoitsownseparatequeueanddoesnotinterferewiththeI/Oofothervirtualmachines.
Thiscapability
isenabledbydefault.Youcanturnitoffbyusingtheesxcli system settings kernel set
-s isPerFileSchedModelActiveoption
.