首页 > 代码库 > ocr迁移

ocr迁移

ocr的迁移,可以在crs资源online状态进行

ocfs共享的rac,需要先touch一个空文件

安全考虑,先镜像一个ocr,再删除旧的,10g的rac添加,删除,替换ocr全是replace,有点容易混淆

[root@rac2 crs_data]# touch ocr[root@rac2 crs_data]# ocrconfig -replace ocrmirror /oradata/crs_data/ocr[oracle@rac2 crs_data]$ ocrcheckStatus of Oracle Cluster Registry is as follows :Version : 2Total space (kbytes) : 262120Used space (kbytes) : 5432Available space (kbytes) : 256688ID : 982267297Device/File Name : /oradata/crs_data/ocr.bakDevice/File integrity check succeededDevice/File Name : /oradata/crs_data/ocrDevice/File integrity check succeededCluster registry integrity check succeeded

替换掉原来的ocr文件

[oracle@rac2 crs_data]$ sudo ocrconfig -replace ocr[oracle@rac2 crs_data]$ ocrcheckStatus of Oracle Cluster Registry is as follows :	 Version                  :          2	 Total space (kbytes)     :     262120	 Used space (kbytes)      :       5432	 Available space (kbytes) :     256688	 ID                       :  982267297	 Device/File Name         : /oradata/crs_data/ocr                                    Device/File integrity check succeeded                                    Device/File not configured	 Cluster registry integrity check succeeded

  

ocr迁移