11g Oracle Rac installation (based linux6) problems that may arise summary:
7 ) Use "yum" command node in automatic configuration fails.
Modify /etc/resolv.conf, added:
nameserver 8.8.8.8 |
If you reported this error:
No package oracle-rdbms-server-11cR2-preinstall available. |
carried out:
[Root @ zichuan1 ~] # cd /etc/yum.repos.d/ [root@zichuan1 ~]# wget http://public-yum.oracle.com/public-yum-ol6.repo [root@zichuan1 ~]# yum install oracle-rdbms-server-11gR2-preinstall |
11g installation time, there may be circumstances unable to find the shared ASM disk .
This step will need to click Change Discovery Path, the path is found to modify / dev / oracleasm / disks / *.
grid installed last error [INS-20802] Oracle Cluster Verification Utility failed.
The cause of the error cause is configured in / etc / hosts in the SCAN address, try to ping this address information and, if successful, this error can be ignored.
Check the crs_stat -t, gsd resource discovery and target status values are offline.
Oracle official information explains. The GSD is used in the 9.2 library, if the library is not 9.2, the service is the OFFLINE.
Therefore, this problem can not be considered.
第一个节点执行"root.sh"命令失败。
/u01/11.2.0/grid/bin/srvctl start nodeapps -n RAC01 ... failed
FirstNode configuration failed at
/u01/11.2.0/grid/crs/install/crsconfig_lib.pm line 9288.
/u01/11.2.0/grid/perl/bin/perl -I/u01/11.2.0/grid/perl/lib - I/u01/11.2.0/grid/crs/install /u01/11.2.0/grid/crs/install/rootcrs.pl
execution failed
检查下oraagent_grid.log发现以下错误
无法解析 (:CLSN00010:)无法解析 localhost (为接口 any) 都是这种报错
vi /etc/hosts
添加:
127.0.0.1 localhost
注:安装GRID时,在执行root.sh报错时,首先检查下两个节点的hosts文件IP与主机对应关系是否正确完整,本例就是因为hosts文件不完整导致root.sh执行失败
install的时候有问题
grid安装结束后安装数据库软件,创建磁盘组的时候出现asm磁盘识别不了的情况:
解决方法:
SQL> create diskgroup DATA external redundancy disk '/dev/oracleasm/disks/DATA' ATTRIBUTE 'compatible.asm'='11.2.0.0.0','compatible.rdbms'='11.2.0.0.0';
create diskgroup DATA external redundancy disk '/dev/oracleasm/disks/DATA' ATTRIBUTE 'compatible.asm'='11.2.0.0.0','compatible.rdbms'='11.2.0.0.0'
*
ERROR at line 1:
ORA-15018: diskgroup cannot be created
ORA-15031: disk specification '/dev/oracleasm/disks/DATA' matches no disks
ORA-15014: path '/dev/oracleasm/disks/DATA' is not in the discovery set
SQL> show parameter asm_diskstring;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
asm_diskstring string
SQL> alter system set asm_diskstring='/dev/oracleasm/disks/*';
alter system set asm_diskstring='/dev/oracleasm/disks/*'
*
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-15014: path 'ORCL:CRS1' is not in the discovery set
SQL> create diskgroup DATA external redundancy disk 'ORCL:DATA' ATTRIBUTE 'compatible.asm'='11.2.0.0.0','compatible.rdbms'='11.2.0.0.0';
Diskgroup created.