• Arun Kumar

Oracle Cluster Registry (OCR) Administration

Verify OCR

./ocrdump ocr.bkp			--> To see the contents of OCR
./ocrdump -xml /tmp/ocr.bkp		--> To see the contents of OCR

Check OCR Backups

./ocrconfig -showbackup auto

	- Every 4 hrs backup (3 max) ñ File Names: backup00.ocr, backup01.ocr and backup02.ocr
	- Daily backups (2max) ñ day.ocr and day_.ocr
	- Weekly backups (2 max) ñ week.ocr and week_.ocr

./ocrconfig -manualbackup		--> manual backup of OCR
./ocrconfig -backuploc <new_loc>	--> to change OCR backup location
./ocrconfig -restore <file_name>	--> to restore OCR file from backup file

OLR Management

cat /etc/oracle/olr.loc			--> Default OLR location
$GRID_HOME/cdata/hostname.olr		--> Default OLR configuration file
./ocrcheck -config -local		--> Check OLR configuration file location using ocrcheck

./ocrdump -local /tmp/olr.bkp		--> To see the contents of OLR
./ocrdump -local -xml /tmp/olr.bkp	--> To see the contents of OLR

./ocrconfig -local -manualbackup	--> To take manual backup of OLR


Recent Posts

See All

MySQL Installation on Linux

This article demonstrates MySQL installation on Oracle Enterprise Linux 6.5 version. Installation of MySQL Make sure you are able to connect internet via virtual machine. Try to ping google.com and pr

Add ISO image storage repository on XenServer

If you have used VMware ESXI, its very easy to upload ISO files to the data store and create VMs. With XenServer, you must create your own ISO repository to upload ISO files. Create ISO directory Acce

Automate RMAN Backup using Shell Script

In a real environment, off course you will not manually trigger all the Oracle database backups. You need an automated mechanism to trigger RMAN backups. In this article we will look at RMAN backup au

  • Facebook
  • Twitter
  • YouTube
  • Instagram

© 2020 by DBA Genesis