Вы находитесь на странице: 1из 2

MPIO:

IncludedaspartofAIXatnocharge.Packagedasakernelextensionandmultipathingmodule(PCM ,PathControlM odule).EachstoragedevicerequiresaPCM .PCM isstoragevendorsuppliedcodethat


getscontrolfromthedevicedrivertohandlethepathmanagement.
WithAIXandmultipathing(onIBM storage)wehavethefollowingoptions:
classicS DD:(ODM definitions:ibm2105.rte,SDDdriver:deviceis.sdd.53.rte)
defaultPCM(MPIO):itcomeswithAIX(itisactivatedonlyiftherearenoSDDODM definitions)
S DDPCM:SDDversionwhichusesM PIOandhassamecommandsasSDD
(ODM def:devices.fcp.disk.ibm2105.mio.rte,SDDPCM driver:devices.sddpcm.53.rte)
M PIOisinstalledaspartofthebaseOS.Pathsarediscoveredduringsystemboot(cfgmgr)anddisksarecreatedfrompathsatthesametime.Nofurtherconfigurationisrequired.
Bydefaultfail_overissettoalgorithm.Tochangeittoroundrobin,firstchangereservationpolicyandthenalgorithm:
chdevlhdiskXareserve_policy=no_reserve
chdevlhdiskXaalgorithm=round_robin
smittympio
mkpathlhdiskXpfscsiYaddextrapaththatareattachedtoanadapter
lspathlistspaths(lspathlhdisk46)
lspathlhdisk44HF"namepath_idparentconnectionstatus"showsmanyinfo
chpathchangingpathstate(enabbled,disabled)
chpathsenabledlhdiskpvscsi0itwillsetthepathtoenabledstatus
rmpathdlhdiskXpfcsiYdynamicallyremoveallpathsunderaparentadapter
(d:deletes,withoutitputsittodefinestate)
(Thelastpathcannotberemoved,thecommandwillfailifyoutrytoremovethelastpath)
rmpathdlhdisk3pfscsi0w50060e8000c3baf4,2000000000000<deletesapath

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

Вам также может понравиться