We Need To Backup Voting Disk and OCR For Oracle RAC For Disaster Situation :
Add Voting Disk :
# crsctl add css votedisk
To remove a voting disk:
# crsctl delete css votedisk
If Oracle Clusterware is down on all nodes, use the –force option:
# crsctl add css votedisk -force
# crsctl delete css votedisk -force
Backup Voting Disk :
$ crsctl query css votedisk
$ dd if= of= bs=4k
OCR BACKUP :
Oracle RAC Taking Backup For OCR By Default , You will Find It On :
cd $ORACLE_BASE/Crs/cdata/jfv_clus
Change the default automatic backup location:
# ocrconfig –backuploc /shared/bak
Back Up OCR Manually :
# ocrconfig –export file name
Recover OCR Using Physical Backups:
1.Locate a physical backup:
$ ocrconfig –showbackup
2.Review its contents:
# ocrdump –backupfile file_name
3.Stop Oracle Clusterwareon all nodes:
# crsctl stop crs
4.Restore the physical OCR backup:
# ocrconfig –restore <CRS HOME>/cdata/jfv_clus/day.ocr
5.Restart Oracle Clusterware on all nodes:
# crsctl start crs
6.Check OCR integrity:
$ cluvfy comp ocr -n all
Thank You
Osama Mustafa
Like this:
Like Loading...
Related
Published by Osama Mustafa
Osama considered as one of the leaders in Cloud technology, DevOps and database in the Middle-East. I have more than ten years of experience within the industry. moreover, certfied 4x AWS , 4x Azure and 6x OCI, have also obtained database certifications for multiple providers.
In addition to having experience with Oracle database and Oracle products, such as middle-ware, OID, OAM and OIM, I have gained substantial knowledge with different databases.
Currently, I am architecting and implementing Cloud and DevOps. On top of that, I'm providing solutions for companies that allow them to implement the solutions and to follow the best practices.
View all posts by Osama Mustafa