Environment: aix7.1+oracle RAC 11.2.0.3
Migration Description: Today in the installation of Oracle RAC, the wrong 500G data disk as a OCRDG, then later more trouble, only to speak OCR and Votedisk migrated to the new OCRDG, and DATADG deleted and formatted the disk. (Ocrdg is normal redundancy) operation is as follows:
[Email protected]:/home/grid>/oraapp/grid/gridhome/bin/ocrcheckstatus of Oracle Cluster Registry is as Follows: version 3 total space (Kbytes) : 1469612&N Bsp used space (Kbytes) : 3784 available Space (Kbytes): 1465828 id &NB Sp : 1820175369 device/file Name &nbs P : +DATADG &N Bsp device/file integrity check succeeded & nbsp   Device/file not configured &NBSP ; Device/file not configured  ; cluster registry integrity check succeeded logical corruption Check bypassed due to non-privileged user add OCR information to +OCRDG: [Email protected]:./root>/oraapp/grid/ Gridhome/bin/ocrconfig-add +OCRDG
Delete +DATADG in Ocr:[email protected]:./root>/oraapp/grid/gridhome/bin/ocrconfig-delete +DATADG
Then migrate votedisk:[email protected]:/home/grid>crsctl replace Votedisk +OCRDG view votedisk information: [Email protected]:/home/ Grid>crsctl query CSS Votedisk;
View diskgroup information: Sqlplus/as sysasm sql> Select Group_number,name,state,type from V$asm_diskgroup;
At this time spfile stored in +DATADG, need to reconstruct spfile:sql>create pfile= '/tmp/asmpfile.ora ' from SPFile; Sql>create spfile= ' +ocrdg ' from pfile= '/tmp/asmpfile.ora ';
Then restart the CRS with the root user (restart in both order)
[Email protected]:./root>/oraapp/grid/gridhome/bin/crsctl stop Crs[email Protected]:./root>/oraapp/grid/ Gridhome/bin/crsctl Start CRS
To delete a disk group +DATADG:
Sql>alter DiskGroup DATADG Dismount; Sql>drop DiskGroup DATADG including contents;
Oracle Rac 11.2.0.3 migrating OCR and Votedisk