Oracle 11g ora 15018,oracle 11gR2 RAC root.sh 错误 ORA-15072 ORA-15018
Oracle 11gR2 RAC安裝Clusterware結(jié)束, 在第二個(gè)節(jié)點(diǎn)執(zhí)行root.sh腳本的是報(bào)如下錯(cuò)誤:
DiskGroup DATA1 creation failed with the following message:
ORA-15018: diskgroup cannot be created
ORA-15072: command requires at least 1 regular failure groups, discovered only 0
在Oracle的官網(wǎng)搜了一下,相關(guān)解釋如下
Applies to:
Oracle Server - Enterprise Edition - Version: 11.2.0.1 and later???[Release: 11.2 and later ]
Information in this document applies to any platform.
Symptoms
While installing Oracle Grid Infrastructure with ASM, root.sh ran successfully in first node, but fails on the second node.
Error example
1. root.sh failed on second node with following errors
-------------------------------------------------------
DiskGroup DATA1 creation failed with the following message:ORA-15018: diskgroup cannot be created
ORA-15072: command requires at least 1 regular failure groups, discovered only 0
Configuration of ASM failed, see logs for details
2. rootcrs_nodename.log
-----------------------
2010-02-03 13:40:43: Configuring ASM via ASMCA
2010-02-03 13:40:43: Executing as oracle: /u01/app/1120/grid/bin/asmca -silent -diskGroupName DATA1 -diskList ORCL:DATA1 -redundancy EXTERNAL -configureLocalASM
2010-02-03 13:40:43: Running as user oracle: /u01/app/1120/grid/bin/asmca -silent -diskGroupName DATA1 -diskList ORCL:DATA1 -redundancy EXTERNAL -configureLocalASM
2010-02-03 13:40:43: Invoking "/u01/app/1120/grid/bin/asmca -silent -diskGroupName DATA1 -diskList ORCL:DATA1 -redundancy EXTERNAL -configureLocalASM" as user "oracle"
2010-02-03 13:40:51: Configuration of ASM failed, see logs for details
3. On the 2nd node
/etc/oratab files shows +ASM1, rather than +ASM2
4. The following commands on the 2nd node show the ASM disk information correctly
/etc/init.d/oracleasm listdisks
/etc/init.d/oracleasm scandisks
ls -ltr /dev/oracleasm/disks
Cause
After configuring multipath disks on Linux x86-64, proper parameters have not been configured in /etc/sysconfig/oracleasmhttps://www.cndba.cn/Dave/article/988
Solution
On all nodes,
1. Modify the /etc/sysconfig/oracleasm with:
ORACLEASM_SCANORDER="dm"
ORACLEASM_SCANEXCLUDE="sd"
2. restart the asmlib by :
# /etc/init.d/oracleasm restart
3. Run root.sh on the 2nd node
在這里要注意的事,在運(yùn)行root.sh腳本的時(shí)候,會(huì)報(bào)如下錯(cuò)誤:
Using configuration parameter file: /oracle/grid/crs/install/crsconfig_params
CRS is already configured on this node for crshome=0
Cannot configure two CRS instances on the same cluster.
Please deconfigure before proceeding with the configuration of new home.
https://www.cndba.cn/Dave/article/988
因?yàn)橹耙呀?jīng)運(yùn)行過了。 我們需要把之前注冊(cè)的信息 刪除之后,在運(yùn)行root.sh腳本。 執(zhí)行如下命令,刪除節(jié)點(diǎn)注冊(cè)信息:
# /oracle/grid/crs/install/roothas.pl -delete -force -verbose
待刪除完成后在執(zhí)行,就不會(huì)報(bào)錯(cuò)了。
參考:
https://www.cndba.cn/Dave/article/988
------------------------------------------------------------------------------
Blog:http://blog.csdn.net/tianlesoftware
https://www.cndba.cn/Dave/article/988
https://www.cndba.cn/Dave/article/988
網(wǎng)上資源:http://tianlesoftware.download.csdn.net
相關(guān)視頻:http://blog.csdn.net/tianlesoftware/archive/2009/11/27/4886500.aspx
DBA3群:62697850DBA超級(jí)群:63306533;
聊天 群:40132017
--加群需要在備注說明Oracle表空間和數(shù)據(jù)文件的關(guān)系,否則拒絕申請(qǐng)
版權(quán)聲明:本文為博主原創(chuàng)文章,未經(jīng)博主允許不得轉(zhuǎn)載。
oracle 11g
總結(jié)
以上是生活随笔為你收集整理的Oracle 11g ora 15018,oracle 11gR2 RAC root.sh 错误 ORA-15072 ORA-15018的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: printf函数的格式修饰符
- 下一篇: 微观经济学如何计算机会成本,【微观经济学