您好,欢迎访问三七文档
当前位置:首页 > IT计算机/网络 > AI人工智能 > AIX平台上Oracle
AIX平台上Oracle10gRAC架构选型的最佳实践周硕基zhousj@cn.ibm.com©2003IBMCorporationRACInterconnectConfiguration:10gHACMPNetworkTopologynolongerusedOracle“FaultTolerantIP”codehasbeenremovedPublicandPrivate(RACInterconnect)networknamesarespecifiedatclusterconfigurationtime–Publicinterfacenames(e.g.en0)MUSTbethesameonallnodes–Privateinterfacenames(e.g.en6)SHOULDbethesameonallnodes–Privatenetworksshouldbenon-routableFaultToleranceprovidedbyeither:–EtherChannelor802.3adLinkAggregationRequiresprotocolcapableswitchesSupportsbandwidthaggregationandloadbalancing©2003IBMCorporationRACInterconnect:10g(Primary/BackupConfiguration)©2003IBMCorporationRACInterconnect:10g(BandwidthAggregation)©2003IBMCorporationNetworkArchitecturewithVirtualI/OServer©2003IBMCorporationWhatSharedStorageisSupportedonAIX?RawDevices–ConcurrentRawLogicalVolumes–RequiresHACMP(CLVMcomponent)OracleAutomaticStorageManagement(ASM)--10gonly–AlternativetoexternalfilesystemandLVMClusterFileSystems–GPFS–VeritasStorageFoundationforRAC©2003IBMCorporationWhatSharedStorageisSupportedonAIXCanuse(continued)–NetworkAttachedStorage•NFS-based•Potentiallylowercost-nofibrechannelrequired•Easytoadminister©2003IBMCorporationASMBenefitsinaRACEnvironmentIncludedinOracle10gatnoextrachargeReduces3rdpartysoftwarestackcomponents–ReplacesFileSystemsandLogicalVolumeManagerAutomaticstripingofdataobjectstoimproveoverallI/ObalanceandperformanceProvidesDBAswithgreatercontroloverStorageManagementfunctions©2003IBMCorporation©2003IBMCorporationMulti-pathingandASM©2003IBMCorporationFordisksusedforASM(usempioasanexample)ThenfordiskstobeusedforASM,andonallnodes:1.InstallMPIOonallnodes,attachtheLUNtoeachnode,dicoverLUN’swith“cfgmgr“.2.Identifyhdisknamesoneachnodes,foragivenLUNID.3.removePVIDfromhdiskandchangethereservepolicytonoreserveusing:chdev-lhdisk…-apv=clearchdev-lhdisk…-areserve_policy=no_reserve4.setownerchiptooracle:dbatothe/dev/rhdisk…5.setread/writepermissionsto660tothe/dev/rhdisk…6.accessthediskthru/dev/rhdisk…forASMdiskgroupconfiguration©2003IBMCorporationIfyoudon’tusehacmp!!!TheIBMAIXclusteringlayer,HACMPfilesets,MUSTNOTbeinstalledifyou’vechosenanimplementationwithoutHACMP.Ifthislayerisimplementedforotherpurpose,disksressourcesnecessarytoinstallandrunCRSdatawillhavetobepartofanHACMPvolumegroupresource.IfyouhavepreviouslyinstalledHACMP,youmustremove:HACMPfilesets(cluster.es.*)rsct.hacmp.rtersct.compat.basic.hacmp.rtersct.compat.clients.hacmp.rteIfyoudidrunafirstinstallationoftheOracleClusterware(CRS)withHACMPinstalled,Checkif/opt/ORCLclusterdirectorydoesexistandifso,removeitonallnodes.THENREBOOTALLNODES…©2003IBMCorporationCONSIDERATIONSFORRAC/ASMSETUPWITHHACMPHOWEVER,ifcustomerstillneedtohaveHACMP,OracleClusterwarecancohabitatewithHACMP.1.HACMPmustnottake-over/failovertheOracleClusterwareressources(VIP,database,etc…)2.HACMPVIPmustnotbeconfiguredonIPfromPublicnodenameusedbyRAC(hostname),orOracleClusterwareVIP3.With10g,it’snotnecessarytodeclaretheRACinterconnectinHACMP4.It’snotmandatorytodeclarehdisksusedforASMinHACMPaslogicalvolumes(LV)fromVolumeGroups(VG).5.IfthechoiceistodeclarehdisksusedbyASMinHACMPVolumeGroups,THENyou’llhavetopreparethedisksforOCR,Voting,ASMspfileandASMdisks©2003IBMCorporationConcurrentRawDeviceswithVolumesGroups(HACMP)©2003IBMCorporationYoucanusevirtualI/Odisksfor:•AIX5Loperatingsystem•Oracleclusterware($CRS_HOME)•RACSoftware($ORACLE_HOME)BUTNOTtobeusedfor:•OCR(OracleClusterRegistry)disk,•Voting(Heartbeat)disk,and•databasefiles(datafiles,redologs,archivelogs,UNDO,TEMP,etc….)HBAFiberChannelcardsMUSTNOTbesharedthruVirtualI/Oserver,asfortoday(checkcertificationstatusonOracleMetalink)SANandVirtualI/OServer©2003IBMCorporationIt’sok.©2003IBMCorporationWrong?Forasmit’salsooknow.©2003IBMCorporationGPFSBenefitsinaRACEnvironmentFilesystemadministrationflexibilityinaclusteredenvironmentDirectI/O(DIO)andConcurrentI/O(CIO)supportforclosetorawperformanceFilesystemlevelI/OstripingtoimproveoverallI/Obalance&performanceHigherdataavailabilityandfailuresurvivability–MetadataloggingandreplicationoptionsMature,Proventechnology(HPCandotherenvironments)note:StorageSubsystemsmustbeGPFStested/certified©2003IBMCorporationGpfscase1©2003IBMCorporationGpfscase2
本文标题:AIX平台上Oracle
链接地址:https://www.777doc.com/doc-25641 .html