Cambiar ocr de diskgroup
Si estás interesado en cambiar los ocr de un diskgroup a otro, puedes seguir estos pasos.
[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
Para cambiar el orden en el que aparecen (+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
Añadiendo valor con Arumel!!