Oracle Study之--Oracle 11gR2 RAC crs啟動故障

來源:互聯網
上載者:User

標籤:oracle

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


本文出自 “天涯客的blog” 部落格,請務必保留此出處http://tiany.blog.51cto.com/513694/1659762

Oracle Study之--Oracle 11gR2 RAC crs啟動故障

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.