Oracle Rac 11.2.0.3 migrating OCR and Votedisk

Source: Internet
Author: User

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&nbsp ;        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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.