Change ocr of diskgroup
If you are interested in changing the ocr from a diskgroup to another diskgroup, you can follow these steps.
[root@nodo1 ~]# ocrcheck Status of Oracle Cluster Registry is as follows : Version : 4 Total space (kbytes) : 409568 Used space (kbytes) : 2804 Available space (kbytes) : 406764 ID : 1169963772 Device/File Name : +MGMTDB Device/File integrity check succeeded Device/File Name : +VOTOCR 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
[root@nodo1 ~]# ocrconfig -add +VOTOCR [root@nodo1 ~]# ocrconfig -delete +PROVOTOCR
[root@nodo1 ~]# ocrcheck Status of Oracle Cluster Registry is as follows : Version : 4 Total space (kbytes) : 409568 Used space (kbytes) : 2824 Available space (kbytes) : 406744 ID : 1169963772 Device/File Name : +MGMTDB Device/File integrity check succeeded Device/File Name : +VOTOCR 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
For changing the order between diskgroups (+MGMTDB/+VOTOCR –> +VOTOCR/+MGMTDB)
[root@nodo1 ~]# ocrcheck Status of Oracle Cluster Registry is as follows : Version : 4 Total space (kbytes) : 409568 Used space (kbytes) : 2804 Available space (kbytes) : 406764 ID : 1169963772 Device/File Name : +MGMTDB Device/File integrity check succeeded Device/File Name : +VOTOCR 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 [root@nodo1 ~]# ocrconfig -delete +MGMTDB [root@nodo1 ~]# ocrconfig -add +MGMTDB [root@nodo1 ~]# ocrcheck Status of Oracle Cluster Registry is as follows : Version : 4 Total space (kbytes) : 409568 Used space (kbytes) : 2804 Available space (kbytes) : 406764 ID : 1169963772 Device/File Name : +VOTOCR Device/File integrity check succeeded Device/File Name : +MGMTDB 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
Adding value with Arumel!!