oracle11gR2asm不能啟動的處理方法

這篇文章將為大家詳細講解有關oracle 11gR2 asm不能啟動的處理方法,文章內容質量較高,因此小編分享給大家做個參考,希望大家閱讀完這篇文章后對相關知識有一定的了解。

在諸暨等地區(qū),都構建了全面的區(qū)域性戰(zhàn)略布局,加強發(fā)展的系統(tǒng)性、市場前瞻性、產品創(chuàng)新能力,以專注、極致的服務理念,為客戶提供成都做網站、網站建設、外貿營銷網站建設 網站設計制作定制網站,公司網站建設,企業(yè)網站建設,品牌網站設計,營銷型網站,成都外貿網站制作,諸暨網站建設費用合理。

公司由于斷電導致oracle 11g R2 asm(aix 6.1) 數(shù)據(jù)庫不能啟動,處理過程如下:

aix1@grid[/oracle11/app/grid/11.2.0]$sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Mon Mar 12 14:22:13 2012

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup
ORA-01078: failure in processing system parameters
ORA-29701: unable to connect to Cluster Synchronization Service

檢測 css 進程:

aix1@grid[/home/grid]$crsctl check css
CRS-4639: Could not contact Oracle High Availability Services
CRS-4000: Command Check failed, or completed with errors.
aix1@grid[/home/grid]$ps -ef|grep cssd
    grid 135192 225738   0 12:08:39  pts/2  0:00 grep cssd

檢測has進程:

aix1@grid[/home/grid]$crsctl check has
CRS-4639: Could not contact Oracle High Availability Services

說明ohasd進程沒有啟動,啟動ohasd進程:

# ./ohasd start
Starting ohasd:
CRS-4123: Oracle High Availability Services has been started.

檢查:

aix1@grid[/oracle11/app/grid/11.2.0]$ crsctl stat resource -t -init
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS      
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA2.dg
               ONLINE  OFFLINE      aix1                                        
ora.LISTENER.lsnr
               ONLINE  OFFLINE      aix1                                        
ora.asm
               ONLINE  OFFLINE      aix1                                        
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cssd
      1        ONLINE  OFFLINE                                                  
ora.db11.db
      1        ONLINE  OFFLINE                                                  
ora.diskmon
      1        ONLINE  OFFLINE 

啟動數(shù)據(jù)庫:

 

aix1@grid[/oracle11/app/grid/11.2.0]$su - oracle11
oracle11's Password:
aix1@oracle11[/dsg]$sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Mon Mar 12 14:34:34 2012

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup
ORACLE instance started.

Total System Global Area 1.3696E+10 bytes
Fixed Size                  2219808 bytes
Variable Size            6878658784 bytes
Database Buffers         6777995264 bytes
Redo Buffers               37015552 bytes
Database mounted.
Database opened.
SQL>

ok 數(shù)據(jù)庫啟動。

接下就是要探討為什么ohasd進程為什么在開機的時候沒有自動啟動?

原因是:安裝grid 軟件的lv不是自動掛載的。所以服務器在啟動的時候是不能自動掛載grid所在lv,也就不能自動啟動ohasd了。如果手動掛載lv,那么必須手動啟動ohasd服務。

修改lv為自動掛載:

System Storage Management (Physical & Logical Storage)
-->File Systems
--->Add / Change / Show / Delete File Systems
-->Enhanced Journaled File Systems
-->Change / Show Characteristics of an Enhanced Journaled File System

選擇要自動掛載點
Mount AUTOMATICALLY at system restart?              yes         ------由no改為yes即可

數(shù)據(jù)剛安裝完成的時候,has進程是自動啟動,用下面的命令設置自動啟動;

aix1@grid[/home/grid]$crsctl enable has  --啟用自動啟動

aix1@grid[/home/grid]$crsctl disable has --關閉自動啟動

手動啟動 has:

crsctl start  has

crsctl stop has

查看has 的狀態(tài):

crsctl check has

ohasd 資源啟動后,才能啟動crs資源。

在11gR2中, ohasd包含了crsd、ocssd、evmd.

ohasd負責啟動lower stack的集群資源, crsd負責啟動上層的集群資源.

關于oracle 11gR2 asm不能啟動的處理方法就分享到這里了,希望以上內容可以對大家有一定的幫助,可以學到更多知識。如果覺得文章不錯,可以把它分享出去讓更多的人看到。

新聞標題:oracle11gR2asm不能啟動的處理方法
文章位置:http://muchs.cn/article32/gdigsc.html

成都網站建設公司_創(chuàng)新互聯(lián),為您提供網站設計定制開發(fā)、移動網站建設品牌網站設計、營銷型網站建設、網站建設

廣告

聲明:本網站發(fā)布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創(chuàng)新互聯(lián)

網站優(yōu)化排名