Backup current OLR and all available OLR backups

# ocrconfig -local -manualbackup
rac1     2017/03/01 20:52:12     /u01/app/grid/cdata/rac1/backup_20170301_205212.olr

Verify available backups

# ocrconfig -local -showbackup
rac1    2017/03/01 20:52:12    /u01/app/grid/cdata/rac1/backup_20170301_205212.olr

Verify available backups from OS

# ls -l /u01/app/grid/cdata/rac1/*
-rw-------. 1 root root 6803456 Feb 12 13:04 /u01/app/grid/cdata/rac1/backup_20170212_130457.olr
-rw-------. 1 root root 7016448 Mar 01 09:08 /u01/app/grid/cdata/rac1/backup_20170301_090842.olr
-rw-------. 1 root root 6807552 Mar 01 20:52 /u01/app/grid/cdata/rac1/backup_20170301_205212.olr

Restore  OLR from Current Backup.

Shutdown CRS and check that ohasd.bin process is not running and restore OLR

# crsctl stop crs -f
# ps -ef | grep d.bin|grep -v grep
UID        PID            TIME CMD
root      4494     00:00:00 /bin/sh /etc/init.d/init.ohasd run
# ocrconfig -local -restore  /u01/app/grid/cdata/rac1/backup_20170301_205212.olr
# crsctl start crs

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.