6.0

Table Of Contents
Getting Started with vSphere Command-Line Interfaces
44 VMware, Inc.
InESXi5.0,theESXihostcandeterminewhetherthecauseofanAllPathsDown(APD)eventistemporary,or
whetherthecauseispermanentdeviceloss.APDLstatusoccurswhenthestoragearrayreturnsSCSIsense
codesindicatingthattheLUNisnolongeravailableorthata
severe,unrecoverablehardwareproblemexist
withit.ESXihasanimprovedinfrastructurethatcanspeedupoperationsofupperlayerapplicationsina
devicelossscenario.
To Remove a PDL LUN
HowyouremoveaPDLLUNdependsonwhetheritwasinuse.
IftheLUNthatgoesintoPDLisnotinusebyanyuserprocessorbytheVMkernel,theLUNdisappears
byitselfafteraPDL.
IftheLUNwasinusewhenitenteredPLD,deletetheLUNmanuallybyfollowingtheprocessdescribed
in“DetachingDevicesandRemovingaLUN”onpage 43.
To Reattach a PDL LUN
1ReturntheLUNtoworkingorder.
2Removeanyusersofthedevice.
Youcannotbringadevicebackwithoutremovingactiveusers.The
ESXihostcannotknowwhetherthe
devicethatwasaddedbackhaschanged.ESXimustbeabletotreatthedevicesimilarlytoanewdevice
beingdiscovered.
3Performarescantogetthedevicebackinworkingorder.
Managing Paths
TomaintainaconstantconnectionbetweenanESXihostanditsstorage,ESXisupportsmultipathing.With
multipathingyoucanusemorethanonephysicalpathfortransferringdatabetweentheESXihostandthe
externalstoragedevice.
IncaseoffailureofanelementintheSANnetwork,suchasan
HBA,switch,orcable,theESXihostcanfail
overtoanotherphysicalpath.Onsomedevices,multipathingalsooffersloadbalancing,whichredistributes
I/Oloadsbetweenmultiplepathstoreduceoreliminatepotentialbottlenecks.
ThestoragearchitectureinvSphere4.0andlatersupportsaspecialVMkernellayer,PluggableStorage
Architecture
(PSA).ThePSAisanopenmodularframeworkthatcoordinatesthesimultaneousoperationof
multiplemultipathingplugins(MPPs).YoucanmanagePSAusingESXCLIcommands.See“Managing
ThirdPartyStorageArrays”onpage 87.ThissectionassumesyouareusingonlyPSApluginsincludedin
vSpherebydefault.
Multipathing with Local Storage and FC SANs
Inasimplemultipathinglocalstoragetopology,youcanuseoneESXihostwithtwoHBAs.TheESXihost
connectstoadualportlocalstoragesystemthroughtwocables.Thisconfigurationensuresfaulttoleranceif
oneoftheconnectionelementsbetweentheESXihostandthelocalstoragesystemfails.
TosupportpathswitchingwithFCSAN,theESXihosttypicallyhastwoHBAsavailablefromwhichthe
storagearraycanbereachedthroughoneormoreswitches.Alternatively,thesetupcanincludeoneHBAand
twostorageprocessorssothattheHBAcanuseadifferentpathtoreachthe
diskarray.
InFigure 44,multiplepathsconnecteachhostwiththestoragedevice.Forexample,ifHBA1orthelink
betweenHBA1andtheswitchfails,HBA2takesoverandprovidestheconnectionbetweentheserverandthe
switch.TheprocessofoneHBAtakingoverforanotheris
calledHBAfailover.
I
MPORTANTDonotplanforAPD/PDLevents,forexample,whenyouwanttoupgradeyourhardware.
Instead,performanorderlyremovalofLUNsfromyourESXiserver,whichisdescribedin“DetachingDevices
andRemovingaLUN”onpage 43,performtheoperation,andaddtheLUNback.