Oracle英文版培训课件之RAC for Administrators:00-Introduction_第1页
Oracle英文版培训课件之RAC for Administrators:00-Introduction_第2页
Oracle英文版培训课件之RAC for Administrators:00-Introduction_第3页
Oracle英文版培训课件之RAC for Administrators:00-Introduction_第4页
Oracle英文版培训课件之RAC for Administrators:00-Introduction_第5页
已阅读5页,还剩31页未读, 继续免费阅读

付费下载

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

IntroductionOverviewThiscourseisdesignedforanyoneinterestedinimplementingaRealApplicationClusters(RAC)database.Althoughcoverageisgeneral,mostoftheexamplesandlabsinthiscourseareLinuxbased.KnowledgeofandexperiencewithOracleDatabase10garchitectureareassumed.Lecturematerialissupplementedwithhands-onpractices.CourseObjectivesInthiscourse,you:LearntheprincipalconceptsofRACInstalltheRACcomponentsAdministerdatabaseinstancesinaRACandASMenvironmentManageservicesBackupandrecoverRACdatabasesMonitorandtuneperformanceofaRACdatabaseAdministerOracleClusterwareTypicalScheduleTopicsLessonsDayIntroductionandinstallationI,1,2,31RACadministrationandtuning4,5,627,83Advancedtopics9,10411,125Workshop:Cloning5AHistoryofInnovationNonblockingqueriesOPSRACAutomaticStorageManagementAutomatic

WorkloadManagementLow-costcommodityclustersResourcemanagerDataGuardEnterpriseGridsOracle

ClusterwareGrid

ControlWhatIsaCluster?Interconnectednodes

actasasingleserver.Clustersoftware

hidesthestructure.Disksareavailable

forreadand

writebyallnodes.Operatingsystem

isthesameoneach

machine.NodeDisksPrivateInterconnectClusterware

oneachnodePublic

NetworkPublic

NetworkPublic

NetworkPublic

NetworkWhatIsOracleRealApplicationClusters?Multipleinstances

accessingthesame

databaseOneInstance

pernodePhysicalor

logicalaccess

toeach

databasefileSoftware-controlled

dataaccessInstances

spread

acrossnodesDatabase

filesInterconnectShared

cacheWhyUseRACHighavailability:Survivenodeandinstancefailures.Scalability:Addmorenodesasyouneedtheminthefuture.Payasyougrow:Payforjustwhatyouneedtoday.Keygridcomputingfeatures:GrowthandshrinkageondemandSingle-buttonadditionofserversAutomaticworkloadmanagementforservicesClustersandScalabilitySMPmodelRACmodelCacheCPUCPUCacheCPUCPUMemoryCachecoherencySGABGPBGPSGABGPBGPShared

storageCachefusionBGP:BackgroundprocessLevelsofScalabilityHardware:Diskinput/output(I/O)Internodecommunication:HighbandwidthandlowlatencyOperatingsystem:NumberofCPUsDatabasemanagementsystem:SynchronizationApplication:DesignScaleupandSpeedupOriginalsystem100%oftaskClustersystemscaleupUpto200%

of

taskUpto300%

of

taskTimeHardwareTimeTimeClustersystemspeedupTime/2HardwareHardwareHardwareHardwareTimeHardware100%

oftaskSpeedup/ScaleupandWorkloadsWorkloadOLTPandInternetDSSwithparallelqueryBatch(mixed)SpeedupNoYesPossibleScaleupYesYesYesI/OThroughputBalanced:ExampleFC-switchHBA1HBA2HBA1HBA2HBA1HBA2HBA1HBA2Disk

array1Disk

array2Disk

array3Disk

array4Disk

array5Disk

array6Disk

array7Disk

array8Eachmachinehas2CPUs:2200MB/s4=1600MB/sEachmachinehas2HBAs:

8200MB/s=1600MB/sEachswitchneedstosupport800MB/s

toguaranteeatotalsystemthroughput

of

1600MB/s.Eachdiskarray

hasone2-Gbit

controller:8200MB/s=

1600MB/sTypicalComponentsPerformance ThroughputPerformance Component theory(Bit/s) maximalByte/s HBA ½Gbit/s 100/200Mbytes/s 16PortSwitch 82Gbit/s 1600Mbytes/s FibreChannel 2Gbit/s 200Mbytes/s DiskController 2Gbit/s 200Mbytes/s GigENIC 1Gbit/s 80Mbytes/s Infiniband 10Gbit/s 890Mbytes/s CPU 200–250MB/sCompleteIntegratedClusterwareManagementAPIsHardware/OSkernelHardware/OSkernelConnectivityMembershipMessagingandlockingVolumeManager

filesystemApplicationsClustercontrolEventServicesSystemManagementApplications/RAC

Servicesframework

Clustercontrol/RecoveryAPIs

AutomaticStorageManagement

Messagingandlocking

Membership

ConnectivityEventServices9iRAC10gOracleClusterwareTheNecessityofGlobalResources1008SGA1SGA21008SGA1SGA210081008SGA1SGA21008SGA1SGA2100910081009Lost

updates!1234GlobalResourcesCoordinationLMONLMD0LMSxDIAG…LCK0CacheGRDMasterGESGCSLMONLMD0LMSxDIAG…CacheLCK0GRDMasterGESGCSNode1Instance1NodenInstancenClusterInterconnectGlobal

resourcesGlobalEnqueueServices(GES)GlobalCacheServices(GCS)GlobalResourceDirectory(GRD)GlobalCacheCoordination:ExampleNode1Instance1Node2Instance2…CacheCluster10091008123GCS4NodiskI/OLMONLMD0LMSx…LCK0Cache1009DIAGLMONLMD0LMSxLCK0DIAGBlockmastered

byinstanceoneWhichinstance

masterstheblock?Instancetwohas

thecurrentversionoftheblock.WritetoDiskCoordination:ExampleNode1Instance1Node2Instance2CacheCluster10101010132GCS45Onlyone

diskI/OLMONLMD0LMSxLCK0DIAGLMONLMD0LMSxLCK0DIAG……Cache1009Needtomakeroom

inmycache.

Whohasthecurrentversion

ofthatblock?Instancetwoownsit.

Instancetwo,flushtheblock

todisk.Blockflushed,makeroomDynamicReconfigurationNode1Instance1mastersR1grantedR21,31,2,3Node2Instance2mastersR3grantedR41,22,3Node3Instance3mastersR5grantedR61,2,32Node1Instance1mastersR1grantedR21,31,3Node2Instance2mastersR3grantedR41,22,3Node3Instance3mastersR5grantedR61,3R33R41ReconfigurationremasteringObjectAffinityandDynamicRemasteringNode1Node2Instance2Instance1ObjectReadfrom

diskGCSmessagetomasterMessagesaresenttoremotenodewhenreadingintocache.Node1Node2Instance2Instance1Nomessagesaresenttoremotenodewhenreadingintocache.Before

dynamic

remasteringAfter

dynamic

remasteringGlobalDynamicPerformanceViewsRetrieveinformationaboutallstartedinstancesHaveoneglobalviewforeachlocalviewUseoneparallelslaveoneachinstanceNode1Instance1NodenInstancenClusterV$INSTANCEV$INSTANCEGV$INSTANCEAdditionalMemoryRequirementforRACHeuristicsforscalabilitycases:15%moresharedpool10%morebuffercacheSmallerbuffercacheperinstanceinthecaseof

single-instanceworkloaddistributedacrossmultipleinstancesCurrentvalues:SELECTresource_name,current_utilization,max_utilizationFROMv$resource_limitWHEREresource_namelike'g%s_%';SELECT*FROMv$sgastatWHEREnamelike'g_s%'ornamelike'KCL%';EfficientInternodeRow-LevelLockingNode1Instance1Node2Instance2UPDATENode1Instance1Node2Instance2UPDATENode1Instance1Node2Instance2UPDATENode1Instance1Node2Instance2COMMITNoblock-level

lock1234ParallelExecutionwithRACExecutionslaveshavenodeaffinitywiththeexecutioncoordinator,butwillexpandifneeded.ExecutioncoordinatorParallelexecutionserverShareddisksNode4Node1Node2Node3RACSoftwarePrinciplesNode1Instance1OracleClusterwareCRSD&RACGIMONOCSSD&OPROCDEVMDLMONLMD0LMSxDIAG…CacheNodenInstancenClusterApplicationsVIP,ONS,EMD,ListenerOracleClusterwareCRSD&RACGIMONOCSSD&OPROCDEVMDASM,DB,Services,OCRApplicationsVIP,ONS,EMD,ListenerASM,DB,Services,OCRGlobal

management:

SRVCTL,DBCA,EMCluster

interfaceLCK0LMONLMD0LMSxDIAG…CacheLCK0Global

resourcesRACSoftwareStoragePrinciplesNode1Instance1CRS_HOMELocalstorageORACLE_HOMENodenInstancenLocalstorage…VotingfilesOCRfilesNode1Instance1LocalstorageNodenInstancenLocalstorage…SharedstorageVotingfilesOCRfilesORACLE_HOMEPermitsrollingpatchupgradesSoftwarenotasingle

pointoffailureSharedstorageCRS_HOMECRS_HOMEASM_HOMECRS_HOMEORACLE_HOMEASM_HOMEASM_HOMERACDatabaseStoragePrinciplesNode1Instance1…NodenInstancenOnline

redologfiles

forinstance1Online

redologfiles

forinstancenUndotablespace

filesfor

instance1Undotablespace

filesfor

instancenArchived

logfilesLocalstorageLocalstorageSharedstorageDatafilesFlashrecoveryareafilesChangetrackingfileSPFILEControlfilesTempfilesTDEWalletArchived

logfilesRACandSharedStorageTechnologiesStorageisacriticalcomponentofgrids:SharingstorageisfundamentalNewtechnologytrendsSupportedsharedstorageforOraclegrids:NetworkAttachedStorageStorageAreaNetworkSupportedfilestorageforOraclegrids:RawvolumesClusterfilesystemASMOracleClusterFileSystemIsashareddiskclusterfilesystemforLinuxandWindowsImprovesmanagementofdataforRACbyeliminatingtheneedtomanagerawdevicesProvidesopensolutionontheoperatingsystemsideCanbedownloadedfromOTN:/projects/ocfs/(Linux)/technology/software/products/database/oracle10g/index.html(Windows)AutomaticStorageManagementProvidesthefirstportableandhigh-performance

databasefilesystemManagesOracledatabasefilesContainsdataspreadacross

diskstobalanceloadProvidesintegratedmirroring

acrossdisksSolvesmanystorage

managementchallengesASMFile

systemVolume

managerOperatingsystemApplicationDatabaseRaworCFS?UsingCFS:SimplermanagementUseofOMFwithRACSingleOraclesoftwareinstallationAutoextendUsingraw:PerformanceUsewhenCFSnotavailableCannotbeusedforarchivelogfilesASMeasesworkTypicalClusterStackwithRACHigh-speedInterconnect:GigabitEthe

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论