版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 华创证券深度研究报告
- 企业级数据备份策略分析方案
- 不锈钢玻璃栏杆施工验收方案
- 多科室协同诊疗项目分析方案
- 2026中国元宇宙内容开发生态构建与盈利模式报告
- 2026中国智能制造系统集成服务市场集中度与并购机会研究
- 2026语音交互技术演进分析及场景落地与初创公司融资前景
- 2026中国罕见病药物政策环境与市场准入策略专题报告
- 自然生态保护与治理策略指南
- 2026年部门绩效目标制定通告(5篇范文)
- 新版人教版六年级上册数学全册教案(完整版)教学设计含教学反思
- 《DB65-T 8003-2023 建设工程电子文件与电子档案管理标准》
- 新苏教版科学五年级上册第一单元光与色彩单元小结
- 建筑工程技术标-质量管理体系与措施
- 《电化学储能电站建设项目文件收集与档案管理规范》
- 上海市东昌中学2025-2026学年3月高三英语试题试卷含解析
- 钢板仓工程专项施工方案
- DB32∕T 2914-2025 危险场所电气防爆安全检查规范
- 2025深圳市茅洲河流域洪涝风险图集
- NBT 11127-2023 在用钢丝绳芯输送带报废检测技术规范
- 浙江党费管理办法
评论
0/150
提交评论