Thursday, 2 March 2017


ocrconfig -showbackup 

Is used to display the backup location, timestamp, and the node name from which  backup files originated. 

By default, this command displays information for both automatic and manual backups unless you specify auto or manual.

Ocrconfig -local showbackup manual is used To display manual backup of olr 

ocrconfig [- local] -backuploc file name
  command is used  to specify an OCR backup directory location.


For example :# OCRCONFIG -backuploc $grid_home/cdata/cluster3.
Usage Notes

  • You must run this command as root.
  • Use the -local option to specify an OLR backup directory location.
  • The file_name variable can be a full directory path name that is accessible by all nodes. For example:
    Grid_home/cdata/cluster3/: Ensure that the location exists
    d:\cdata\cluster3: Ensure that the location exists
  • The default location for generating OCR backups on Linux or UNIX systems is Grid_home/cdata/cluster_name, where cluster_name is the name of your cluster. The Windows default location for generating OCR backups uses the same path structure.
  • The default location for generating OLR backups on Linux or UNIX systems is Grid_home/cdata/host_name, where host_name is the name of the node on which the OLR resides that you want to back up. The Windows default location for generating OLR backups uses the same path structure.

Ocrconfig -local showbackup manual is used To display manual backup of olr 



ocrconfig -delete file name is used to remove an OCR Location
For ex : OCRCONFIG -delete +olddg
  • You must run this command as root.
  • The file_name variable can be a device name, a file name, or the name of an Oracle ASM disk group. For example:
    /dev/raw/raw1
    /oradbocfs/crs/data.ocr
    d:\oracle\mirror.ocr
    +olddg
    If you specify an Oracle ASM disk group, the name of the disk group must be preceded by a plus sign (+).

ocrconfig [-local ] -manualbackup
Use the ocrconfig -manualbackup command to back up OCR on demand in the location you specify with the -backuploc option

For example : Ocrconfig -manualbackup


Usage Notes
  • You must run this command as root.
  • Use the -local option to perform a manual backup of OLR.






No comments:

Post a Comment