Oracle Study之--Oracle 11gR2 RAC crs启动故障

Oracle Study之--Oracle 11gR2 RAC crs启动故障


系统环境:

    操作系统:RedHat EL5

    Cluster:  Oracle 11gR2 Grid

    Oracle:   Oracle 11gR2 

RAC环境中,其中一个节点crsd进程启动失败:

[[email protected] ~]$ crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online

1、查看日志
[[email protected] ~]# cd /u01/11.2.0/grid/log
[[email protected] log]# ls
crs  diag  wyb666
[[email protected] log]# cd wyb666/
[[email protected] wyb666]# ls
admin  alertwyb666.log  crsd  ctssd    evmd   gnsd   mdnsd  racg
agent  client           cssd  diskmon  gipcd  gpnpd  ohasd  srvm
[[email protected] wyb666]# cd crsd
[[email protected] crsd]# ls
crsd.log  crsdOUT.log  crsd.trc
[[email protected] crsd]# tail crsd.log 
2015-06-08 11:41:28.430: [  OCRASM][3046103824]proprasmcl: asmhandle is NULL
2015-06-08 11:41:28.430: [  OCRRAW][3046103824]proprinit: Could not open raw device 
2015-06-08 11:41:28.430: [  OCRASM][3046103824]proprasmcl: asmhandle is NULL
2015-06-08 11:41:28.430: [  OCRAPI][3046103824]a_init:16!: Backend init unsuccessful : [26]
2015-06-08 11:41:28.430: [  CRSOCR][3046103824] OCR context init failure.  Error: PROC-26: Error while accessing the physical storage ASM error [SLOS: cat=7, opn=kgfoAl06, dep=15077, loc=kgfokge
ORA-15077: could not locate ASM instance serving a required diskgroup
] [7]
2015-06-08 11:41:28.430: [    CRSD][3046103824][PANIC] CRSD exiting: Could not init OCR, code: 26
2015-06-08 11:41:28.430: [    CRSD][3046103824] Done.

从以上可以看出:在crs service启动时,无法访问OCR磁盘,访问ASM DISKGROUP 失败!

2、查看ASM磁盘组信息
[[email protected] crsd]# service oracleasm listdisks
ASM_DATA1
ASM_DATA2
ASM_RCY1
ASM_RCY2
OCR_VOTE1
OCR_VOTE2
OCR_VOTE3
[[email protected] crsd]# ls -l /dev/oracleasm/disks
total 0
brw-rw---- 1 grid asmadmin 8, 21 Jun  8 09:23 ASM_DATA1
brw-rw---- 1 grid asmadmin 8, 22 Jun  8 09:23 ASM_DATA2
brw-rw---- 1 grid asmadmin 8, 23 Jun  8 09:23 ASM_RCY1
brw-rw---- 1 grid asmadmin 8, 24 Jun  8 09:23 ASM_RCY2
brw-rw---- 1 grid asmadmin 8, 17 Jun  8 11:53 OCR_VOTE1
brw-rw---- 1 grid asmadmin 8, 18 Jun  8 11:53 OCR_VOTE2
brw-rw---- 1 grid asmadmin 8, 19 Jun  8 11:53 OCR_VOTE3

解决方法:

重新启动CRS服务,然后再手工启动ASM Instance:

启动ASM Instance
[[email protected] crsd]# su - grid

[[email protected] ~]$ sqlplus ‘/as sysasm‘
SQL*Plus: Release 11.2.0.1.0 Production on Mon Jun 8 11:59:26 2015
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
Connected to an idle instance.
SQL> conn /as  sysasm
Connected to an idle instance.
SQL> startup
ASM instance started
Total System Global Area  284565504 bytes
Fixed Size                  1336036 bytes
Variable Size             258063644 bytes
ASM Cache                  25165824 bytes
ASM diskgroups mounted
ASM diskgroups volume enabled

SQL> select name,state from v$asm_diskgroup;
NAME                           STATE
------------------------------ -----------
DATA                           MOUNTED
DG1                            MOUNTED
RCY1                           MOUNTED

启动成功:
[[email protected] ~]# crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online

时间: 2024-12-07 01:41:19

Oracle Study之--Oracle 11gR2 RAC crs启动故障的相关文章

Oracle Study之--Oracle 11gR2 RAC crs启动故障(CRS-4000)

Oracle Study之--Oracle 11gR2 RAC crs启动故障(CRS-4000) 系统环境:     操作系统:RedHat EL5     Cluster:  Oracle 11gR2 Grid     Oracle:   Oracle 11gR2  在启动一个node的CRS时出现以下错误,错误现象: [[email protected] ~]# crsctl start crs   Failure at scls_scr_getval with code 1   Inte

Oracle Study之--Oracle 11gR2构建RAC之hosts文件故障

Oracle Study之--Oracle 11gR2构建RAC之hosts文件故障 系统环境:RedHat EL55 Oracle:    Oracle 11gR2 +GI 在安装GI,运行root.sh script时,其中一个node出现以下错误: [[email protected] ctssd]# /u01/11.2.0/grid/root.sh Running Oracle 11g root.sh script... The following environment variabl

Oracle Study之--Oracle 11g RAC添加节点错误

Oracle Study之--Oracle 11g RAC添加节点错误 系统环境:     操作系统:RedHat EL5     Cluster:  Oracle 11gR2 Grid     Oracle:   Oracle 11gR2  故障一:新节点和原节点时间不同步,添加节点失败 1.在新节点执行"root.sh"  [root@wqy3 install]# /u01/11.2.0/grid/root.sh  Running Oracle 11g root.sh script

Oracle Study之--Oracle 11g RAC故障(Failed to create or upgrade OLR)

Oracle Study之--Oracle 11g RAC故障(Failed to create or upgrade OLR) 系统环境:       操作系统: RedHat EL5.5       Cluster:   Oracle Grid 11.2.0.1.0       Oracle:     Oracle 11g  11.2.0.1.0 故障现象:             在Oracle 11gR2  RAC添加新节点的过程中,在new node上运行root.sh时出现以下故障:

Oracle Study之--Oracle 11gR2通过RMAN克隆数据库

Oracle Study之--Oracle 11gR2通过RMAN克隆数据库 Purpose of Database Duplication A duplicate database is useful for a variety of purposes, most of which involve testing. You can perform the following tasks in a duplicate database: Test backup and recovery proc

Oracle Study之--Oracle 单实例11.2.0.1.0升级到11.2.0.3.0

Oracle Study之--Oracle 单实例11.2.0.1.0升级到11.2.0.3.0 系统环境: 操作系统:RedHat EL6(64位) Oracle:    Oracle 11gR2 Oracle 11.2.0.1 单实例升级到11.2.0.3 Oracle 升级的步骤都差不多,先升级Oracle software,然后升级Oracle instance. Oracle 11.2.0.2的patchset No 是:10098816. 关于该Patchset 的下载地址,参考下面

Oracle Study之-Oracle 11g OCM考试(1)

Oracle Study之-Oracle 11g OCM考试(1) 系统环境:RedHat EL64 Oracle:   Oracle 11gR2       Oracle 11g OCM考试第一题,手工建库,参考文档.参考人员必须对文档非常熟悉,才可以在指定的时间内完成任务. 一.查看系统环境 [[email protected] ~]$ cat .bash_profile # .bash_profile export EDITOR=vi export ORACLE_SID=prod expo

Oracle Study之--Oracle等待事件(1)

Oracle Study之--Oracle等待事件(1) 一. 等待事件的相关知识1.1 等待事件主要可以分为两类: 即空闲(IDLE)等待事件和非空闲(NON-IDLE)等待事件.1). 空闲等待事件指ORACLE正等待某种工作,在诊断和优化数据库的时候,不用过多注意这部分事件.2). 非空闲等待事件专门针对ORACLE的活动,指数据库任务或应用运行过程中发生的等待,这些等待事件 是在调整数据库的时候需要关注与研究的.在Oracle 10g中的等待事件有874个,11g中等待事件1118个.

Oracle Study之--Oracle TimeZone升级

Oracle Study之--Oracle TimeZone升级 http://tiany.blog.51cto.com/513694/1411882  Oracle 10gR2升级到Oracle 11gR2       当Oracle database从10gR2升级到11gR2之后,需要升级timezone version,以下详细介绍了timezone的升级过程. Oracle timezone 升级 背景描述: 如果需要支持一个国际化的应用,那么数据库端的国际化特性的支持也就显得尤其重要