hp unix oracle rac節點一磁碟損壞,節點修複

來源:互聯網
上載者:User

標籤:evm   ble   database   specified   UI   opera   home   crs_stat   ssd   

oracle 10g rac用的service guide 作為叢集基礎的軟體
相關目錄資訊:
ORA_CRS_HOME=$ORACLE_BASE/10.2/crs
Ocr資訊: /dev/vgdata/rrac_ocr_1 640 root:dba
其中一個節點,兩塊磁碟損壞,從另外一個節點拿了一塊硬碟做的mirror,更改主機名稱,IP後,探索資料庫crs無法啟動;

一 檢查crs日誌
無任何日誌產生,證明其沒有對crs發起操作
二嘗試手動啟動crsctl start crs,報錯,crsctl check crs進程,發現無法通訊,檢查os進程,ps-ef|grep –i d.bin,無有價值資訊,進入/sbin/init.d start

Attempting to start CRS stackFailure at scls_scr_create with code 1Internal Error Information:  Category: 1234  Operation: scls_scr_create  Location: mkdir  Other: Unable to make user dir  Dep: 2

sh -x /sbin/iinit.d start
檢查作業系統日誌:

/var/adm/messages/sbin/init.d/init.cssd[537]: /var/opt/oracle/scls_scr/rqtmsdb2/root/cssrun: Cannot create the specified file.Startup will be queued to init within 30 seconds.

這個錯誤比較有意義,有檔案不存在,那麼檢查目錄,確實不存在,手動建立之;
三再次啟動crs

crsctl start crs crsctl check crsCSS appears healthyCRS appears healthyEVM appears healthy

crs,evmd,cssd啟動了,但監聽,資料庫無法啟動
四 其實可以猜到後面的原因了,因為是mirror,所有和1有關的節點資訊都得改成2,後面就比較繁瑣了
檢查alert_jkweb2.log:
syslog: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl
修改$ORA_CRS_HOME下的記錄檔目錄,再次啟動crs,但監聽,資料庫還是無法啟動.
檢查監聽參數檔案:$ORACLE_HOME/network/admin/listener.ora
手動修改監聽參數檔案,資料庫口令檔案,參數檔案
手動拉起資料庫;
五 重啟主機,crs又無法啟動了,檢查service guide:
cmrunnode -v
發現pkg1 並未啟動,手動拉起包,
cmrunpkg –v –n jkweb1 pkg1
檢查:

cmviewcl檢查crs狀態:cd $ORA_CRS_HOME/bin./crs_stat –t –v

檢查資料庫狀態:
srvctl status database –d db_name
一切正常,收工;
有時覺得service guide是個好東西;

hp unix oracle rac節點一磁碟損壞,節點修複

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.