oracle集群注冊(cè)表(ocr)是oracle rac配置信息的資料庫,用于管理集群節(jié)點(diǎn)列表和實(shí)例的信息
ocr位置是安裝crs時(shí)指定的,位于== cat /etc/oracle/ocr.loc==

[root@host03 ~]# cat /etc/oracle/ocr.loc
#Device/file getting replaced by device +DGACFS/cluster01/OCRFILE/registry.255.1117900157
ocrconfig_loc=+DGDATA/cluster01/OCRFILE/registry.255.1117898429
ocrmirrorconfig_loc=+DGFRA/cluster01/OCRFILE/registry.255.1117900147
ocrconfig_loc3=+DGACFS/cluster01/OCRFILE/registry.255.1117900157檢查OCR的完整性
[root@host03 ~]# ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 4
Total space (kbytes) : 409568
Used space (kbytes) : 2868
Available space (kbytes) : 406700
ID : 301143007
Device/File Name : +DGDATA
Device/File integrity check succeeded
Device/File Name : +DGFRA
Device/File integrity check succeeded
Device/File Name : +DGACFS
Device/File integrity check succeeded
Device/File not configured
Device/File not configured
Cluster registry integrity check succeeded
Logical corruption check succeeded
[root@host03 ocrbackup]# ocrconfig -delete +DGACFS
[root@host03 ocrbackup]# ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 4
Total space (kbytes) : 409568
Used space (kbytes) : 2900
Available space (kbytes) : 406668
ID : 301143007
Device/File Name : +DGDATA
Device/File integrity check succeeded
Device/File Name : +DGFRA
Device/File integrity check succeeded
Device/File not configured
Device/File not configured
Device/File not configured
Cluster registry integrity check succeeded
Logical corruption check succeeded
olr:本地注冊(cè)表位于:grid_home/host_name.olr
檢查本地節(jié)點(diǎn)olr狀態(tài)
[root@host03 ~]# ocrcheck -local
Status of Oracle Local Registry is as follows :
Version : 4
Total space (kbytes) : 409568
Used space (kbytes) : 816
Available space (kbytes) : 408752
ID : 1286866930
Device/File Name : /u01/app/12.1.0/grid/cdata/host03.olr
Device/File integrity check succeeded
Local registry integrity check succeeded
Logical corruption check succeeded
還原olr順序
1 crsctl stop crs
2 [root@host03 ~]# ocrconfig -showbackup
PROT-24: Auto backups for the Oracle Cluster Registry are not available
host04 2022/12/03 20:25:41 /home/oracle/ocrbackup/backup_20221203_202541.ocr 0
3 ocrconfig -local -restore4 [root@host03 ~]# ocrcheck -local
5 crsctl start crs
6 cluvfy comp clr 還原ocr
crsctl stop crs
crsctl start crs -excl
ocrconfig -local -restore
你是否還在尋找穩(wěn)定的海外服務(wù)器提供商?創(chuàng)新互聯(lián)www.cdcxhl.cn海外機(jī)房具備T級(jí)流量清洗系統(tǒng)配攻擊溯源,準(zhǔn)確流量調(diào)度確保服務(wù)器高可用性,企業(yè)級(jí)服務(wù)器適合批量采購,新人活動(dòng)首月15元起,快前往官網(wǎng)查看詳情吧
本文名稱:OCR/OLR管理-創(chuàng)新互聯(lián)
新聞來源:http://chinadenli.net/article40/hhieo.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供品牌網(wǎng)站制作、營銷型網(wǎng)站建設(shè)、響應(yīng)式網(wǎng)站、企業(yè)網(wǎng)站制作、軟件開發(fā)、企業(yè)建站
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容