重庆分公司,新征程启航

为企业提供网站建设、域名注册、服务器等服务

OCR/OLR管理-创新互联

OCR:

oracle集群注册表(ocr)是oracle rac配置信息的资料库,用于管理集群节点列表和实例的信息
ocr位置是安装crs时指定的,位于== cat /etc/oracle/ocr.loc==

成都创新互联公司是专业的嵊泗网站建设公司,嵊泗接单;提供成都网站设计、成都网站建设,网页设计,网站设计,建网站,PHP网站建设等专业做网站服务;采用PHP框架,可快速的进行嵊泗网站开发网页制作和功能扩展;专业做搜索引擎喜爱的网站,专业的做网站团队,希望更多企业前来合作!
[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管理-创新互联
当前链接:http://cqcxhl.com/article/hhieo.html

其他资讯

在线咨询
服务热线
服务热线:028-86922220
TOP