19c grid oracle base 誤刪除恢復操作
阿新 • • 發佈:2022-04-21
測試資料庫升級時報空間不足,把 grid使用者的oracle base /u01/app/11.2.0 刪除導致叢集啟動不起來,
處理步驟
1、節點1執行root.sh 重新配置叢集
2、節點2本地表決檔案和節點1的不同,把節點1的拷貝過去 ,注意使用者組和改名
[+ASM2]@ht02[/u01/app/11.2.0/grid/diag/crs/ht02/crs/trace]$ocrconfig -local -showbackuploc
The Oracle Local Registry backup location is [/u01/app/11.2.0/grid/crsdata/ht02/olr/].
3、ora.storage 服務啟動不起來 報錯ORA-15077 ,手動啟動asm例項 掛載磁碟組、
OCRASM:236908864: SLOS : SLOS: cat=7, opn=kgfoAl06, dep=15077, loc=kgfokge 2022-04-21 18:08:46.434 : OCRASM:236908864: ASM Error Stack : ORA-15077: 找不到提供所需磁碟組的 ASM 例項 2022-04-21 18:08:46.434 : OCRASM:236908864: proprasmo: kgfoCheckMount returned [7] 2022-04-21 18:08:46.434 : OCRASM:236908864: proprasmo: The ASM instance is down 2022-04-21 18:08:46.434 : OCRRAW:236908864: proprioo: Failed to open [+ocr]. Returned proprasmo() with [26]. Marking location as UNAVAILABLE. 2022-04-21 18:08:46.434 : OCRRAW:236908864: proprioo: No OCR/OLR devices are usable OCRUTL:236908864: u_fill_errorbuf: Error Info : [仲裁磁碟不足, 無法開啟 OCR 裝置] default:236908864: u_set_gbl_comp_error: comptype '107' : error '0' 2022-04-21 18:08:46.434 : default:236908864: clsvactversion:4: Retrieving Active Version from local storage. 2022-04-21 18:08:46.436 : OCRRAW:236908864: proprrepauto: The local OCR configuration matches with the configuration published by OCR Cache Writer. No repair required. 2022-04-21 18:08:46.436 : OCRRAW:236908864: proprinit: Could not open raw device 2022-04-21 18:08:46.440 : OCRAPI:236908864: a_init:16!: Backend init unsuccessful : [26] 2022-04-21 18:08:46.440 : OCRAPI:236908864: estack 'PROC-00026: 訪問物理儲存時出錯' 2022-04-21 18:08:46.440 : CRSOCR:236908864: [ ERROR] OCR context init failure. Error: PROC-26: 訪問物理儲存時出錯 儲存層錯誤 [仲裁磁碟不足, 無法開啟 OCR 裝置] [0] 2022-04-21 18:08:46.441 : CRSD:236908864: [ NONE] Created alert : (:CRSD00111:) : Could not init OCR, error: PROC-26: 訪問物理儲存時出錯 儲存層錯誤 [仲裁磁碟不足, 無法開啟 OCR 裝置] [0] 2022-04-21 18:08:46.441 : CRSD:236908864: [ ERROR] [PANIC] CRSD exiting: Could not init OCR, code: 26 2022-04-21 18:08:46.441 : CRSD:236908864: [ INFO] Done. [+ASM2]@ht02[/dev/asm]$crsctl stat res -t -init -------------------------------------------------------------------------------- Name Target State Server State details -------------------------------------------------------------------------------- Cluster Resources -------------------------------------------------------------------------------- ora.asm 1 ONLINE ONLINE ht02 STABLE ora.cluster_interconnect.haip 1 ONLINE ONLINE ht02 STABLE ora.crf 1 ONLINE ONLINE ht02 STABLE ora.crsd 1 ONLINE OFFLINE STABLE ora.cssd 1 ONLINE ONLINE ht02 STABLE ora.cssdmonitor 1 ONLINE ONLINE ht02 STABLE ora.ctssd 1 ONLINE ONLINE ht02 OBSERVER,STABLE ora.diskmon 1 OFFLINE OFFLINE STABLE ora.evmd 1 ONLINE ONLINE ht02 STABLE ora.gipcd 1 ONLINE ONLINE ht02 STABLE ora.gpnpd 1 ONLINE ONLINE ht02 STABLE ora.mdnsd 1 ONLINE ONLINE ht02 STABLE ora.storage 1 ONLINE OFFLINE ht02 STARTING -------------------------------------------------------------------------------- [+ASM2]@ht02[/dev/asm]$crsctl start res ora.crsd -init CRS-5702: Resource 'ora.crsd' is already running on 'ht02' CRS-4000: Command Start failed, or completed with errors.
手動重啟asm解決ora.storage服務一直啟動不起來的問題