ocr的迁移,可以在crs资源online状态进行
ocfs共享的rac,需要先touch一个空文件
安全考虑,先镜像一个ocr,再删除旧的,10g的rac添加,删除,替换ocr全是replace,有点容易混淆
[[email protected] crs_data]# touch ocr [[email protected] crs_data]# ocrconfig -replace ocrmirror /oradata/crs_data/ocr [[email protected] crs_data]$ ocrcheck Status 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.bak Device/File integrity check succeeded Device/File Name : /oradata/crs_data/ocr Device/File integrity check succeeded Cluster registry integrity check succeeded
替换掉原来的ocr文件
[[email protected] crs_data]$ sudo ocrconfig -replace ocr [[email protected] crs_data]$ ocrcheck Status 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
时间: 2024-11-13 06:53:59