Академический Документы
Профессиональный Документы
Культура Документы
Failedpathhandling:
(therewereHitachidisksinOffline(E)state,buttheywerenotunconfiguredearlier)
lspath|grepvEnab
rmpathpfscsiXd
cfgmgrlfcsX
lspath|grepvEnab
dlnkmgrviewluitem
Changeadaptersettingonline:
rmpathdpvscsi0<removesallpathsfromadapt.(rmpathdlhdisk0pvscsi0,itremovesonlyspecifiedpath)
rmdevlvscsi0<putsadapterintodefinedstate
chdevlvscsi0avscsi_err_recov=fast_fail<changeadaptersetting(ifPisuseditwillbeactivatedafterreboot)
cfgmgrlvscsi0<configurebackadapter
S DDPCM:
SDDPCM isaloadablepathcontrolmoduledesignedtosupportthemultipathconfigurationenvironmentintheIBM TotalStorageEnterpriseStorageServer,theIBM SystemStorageSANVolumeController,
andtheIBM TotalStorageDSfamily.
WhenthesupporteddevicesareconfiguredasM PIOcapabledevices,SDDPCM isloadedandbecomespartoftheAIXM PIOFCP(FibreChannelProtocol)devicedriver.TheAIXM PIOdevicedriverwith
theSDDPCM moduleenhancesthedataavailabilityandI/Oloadbalancing.
YoucannotinstallSDDandSDDPCM togetheronaserver.WhensupportedstoragedevicesareconfiguredasnonM PIOcapabledevices(thatis,multiplelogicaldeviceinstancesarecreatedforaphysical
LUN),youshouldinstallSDDtogetmultipathsupport.WhereonlyonelogicaldeviceinstanceiscreatedforaphysicalLUNyoumustinstallSDDPCM .
S DDPCMserverdaemon:
SDDPCM hasaserverdaemonrunninginthebackground:lssrc/stopsrc/startsrcspcmsrv
psmsrvprovidespathrecoveryfunctionforSDDPCM devices
thesemoduleaddedtothekernel:sddpcmke,sdduserke
pcmpath
pcmpathqueryadaptershowsadapterconfiguration
pcmpathqueryversionshowstheversionofthesddpcm
pcmpathquerydeviceshowsthesddpcmdevices(pcmpathquerydevice44<showsonlythisdevice)
pcmpathqueryessmapgoodoverview
pcmpathsetdevicealgorithmdynamicallychangethepathselectionalgorithm
pcmpathsetdevicehc_modedynamicallychanethepathhealthcheckmode
pcmpathsetdevicehc_intervaldynamicallychangethepathhealthchecktimeinterval
pcmpathsetdeviceMpathNonline/offlinedynamicallyenable(online)ordisable(offline)apath
pcmpathsetadapterNonline/offlinedynamicallyenable(online)ordisable(offline)anadapter
(SDDPCM reserevesthelastpathofadevice,itwillfailifthedeviceisusingthelastpath)
pcmqueryprreadsandclearpersistenreserveandregistrationkeys
pcmqueryprvh/dev/hdisk30toqueryanddisplaythepersistentreservation(Vverbosemode,moredetails)
pcmqueryprrh/dev/hdisk30releasethepersistentreservationifthedeviceisreservedbythecurrenthost
pcmqueryprch/dev/hdisk30removethepersistentreservationandclearallreservationkeyregistration
pcmqueryprph/dev/hdisk30removethepersistentreservationifthedeviceisreservedbytheotherhost
pcmgenprkeysetorclearthePR_key_valueODM attributeforallSDDPCM M PIOdevices
Changeadaptersettings(reconfigurepaths):
1.Ifpossibleputtherequiredadapterofflinewiththesubsystemdriver(pcmpath,dlnkmgr):
(thiswillputintoDisabledstate)
pcmpathsetadapter3offline
dlnkmgrofflinehba08.07
2.PutalltheDisabledpathtoDefined:
foriin`lspath|grepDis|grepfscsiX|awk'{print$2}'`dormpathl$ipfscsiXdone
3.IfthereareotherpathsstillinEnabledorFailedstateputthemintoDefined:
rmpathlhdisk9pfscsi1
4.RemovealldevicesfromODMfromthementionedadapter:
rmdevRlfcs2
lsdevpfscsi2<shouldnotshowthedisks
5.Changetheadaptersettings
chdevlfscsi1adyntrk=yesafc_err_recov=fast_fail
chdevlfcs1ainit_link=pt2pt
6.Config:
cfgmgr