《Oracle 19C 安装网格架构 GRID-ORACLE OCP认证考试.docx》由会员分享,可在线阅读,更多相关《Oracle 19C 安装网格架构 GRID-ORACLE OCP认证考试.docx(16页珍藏版)》请在第一文库网上搜索。
1、一、配置ASM磁盘可以使用raw,也可以使用asm自带的磁盘管理配置1使用raw在etcrc.1oca1添加开机启动挂载rawdevrawraw2devnvmen2p1挂载后的目录在devraw目录下2、使用Orac1easmroot用户下执行:Orac1easmconfigure-iA、第一个提示问题:目前是单机,可以直接用Orade管理,那就输入Orade如果是RAC时,可以用grid用户管理,那就输入gridB、第二个问题,属于哪一个组asmadmin-只能属于这个组C、直接yD、开机是否自检,一般选y,实体机如果磁盘太多的时候,为了避免自检时间过长,可以用n3、配置完成后,首次需要手工
2、启动Systemct1startOrac1easm4、绑定裸设备Orac1easmCreatediskASMDISK*devnvmen*绑定之后的路径devorac1easmdisksASMDISK*5、配置ASM磁盘四、安装网络架构软件单机可以用OraCIe身份登录,如果是RAC,应该以grid身份登录u01apporac1eproduct19.3.0路径下,建立grid目录进入grid目录将安装包解压在此目录下,如源zip文件在/store/DATABASE/V982063-1.zipunzipstageINFRAV982068-01.zip1、修改vi1nfig文件(1inUX8.0及以
3、上版本)cd$ORAC1E_HOME/cv/adminVicvu_config找至|J#CV_ASSUME_DISTID=OE15取掉前边#号,保存退出2、安装网络架构u1apporac1eproduct19.3.0grid目录下运行./gridSetup.sh之前的网络架构运行脚本是run1nsta11er.sh,19C的安装脚本是gridSetup.sh注意事项:A、配置ASM磁盘时,当前绑定了10个裸设备,真机环境中,一般会使用阵列卡,实际的硬盘会接在阵列卡上,为了安全起见一般会使用2块阵列卡,那么,在SPeCifyFaiIUreGrOUPS这里要配置2块阵列卡名称B、如果没有看到硬盘,
4、可以手工指定路径。如果是通过OraCIeaSm做的磁盘绑定,绑定路径会在devorac1easmdisks如果是用IinUXraw做的绑定,绑定路径会在,如果是raw做的绑定,还要查看一下目录权限问题devrawC、模拟磁盘阵列总共10个裸设备,这里只使用6个,单数设备使用CARD1双数设备使用CARD2D、注意OraCIeJDaSe、Ora1nventory的路径E、自检过程中,会有报错提示:CVUqdiSk-HnO-1根据提示执行如下脚本:./tmp/GridSetupActions2023-04-19_05-59-40PM/CVU_19.0.0.0,0_orac1e/runfixup.s
5、h重新自检后无报错,进行安装Se1ectDiskGroupcharacterieticandse1ectdisksDiskgroupnameDATARedundancyF1exIHighNorma1Externa1A11ocationUnitSize4MBSe1ectDisksIQCORAC1IGridInfrastructureShowCandidatezProvisionedDisksChangDiscoveryPath.,0)Status)3Provisioned)3Provisioned)3Provisioned)3Provisioned)3Provieioned)3Provision
6、edFai1ureGroup口ConfigureOrac1eASM刖terDriverICance1SpecifyFai1ureGroupsSe1ectthisoptiontoconfigureASMA1terDrcvertAFD)tosimp1ifyconfigurationandmanagementofdiskdevicesbyOrac1eASM图Orac1eGridInfrastructure19cInsta11er-Step2of10CreateASMDiskGroupIqCORAC1,IDGridInfrastructureConfiQUrdtionOQtiOnyCreateASMD
7、iskGroup,ASMPdSSWOrdSe1ectDiskGroupcharacterieticandse1ectdisksDiskgroupnameDATARedundancyF1cxjHigh)Norma1Externa1A11ocetior1SFai1UreGroups.SpecifytheuniqueFai1ureGroupstobeusedfor5eectd1ASMDisks.Se1ectFai1ureGroupsthatyouwanttomarkasQuorum.回devjcard1Card2DiskDisCance1图Orac1eGridInfrastructure19cIns
8、td11er-Step4of11SpecifyManagementOptionsIQCORAC1IGridInfrastructureConfiQUQtionODtiOnCreateASMDiSkGrOUDASMPasswordManagementOptionsODerat1nQSVStemGrOUDSinsta11ation1ocationm-erequ1-YoucanconfiguretohavethisinstanceofOrac1eGridinfrastructureandOrac1eAutomaticStorageManagementtobemanagedbyEnterpriseMa
9、nagerC1oudContro1Specifythedetai1softheC1oudContro1configurationtoperformtheregistration1RegisterwithEnterpriseManager(EM)C1oudConbro1ICance1Privi1egedOperatingSystemGroupsConfiaUQtionODtiOnCreateASMDiSkGeUDSe1ectthemeoftheoperatingsystemgroup,thatyouwanttouseforoperatingsystemauthenticationtoOrac1e
10、AutomabcStorageManagement.ASMPasswordOrac1easmAdministrator(OSASM)GroupasmadmnManaaCmentOptionsOrac1eASMDBA(OSDBAforASM)GroupOperatingSystemGroupsInSteHd匕On1oCGtiOnOrac1eASMOperator(OSOPERforASM)Group(Optiona1)asmdbasmoperHe1pICanCe1画OrACIeGriC1InfraStnJetUre19cInStaUerSteD60f11SpecifyInsta11ation1o
11、cation-XIqCORAC1IDGridInfrastructure午TTT1TTConfiQUQtionODtiOnCreateASMDiSkGrOUDASMPasswordManaQementODtiOnSODerat1nQSVSternGrOUDSInsta11ation1ocationROOtSCriDtexecutionPrerequisiteCheCk今SummarySpecifytheOrac1ebase.TheOroc1cbasedirectoryfortheOrac1eGridInfrastructureinsta11ationisthe1ocationwherediag
12、nosticandadministrative1ogs,andother1ogsassociatedwithOrac1eASMandOrac1eC1usterwareareStoredThis1ocationwou1da1socontainfi1espertainingtotheconfigurationofOrac1eC1usterware.QraCIebaseU01PP0C6BrowseThissoftwaredirectoryistheOrac1eGridInfrastructurehomedirectory.Software1ocation:u01apporac1eproduct19.3.0grid