我用:
我用ocfs文件系统生成镜像文件如下:
ocrconfig -replace ocrmirror /ocfs/clusterware/ocr1
[root@rac2 clusterware]# ll
total 404212
-rw-r-----1 oracle oinstall 4165632 Feb 13 15:58 ocr
-rw-r--r--1 oracle oinstall 399507456 Feb 13 16:56 ocr1
1、生成的镜像很大,为什么?
然后
[root@rac2 clusterware]# ocrcheck
Status of Oracle Cluster Registry is as follows :
Version
:
2
Total space (kbytes) : 262144
Used space (kbytes): 3836
Available space (kbytes) : 258308
ID
: 1614641609
Device/File Name : /ocfs/clusterware/ocr
Device/File integrity check succeeded
Device/File Name : /ocfs/clusterware/ocr1
Device/File integrity check succeeded
Cluster registry integrity check succeeded
[root@rac2 clusterware]# ocrconfig -replace ocr
[root@rac2 clusterware]# ocrcheck
Status of Oracle Cluster Registry is as follows :
Version
:
2
Total space (kbytes) : 262144
Used space (kbytes): 3836
Available space (kbytes) : 258308
ID
: 1614641609
Device/File Name : /ocfs/clusterware/ocr1
Device/File integrity check succeeded
Device/File not configured
Cluster registry integrity check succeeded
最后:
[root@rac2 clusterware]# su - oracle
rac2-> crs_stat -t
Name Type TargetState Host
------------------------------------------------------------
ora.devdb.db applicationOFFLINE OFFLINE