6.0

Table Of Contents
VMware, Inc. 99
Chapter 6 Managing Third-Party Storage Arrays
Running Path Claiming Rules
Theesxcli storage core claimrule runcommandrunspathclaimingrules.Runthiscommandapply
claimrulesthatareloaded.Ifyoudonotcallrun,thesystemchecksforclaimruleupdateseveryfiveminutes
andappliesthem.Specifyoneoftheoptionslistedin“ConnectionOptionsforvCLIHostManagement
Commands”onpage 18
inplaceof<conn_options>.
To load and apply claim rules
1Modifyrulesandloadthem.
esxcli <conn_options> storage core claimrule load
2Quiescethedevicesthatusepathsforwhichyouwanttochangetheruleandunclaimthosepaths.
esxcli <conn_options> storage core claiming unclaim --device=<device>
3Runpathclaimingrules.
esxcli <conn_options> storage core claimrule run
Thiscommandisalsousedfortroubleshootingandboottimeconfiguration.
Options Description
--adapter <adapter>
-A <adapter>
If--typeislocation,nameoftheHBAforthepathstoruntheclaimruleson.To
runclaimrulesonpathsfromalladapters,omitthisoption.
--channel <channel>
-C <channel>
If--typeislocation,valueoftheSCSIchannelnumberforthepathstorunthe
claimrules
on.Torunclaimrulesonpathswithanychannelnumber,omitthis
option.
--claimrule-class
-c
Claimruleclasstouseinthisoperation.
--lun <lun>
-L <lun>
If--typeislocation,valueoftheSCSILUNforthepathstorunclaimruleson.To
runclaimrulesonpathswithanyLUN,
omitthisoption.
--path <path_UID>
-p <path_UID>
If--typeispath,thisoptionindicatestheuniquepathidentifier(UID)orthe
runtimenameofapathtorunclaimruleson.
--target <target>
-T <target>
If--typeislocation,valueoftheSCSItargetnumberforthepathstorunclaim
ruleson.Torunclaim
rulesonpathswithanytargetnumber,omitthisoption
--type
<location|path|all>
-t <location|path|all>
Typeofclaimtoperform.Bydefault,usesall,whichmeansclaimrulesrunwithout
restrictiontospecificpathsorSCSIaddresses.Va lidvaluesarelocation,path,and
all.
--wait
-w
Youcanusethisoptiononlyifyou
alsouse--typeall.
Iftheoptionisincluded,theclaim waitsforpathstosettlebeforerunningtheclaim
operation.Inthatcase,thesystemdoesnotstarttheclaimingprocessuntilitislikely
thatallpathsonthesystemhaveappearedbeforestartingtheclaimprocess.
After
theclaimingprocesshasstarted,thecommanddoesnotreturnuntildevice
registrationhascompleted.
Ifyouaddorremovepathsduringtheclaimingorthediscoveryprocess,thisoption
mightnotworkcorrectly.