码迷,mamicode.com
首页 > 数据库 > 详细

Oracle RAC 11.2.0.4 – RHRL 6.4: DiskGroup resource are not running on nodes. Database instance may not come up on these nodes

时间:2016-07-28 14:11:28      阅读:656      评论:0      收藏:0      [点我收藏+]

标签:

使用DBCA创建新库的时候报错:

技术分享

 

查看资源状态:

$ crsctl stat res -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
               ONLINE  ONLINE       rac11g1                                      
               OFFLINE OFFLINE      rac11g2                                      
ora.FRA.dg
               ONLINE  ONLINE       rac11g1                                      
               ONLINE  ONLINE       rac11g2                                      
ora.LISTENER.lsnr
               ONLINE  ONLINE       rac11g1                                      
               ONLINE  ONLINE       rac11g2                                      
ora.OCR.dg
               ONLINE  ONLINE       rac11g1                                      
               ONLINE  ONLINE       rac11g2                                      
ora.asm
               ONLINE  ONLINE       rac11g1                  Started             
               ONLINE  ONLINE       rac11g2                  Started             
ora.gsd
               OFFLINE OFFLINE      rac11g1                                      
               OFFLINE OFFLINE      rac11g2                                      
ora.net1.network
               ONLINE  ONLINE       rac11g1                                      
               ONLINE  ONLINE       rac11g2                                      
ora.ons
               ONLINE  ONLINE       rac11g1                                      
               ONLINE  ONLINE       rac11g2                                      
ora.registry.acfs
               ONLINE  ONLINE       rac11g1                                      
               ONLINE  ONLINE       rac11g2                                      
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       rac11g1                                      
ora.cvu
      1        ONLINE  ONLINE       rac11g1                                      
ora.oc4j
      1        ONLINE  ONLINE       rac11g1                                      
ora.rac11g1.vip
      1        ONLINE  ONLINE       rac11g1                                      
ora.rac11g2.vip
      1        ONLINE  ONLINE       rac11g2                                      
ora.scan1.vip
      1        ONLINE  ONLINE       rac11g1  

可以发现,在第二节点,资源ora.DATA.dg处于offline状态。

 

使用asmcmd查看也没做发现磁盘组data:

$ asmcmd
ASMCMD> ls -l
State    Type    Rebal  Name
MOUNTED  EXTERN  N      FRA/
MOUNTED  NORMAL  N      OCR/
ASMCMD>

  

解决方法:

重新mount一下没发现的磁盘组data

SQL> alter diskgroup data mount;

再次查看资源的状态,发现已经处于online状态:

$ crsctl stat res -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
               ONLINE  ONLINE       rac11g1                                      
               ONLINE  ONLINE       rac11g2                                      
ora.FRA.dg
               ONLINE  ONLINE       rac11g1                                      
               ONLINE  ONLINE       rac11g2                                      
ora.LISTENER.lsnr
               ONLINE  ONLINE       rac11g1                                      
               ONLINE  ONLINE       rac11g2                                      
ora.OCR.dg
               ONLINE  ONLINE       rac11g1                                      
               ONLINE  ONLINE       rac11g2                                      
ora.asm
               ONLINE  ONLINE       rac11g1                  Started             
               ONLINE  ONLINE       rac11g2                  Started             
ora.gsd
               OFFLINE OFFLINE      rac11g1                                      
               OFFLINE OFFLINE      rac11g2                                      
ora.net1.network
               ONLINE  ONLINE       rac11g1                                      
               ONLINE  ONLINE       rac11g2                                      
ora.ons
               ONLINE  ONLINE       rac11g1                                      
               ONLINE  ONLINE       rac11g2                                      
ora.registry.acfs
               ONLINE  ONLINE       rac11g1                                      
               ONLINE  ONLINE       rac11g2                                      
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       rac11g1                                      
ora.cvu
      1        ONLINE  ONLINE       rac11g1                                      
ora.oc4j
      1        ONLINE  ONLINE       rac11g1                                      
ora.rac11g1.vip
      1        ONLINE  ONLINE       rac11g1                                      
ora.rac11g2.vip
      1        ONLINE  ONLINE       rac11g2                                      
ora.scan1.vip
      1        ONLINE  ONLINE       rac11g1

然后可以继续安装!

 

补充:

也有人遇到类似问题,通过以下方法解决了问题

To find out diskgroup resource status:

$GRID_HOME/bin/srvctl status diskgroup -g diskgroupname -a

To start or sync diskgroup resource:

$GRID_HOME/bin/srvctl start diskgroup -g diskgroupname

 

 

 

Oracle RAC 11.2.0.4 – RHRL 6.4: DiskGroup resource are not running on nodes. Database instance may not come up on these nodes

标签:

原文地址:http://www.cnblogs.com/abclife/p/5714508.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!