【OracleDatabase】OracleRAC(三):GridInfrastructure
[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 2019 wallet01 Tue Apr 30 17:34:33 CST 2019 wallet02 [grid@wallet02 ~]$ (ssh wallet01 "date;hostname";ssh wallet02 "date;hostname") Tue Apr 30 17:34:42 CST 2019 wallet01 Tue Apr 30 17:34:42 CST 2019 wallet02 [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
坚守“ 做人真诚 · 做事靠谱 · 口碑至上 · 高效敬业 ”的价值观,专业网站建设服务10余年为成都成都软装设计小微创业公司专业提供成都定制网页设计营销网站建设商城网站建设手机网站建设小程序网站建设网站改版,从内容策划、视觉设计、底层架构、网页布局、功能开发迭代于一体的高端网站建设服务。
[root@wallet01 ~]# /u01/app/oraInventory/orainstRoot.sh Changing 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.sh Performing root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= /u01/app/11.2.0.4/grid Enter 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 by Database Configuration Assistant when a database is created Finished 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_params Creating trace directory User ignored Prerequisites during installation Installing Trace File Analyzer OLR 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 cert Adding Clusterware entries to upstart CRS-2672: Attempting to start 'ora.mDNSd' on 'wallet01' CRS-2676: Start of 'ora.mdnsd' on 'wallet01' succeeded CRS-2672: Attempting to start 'ora.gpnpd' on 'wallet01' CRS-2676: Start of 'ora.gpnpd' on 'wallet01' succeeded CRS-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' succeeded CRS-2676: Start of 'ora.gipcd' on 'wallet01' succeeded CRS-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' succeeded CRS-2676: Start of 'ora.cssd' on 'wallet01' succeeded ASM created and started successfully. Disk Group OCRVDISK created successfully. clscfg: -install mode specified Successfully accumulated necessary OCR keys. Creating OCR keys for user 'root', privgrp 'root'.. Operation successful. CRS-4256: Updating the profile Successful 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 profile CRS-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' succeeded CRS-2672: Attempting to start 'ora.OCRVDISK.dg' on 'wallet01' CRS-2676: Start of 'ora.OCRVDISK.dg' on 'wallet01' succeeded Configure Oracle Grid Infrastructure for a Cluster ... succeeded [root@wallet02 ~]# /u01/app/oraInventory/orainstRoot.sh Changing 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.sh Performing root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= /u01/app/11.2.0.4/grid Enter 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 by Database Configuration Assistant when a database is created Finished 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_params Creating trace directory User ignored Prerequisites during installation Installing Trace File Analyzer OLR initialization - successful Adding Clusterware entries to upstart CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node wallet01, number 1, and is terminating An active cluster was found during exclusive startup, restarting to join the cluster Configure Oracle Grid Infrastructure for a Cluster ... succeeded
当前名称:【OracleDatabase】OracleRAC(三):GridInfrastructure
文章转载:http://azwzsj.com/article/gggeeo.html