千家信息网

【Oracle Database】Oracle RAC(三):Grid Infrastructure

发表于:2024-09-24 作者:千家信息网编辑
千家信息网最后更新 2024年09月24日,[root@wallet01 ~]# cat >> /etc/hosts <> /etc/sysctl.conf <> /etc/security/limits.conf <> /etc/hosts
千家信息网最后更新 2024年09月24日【Oracle Database】Oracle RAC(三):Grid Infrastructure
[root@wallet01 ~]# cat >> /etc/hosts <> /etc/sysctl.conf <> /etc/security/limits.conf <> /etc/hosts <> /etc/sysctl.conf <> /etc/security/limits.conf <>~/.ssh/authorized_keys[grid@wallet01 ~]$ ssh wallet02 cat ~/.ssh/id_dsa.pub >>~/.ssh/authorized_keys[grid@wallet01 ~]$ scp ~/.ssh/authorized_keys wallet02:.ssh/authorized_keys[grid@wallet01 ~]$ (ssh wallet01 "date;hostname";ssh wallet02 "date;hostname")Tue Apr 30 17:34:33 CST 2019wallet01Tue Apr 30 17:34:33 CST 2019wallet02[grid@wallet02 ~]$ (ssh wallet01 "date;hostname";ssh wallet02 "date;hostname")Tue Apr 30 17:34:42 CST 2019wallet01Tue Apr 30 17:34:42 CST 2019wallet02[grid@wallet01 ~]$ unzip p13390677_112040_Linux-x86-64_3of7.zip[grid@wallet01 ~]$ cd grid[grid@wallet01 grid]$ ./runcluvfy.sh stage -pre crsinst -n wallet01,wallet02 -fixup -verbose >check1.txt[grid@wallet01 grid]$ ./runInstaller

[root@wallet01 ~]# /u01/app/oraInventory/orainstRoot.shChanging permissions of /u01/app/oraInventory.Adding read,write permissions for group.Removing read,write,execute permissions for world.Changing groupname of /u01/app/oraInventory to oinstall.The execution of the script is complete.[root@wallet01 ~]# /u01/app/11.2.0.4/grid/root.shPerforming root user operation for Oracle 11g The following environment variables are set as:    ORACLE_OWNER= grid    ORACLE_HOME=  /u01/app/11.2.0.4/gridEnter the full pathname of the local bin directory: [/usr/local/bin]: The contents of "dbhome" have not changed. No need to overwrite.The contents of "oraenv" have not changed. No need to overwrite.The contents of "coraenv" have not changed. No need to overwrite.Creating /etc/oratab file...Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is createdFinished running generic part of root script.Now product-specific root actions will be performed.Using configuration parameter file: /u01/app/11.2.0.4/grid/crs/install/crsconfig_paramsCreating trace directoryUser ignored Prerequisites during installationInstalling Trace File AnalyzerOLR initialization - successful  root wallet  root wallet cert  root cert export  peer wallet  profile reader wallet  pa wallet  peer wallet keys  pa wallet keys  peer cert request  pa cert request  peer cert  pa cert  peer root cert TP  profile reader root cert TP  pa root cert TP  peer pa cert TP  pa peer cert TP  profile reader pa cert TP  profile reader peer cert TP  peer user cert  pa user certAdding Clusterware entries to upstartCRS-2672: Attempting to start 'ora.mdnsd' on 'wallet01'CRS-2676: Start of 'ora.mdnsd' on 'wallet01' succeededCRS-2672: Attempting to start 'ora.gpnpd' on 'wallet01'CRS-2676: Start of 'ora.gpnpd' on 'wallet01' succeededCRS-2672: Attempting to start 'ora.cssdmonitor' on 'wallet01'CRS-2672: Attempting to start 'ora.gipcd' on 'wallet01'CRS-2676: Start of 'ora.cssdmonitor' on 'wallet01' succeededCRS-2676: Start of 'ora.gipcd' on 'wallet01' succeededCRS-2672: Attempting to start 'ora.cssd' on 'wallet01'CRS-2672: Attempting to start 'ora.diskmon' on 'wallet01'CRS-2676: Start of 'ora.diskmon' on 'wallet01' succeededCRS-2676: Start of 'ora.cssd' on 'wallet01' succeededASM created and started successfully.Disk Group OCRVDISK created successfully.clscfg: -install mode specifiedSuccessfully accumulated necessary OCR keys.Creating OCR keys for user 'root', privgrp 'root'..Operation successful.CRS-4256: Updating the profileSuccessful addition of voting disk 7804bca6d2c44fe8bf9999cdf153bd4d.Successful addition of voting disk 779015a5f9244f4abfb7732e58abdb09.Successful addition of voting disk 4e4c64b2b3994f17bfab1a15f9e86b9b.Successfully replaced voting disk group with +OCRVDISK.CRS-4256: Updating the profileCRS-4266: Voting file(s) successfully replaced##  STATE    File Universal Id                File Name Disk group--  -----    -----------------                --------- --------- 1. ONLINE   7804bca6d2c44fe8bf9999cdf153bd4d (ORCL:DISK1) [OCRVDISK] 2. ONLINE   779015a5f9244f4abfb7732e58abdb09 (ORCL:DISK2) [OCRVDISK] 3. ONLINE   4e4c64b2b3994f17bfab1a15f9e86b9b (ORCL:DISK3) [OCRVDISK]Located 3 voting disk(s).CRS-2672: Attempting to start 'ora.asm' on 'wallet01'CRS-2676: Start of 'ora.asm' on 'wallet01' succeededCRS-2672: Attempting to start 'ora.OCRVDISK.dg' on 'wallet01'CRS-2676: Start of 'ora.OCRVDISK.dg' on 'wallet01' succeededConfigure Oracle Grid Infrastructure for a Cluster ... succeeded[root@wallet02 ~]# /u01/app/oraInventory/orainstRoot.shChanging permissions of /u01/app/oraInventory.Adding read,write permissions for group.Removing read,write,execute permissions for world.Changing groupname of /u01/app/oraInventory to oinstall.The execution of the script is complete.[root@wallet02 ~]# /u01/app/11.2.0.4/grid/root.shPerforming root user operation for Oracle 11g The following environment variables are set as:    ORACLE_OWNER= grid    ORACLE_HOME=  /u01/app/11.2.0.4/gridEnter the full pathname of the local bin directory: [/usr/local/bin]:    Copying dbhome to /usr/local/bin ...   Copying oraenv to /usr/local/bin ...   Copying coraenv to /usr/local/bin ...Creating /etc/oratab file...Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is createdFinished running generic part of root script.Now product-specific root actions will be performed.Using configuration parameter file: /u01/app/11.2.0.4/grid/crs/install/crsconfig_paramsCreating trace directoryUser ignored Prerequisites during installationInstalling Trace File AnalyzerOLR initialization - successfulAdding Clusterware entries to upstartCRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node wallet01, number 1, and is terminatingAn active cluster was found during exclusive startup, restarting to join the clusterConfigure Oracle Grid Infrastructure for a Cluster ... succeeded


0