6.0

Table Of Contents
VMware, Inc. 91
Chapter 6 Managing Third-Party Storage Arrays
Specifying Conditions for Path Changes
Theesxcli storage nmp psp roundrobin deviceconfig setcommandspecifiesunderwhichconditions
adevicethatisusingtheVMW_PSP_RRPSPchangestoadifferentpath.Youcanuse
--bytesor--iopsto
specifywhenthepathshouldchange.
Managing SATPs
Theesxcli storage nmp satpcommandsmanageSATPs.Youcanusethesecommandstoperformthe
followingtasks:
Retrieveandsetconfigurationparameters
AddandremoverulesfromthelistofclaimrulesforaspecifiedSATP
SetthedefaultPSPforaspecifiedSATP
ListSATPsthatarecurrentlyloadedintoNMPandtheassociatedclaimrules
ThedefaultSATPforanactiveactiveFCarraywithavendorandmodelnotlistedintheSATPrulesis
VMW_SATP_DEFAULT_AA.
Retrieving Information About SATPs
Theesxcli storage nmp satplistcommandliststheSATPsthatarecurrentlyavailabletotheNMP
systemanddisplaysinformationaboutthoseSATPs.Thiscommandsupportsnooptionsanddisplays
informationabouttheseSATPs.
esxcli <conn_options> storage nmp satp list
Therule listcommandliststheclaimrulesforSATPs.
esxcli
<conn_options> storage nmp satp rule list
Adding SATP Rules
Claimrulesspecifythatastoragedevicethatusesacertaindriverortransportorhasacertainvendorormodel
shoulduseacertainSATP.Theesxcli storage nmp satp rule addcommandaddsarulethatperforms
suchamappingtothelistofclaimrules.Theoptionsyouspecifydefinetherule.For
example,thefollowing
commandspecifiesthatifapathhasvendorVMWAREandmodelVirtual,thePSAassignsittothe
VMW_SATP_LOCALSATP.
esxcli <conn_options> storage nmp satp rule add --satp="VMW_SATP_LOCAL" --vendor="VMWARE"
--model="Virtual" --description="VMware virtual disk”
Options Description
--bytes
-B
NumberofbytestosendalongonepathforthisdevicebeforethePSPswitchestothenextpath.
Youcanusethisoptiononlywhen--typeissettobytes.
--device
-d
Devicetosetroundrobinpropertiesfor.Thisdevicemustbecontrolledbytheroundrobin
(VMW_PSP_RR)PSP.
--iops
-I
NumberofI/OoperationstosendalongonepathforthisdevicebeforethePSPswitchestothe
nextpath.Youcanusethisoptiononlywhen--typeissettoiops.
--type
-t
Typeofroundrobinpathswitchingtoenableforthisdevice.Thefollowing
valuesfortypeare
supported:
bytes:Setthetriggerforpathswitchingbasedonthenumberofbytessentdownapath.
default:Setthetriggerforpathswitchingbacktodefaultvalues.
iops:SetthetriggerforpathswitchingbasedonthenumberofI/Ooperationsonapath.
Anequalsign(=)beforethetypeordoublequotesaroundthetypeareoptional.
--useANO
-U
Ifsetto1,theroundrobinPSPincludespathsintheactive,unoptimizedstateintheround
robin
set.Ifsetto0,thePSPusesactive,unoptimizedpathsonlyifnoactiveoptimizedpathsare
available.Otherwise,thePSPincludesonlyactiveoptimizedpathsintheroundrobinpathset.