oracle集群注册表(ocr)是oracle rac配置信息的资料库,用于管理集群节点列表和实例的信息
ocr位置是安装crs时指定的,位于== 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:本地注册表位于:grid_home/host_name.olr
检查本地节点olr状态
[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
你是否还在寻找稳定的海外服务器提供商?创新互联www.cdcxhl.cn海外机房具备T级流量清洗系统配攻击溯源,准确流量调度确保服务器高可用性,企业级服务器适合批量采购,新人活动首月15元起,快前往官网查看详情吧
本文名称:OCR/OLR管理-创新互联
新闻来源:https://www.cdcxhl.com/article40/hhieo.html
成都网站建设公司_创新互联,为您提供品牌网站制作、营销型网站建设、响应式网站、企业网站制作、软件开发、企业建站
声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联