Backup and Restore of Clusterware Files

OCR FILE:

>By default oracle takes the backup of OCR for every 4 hours ,at the end of the day
and at the end of the week.
>The default backup location is CRS_HOME in 10g (i.e:$ORA_CRS_HOME/cdata/crs)
>To know the master node and default backup location
$ocrconfig -showbackup
>For Taking the backup of OCR Manually
#ocrconfig -export /opt/ocr.bkp

NOTE: wheneverwe make some structural changes to the cluster it is recommended
to take the backup of OCR Manually.

RESTORING OCR FROM AUTOBACKUP:

#ocrconfig -restore $ORA_CRS_HOME/cdata/crs/day.ocr

RESTORING OCR FROM THE MANUAL BACKUP

#ocrconfig -import /opt/ocr.bkp

VOTING FILE:

> In 10g, by default oracle will not take the backup of voting file
> If the voting file is in raw partition use dd command to take the backup
#dd if=/dev/sda5 of=/opt/voting.bkp

>If the voting file is in a cluster file system use cp command to take
the backup

RESTORING VOTING FILE:
# dd if=/opt/voting.bkp of=/dev/sda5

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s