Oracle英文版培訓課件之RAC for Administrators:12-HA_第1頁
Oracle英文版培訓課件之RAC for Administrators:12-HA_第2頁
Oracle英文版培訓課件之RAC for Administrators:12-HA_第3頁
Oracle英文版培訓課件之RAC for Administrators:12-HA_第4頁
Oracle英文版培訓課件之RAC for Administrators:12-HA_第5頁
已閱讀5頁,還剩33頁未讀 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

DesignforHighAvailabilityObjectivesAftercompletingthislesson,youshouldbeableto:DesignaMaximumAvailabilityArchitectureinyourenvironmentDeterminethebestRACandDataGuardtopologiesforyourenvironmentConfiguretheDataGuardBrokerconfigurationfilesinaRACenvironmentDecideonthebestASMconfigurationtousePatchyourRACsysteminarollingfashionCausesofUnplannedDownTimeUnplannedDowntimeSoftwarefailuresHardwarefailuresHumanerrorsDisastersOperatingsystemDatabaseMiddlewareApplicationNetworkCPUMemoryPowersupplyBusDiskTapeControllersNetworkPowerOperatorerrorUsererrorDBASystemadmin.SabotageFireFloodEarthquakePowerfailureBombingCausesofPlannedDownTimePlanneddowntimeRoutineoperationsPeriodicmaintenanceNewdeploymentsBackupsPerformancemgmtSecuritymgmtBatchesStoragemaintenanceInitializationparametersSoftwarepatchesSchemamanagementOperatingsystemMiddlewareNetworkHWupgradeOSupgradesDBupgradesMidWupgradesAppupgradesNetupgradesOracle’sSolutiontoDownTimeUnplanned

downtimePlanned

downtimeSystem

failuresData

failuresRAC

DataGuard

StreamsFlashbackASMHARDDataGuard

&

StreamsRMANbackup/recoveryDynamicprovisioningSystem

changesData

changesRollingupgradesOnlineredefinitionFast-start

FaultRecoveryRACandDataGuardComplementarityNodesInstancesDataSiteResourceCauseComponentfailureSoftwarefailureHumanerrorEnvironmentRACRACDataGuard

&

FlashbackDataGuard

&

StreamsProtectionMaximumAvailabilityArchitectureWANTraffic

ManagerOracle

Application

ServerClientsRAC

databaseRACdatabases:

Phys&logstandbyOracle

Application

ServerPrimary

siteSecondary

siteDataGuardRACandDataGuardTopologiesSymmetricconfigurationwithRACatallsites:SamenumberofinstancesSameservicepreferencesAsymmetricconfigurationwithRACatallsites:DifferentnumberofinstancesDifferentservicepreferencesAsymmetricconfigurationwithmixtureofRACandsingleinstance:AllsitesrunningunderOracleClusterwareSomesingle-instancesitesnotrunningunderOracleClusterwareRACandDataGuardArchitecturePrimaryinstanceAPrimaryinstanceBStandbyreceivinginstanceCStandbyapplyinstanceDOnline

redofilesStandby

redofilesRFSARCnLGWRRFSARCnLGWRPrimarydatabaseStandbydatabaseApplyFlash

recovery

areaFlash

recovery

areaARCnARCnDataGuardBroker(DGB)and

OracleClusterware(OC)IntegrationOCmanagesintrasiteHAoperations.OCmanagesintrasiteplannedHAoperations.OCnotifieswhenmanualinterventionisrequired.DBAreceivesnotification.DBAdecidestoswitchoverorfailoverusingDGB.DGBmanagesintersiteplannedHAoperations.DGBtakesoverfromOCforintersitefailover,switchover,andprotectionmodechanges:DMONnotifiesOCtostopanddisablethesite,leavingalloroneinstance.DMONnotifiesOCtoenableandstartthesiteaccordingtotheDGsiterole.Fast-StartFailover:OverviewFast-StartFailoverimplementsautomaticfailovertoastandbydatabase:Triggeredbyfailureofsite,hosts,storage,datafileofflineimmediate,ornetworkWorkswithandsupplementsRACserverfailoverFailoveroccursinseconds(<20seconds).ComparabletoclusterfailoverOriginalproductionsiteautomaticallyrejoinstheconfigurationafterrecovery.AutomaticallymonitoredbyanObserverprocess:LocateitonadistinctserveronadistinctdatacenterEnterpriseManagercanrestartitonfailureInstalledthroughOracleClientAdministratorDataGuardBrokerConfigurationFiles*.DG_BROKER_CONFIG_FILE1=+DG1/RACDB/dr1config.dat*.DG_BROKER_CONFIG_FILE2=+DG1/RACDB/dr2config.datSharedstorageRAC01RAC02HardwareAssistedResilientDataPreventscorruptionintroduced

inI/OpathIssupportedbymajorstoragevendors:EMC,Fujitsu,Hitachi,HP,NEC,NetworkApplianceSunMicrosystemsAllfiletypesandblocksizescheckedVolMan/ASMOracledatabaseOperatingsystemDevicedriverHostBusAdapterSANinterfaceStoragedeviceSAN

&

VirtualizationBlocksvalidatedandprotectioninformationaddedtoblocks

[DB_BLOCK_CHECKSUM=TRUE]Protectioninformationvalidated

bystoragedevicewhenenabled

symchksum–typeOracleenablePatchesandtheRACEnvironmentex0043/u01/app/oracle/product/db_1ex0045/u01/app/oracle/product/db_1Applyapatchsetto/u01/app/oracle/product/db_1onallnodes.ex0044/u01/app/oracle/product/db_1"Unabletoacquireawriterlockonnodesex0044.RestarttheinstallafterverifyingthatthereisnoOUIsessiononanyoftheselectednodes."InventoryListLocksTheOUIemploysatimedlockontheinventoryliststoredonanode.Thelockpreventsaninstallationfromchangingalistbeingusedconcurrentlybyanotherinstallation.Ifaconflictisdetected,thesecondinstallationissuspendedandthefollowingmessageappears:OPatchSupportforRAC:OverviewOPatchsupportsfourdifferentmethods:All-nodepatch:Stopall/Patchall/StartallMinimizedowntime:Stop/Patch

allbutone,Stoplast,Startalldown,Patchlast/StartlastRollingpatch:Stop/Patch/StartoneatatimeLocalpatch:Stop/Patch/StartonlyoneHowdoesOPatchselectwhichmethodtouse:If(usersspecify-local|-local_node)patchingmechanism=Localelseif(usersspecify-minimize_downtime) patchingmechanism=Min.Downtimeelseif(patchisarollingpatch) patchingmechanism=Rollingelsepatchingmechanism=All-nodeRollingPatchUpgradeUsingRACOperating

system

upgradesOracle

patch

upgradesHardware

upgradesClientsInitialRACconfigurationClientsClientson,patchClientsClientsUpgradecomplete1243ABPatchPatchABClientson,patchBADownloadandInstallPatchUpdatesDownloadandInstallPatchUpdatesRollingReleaseUpgradeUsingSQLApplyMajorreleaseupgradesPatchsetupgradesCluster

softwareand

hardware

upgradesVersionnVersionnLogs

shipClientsInitialSQLApplysetupVersionnVersionn+1Logs

queueClientsUpgradestandbysiteVersionnVersionn+1Logs

shipClientsRunmixedtotestVersionn+1Versionn+1Logs

shipClientsSwitchover,upgradestandby1243DatabaseHighAvailability:BestPracticesUseSPFILE.Createtwoormorecontrolfiles.SetCONTROL_FILE_RECORD_KEEP_TIMElongenough.MultiplexproductionandstandbyredologsLogcheckpointstothealertlog.Useauto-tunecheckpointing.EnableARCHIVELOGmodeanduseaflashrecoveryarea.EnableFlashbackDatabase.Enableblockchecking.UseAutomaticUndoManagement.Uselocallymanagedtablespaces.UseAutomaticSegmentSpaceManagement.Useresumablespaceallocation.UseDatabaseResourceManager.Registerallinstanceswithremotelisteners.Usetemporarytablespaces.HowManyASMDiskGroupsperDatabaseTwodiskgroupsarerecommended.LeveragemaximumofLUNs.Backupscanbestoredonone

FRAdiskgroup.Lowerperformancemaybe

usedforFRA(orinnertracks).Exceptions:AdditionaldiskgroupsfordifferentcapacityorperformancecharacteristicsDifferentILMstoragetiersDataDGFRADGERPDBCRMDBHRDBDatabaseStorageConsolidationSharedstorageacrossseveraldatabases:RACandsingle-instancedatabasescanusethesameASMinstance.Benefits:SimplifiedandcentralizedmanagementHigherstorageutilizationHigherperformancePayrollGLPayroll&GL1050GB1050GB10100GB………WhichRAIDConfigurationforBestAvailability?

A.ASMmirroring

B.HardwareRAID1(mirroring)

C.HardwareRAID5(parityprotection)

D.BothASMmirroringandhardwareRAIDAnswer:Dependsonbusinessrequirementandbudget(cost,availability,performance,andutilization)ASMleverageshardwareRAID.ShouldYouUseRAID1orRAID5?RAID1(Mirroring)RecommendedbyOracleMostdemandingapplications

Pros:BestredundancyBestperformanceLowrecoveryoverheadCons:RequireshighercapacityRAID5(Parity)DSSandmoderateOLTPPros:RequireslesscapacityCons:LessredundancyLessperformanceHighrecoveryoverheadShouldYouUseASMMirroringProtection?Bestchoiceforlow-coststorageEnablesextendedclusteringsolutionsNohardwaremirroringWhatTypeofStripingWorksBest?

A.ASMonlystriping(noRAID0)

B.RAID0andASMstriping

C.UseLVM

D.NostripingAnswer:AandBASMandRAIDstripingarecomplementary.ASMStripingOnlyPros:DrivesevenlydistributedforData&FRAHigherbandwidthAllowssmallincrementalgrowth(73GB)NodrivecontentionDataDGFRADG1TB2TB1673GB

LUNs3273GB

LUNsRAID1OracleDBsize:1TBStorageconfiguration:

8arrayswith

1273GBdisksperarrayCons:Notwellbalancedacross

ALLdisksLUNsizelimitedtodisksizeHardwareRAID–StripedLUNsPros:FastestregionforDataDGBalanceddatadistributionFewerLUNstomanagewhilemaxspindlesDataDGFRADG1TB2TB4250GB

LUNs4500GB

LUNsRAID0+1OracleDBsize:1TBStorageconfiguration:

8arrayswith

1273GBdisksperarrayCons:LargeincrementalgrowthData&FRA“contention”HardwareRAID–StripedLUNsHAPros:FastestregionforDataDGBalanceddatadistributionFewerLUNstomanageMorehighavailableDataDGFRADG1TB1.6TB2500GB

LUNs2800GB

LUNsRAID0+1OracleDBsize:1TBStorageconfiguration:

8arrayswith

1273GBdisksperarrayCons:LargeincrementalgrowthMightwastespaceItIsRealSimpleUseexternalRAIDprotectionwhenpossible.CreateLUNsbyusing:OutsidehalfofdiskdrivesforhighestperformanceSmalldisk,highrpm(thatis,73GB/15krpm)UseLUNswiththesameperformancecharacteristics.UseLUNswiththesamecapacity.Maximizethenumberofspindlesinyourdiskgroup.OracleDatabase10gandASMdotherest!ExtendedRAC:OverviewFullutilizationofresources,nomatterwheretheyarelocatedFastrecoveryfromsitefailureSiteARAC

databaseSiteBClientsSiteARAC

databaseSiteBExtendedRACConnectivityDistancesovertenkilometersrequiredarkfiber.Setupbuffercreditsforlargedistances.DB

copySiteBDWDM

deviceDB

copySiteADWDM

deviceClientsDarkfiberPublicnetworkExtendedRACDiskMirroringNeedcopyofdataateachlocationTwooptio

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論