6.0

Table Of Contents
Getting Started with vSphere Command-Line Interfaces
90 VMware, Inc.
Toreturnthepathconfiguredasthepreferredpathforthespecifieddevice,runthefollowingcommand.
Specifyoneoftheoptionslistedin“ConnectionOptionsforvCLIHostManagementCommands”onpage 18
inplaceof<conn_options>.
esxcli <conn_options> storage nmp fixed deviceconfig get --device naa.xxx
Setting the Preferred Path
Theesxcli storage nmp fixed deviceconfig setcommandsetsthepreferredpathonaspecifieddevice
thatisusingNMPandtheVMW_PSP_FIXEDpathpolicy.
Tosetthepreferredpathforthespecifieddevicetovmhba3:C0:T5:L3,runthefollowingcommand.Specify
oneoftheoptionslistedin“ConnectionOptionsforvCLIHostManagementCommands”on
page 18inplace
of<conn_options>.
esxcli <conn_options> storage nmp fixed deviceconfig set --device naa.xxx --path vmhba3:C0:T5:L3
Customizing Round Robin Setup
Theesxcli storage nmp psp roundrobincommandssetsroundrobinpathoptionsonadevicecontrolled
bytheVMW_PSP_RRPSP.Specifyoneoftheoptionslistedin“ConnectionOptionsforvCLIHostManagement
Commands”onpage 18inplaceof<conn_options>.
To specify and customize round robin path policies
1Setthepathpolicytoroundrobin.
esxcli <conn_options> storage nmp device set --device naa.xxx --psp VMW_PSP_RR
2Specifywhentoswitchpaths.
YoucanchoosethenumberofI/Ooperations,numberofbytes,andsoon.Forexample:
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/Ooperationshavebeenperformedonapath.
Retrieving Path Selection Settings
Theesxcli storage nmp psp roundrobin deviceconfig get commandretrievespathselectionsettings
foradevicethatisusingtheroundrobinPSP.Youcanspecifythedevicetoretrievetheinformationfor.
Options Description
--device <device>
-d <device>
Deviceforwhichyouwanttogetthepreferredpath.Thisdevicemustbecontrolledbythe
VMW_PSP_FIXEDPSP.
Options Description
--device <device>
-d <device>
Deviceforwhichyouwanttosetthepreferredpath.Thisdevicemustbecontrolledbythe
VMW_PSP_FIXEDPSP.
Useesxcli storage nmp device --listtolistthepoliciesforalldevices.
--path <path>
-p <path>
Path
tosetasthepreferredpathforthespecifieddevice.
Options Description
-d <device>
--device <device>
Devicetogetroundrobinpropertiesfor.