Pre-requisites:
1. Daily IDB backup and make sure what will be the tape used for the IDB backup.
2. Backup the file OBrindex.dat using filesystem or a physical copy of the file.
3. Run and test the procedure everytime that you change patches.
IDB Recovery:
1. Re-install DP with the same version that the backup of the IDB is, make sure that you have the same patches.
2. Configure the library
3. Import the tape that contains the file OBrindex.dat
4. Restore the file Obrindex.dat to a temporary directory.
5. Move the file Obrindex.dat from the temporary directory to the directory /var/opt/omni/server/db80/logfiles/rlog
6. Rename the directory /var/opt/omni/server/db80/pg/pg_xlog to pg_xlog.old
7. Run the command “omniofflr –idb –autorecover -force”
8. If you used links at the OS level, make sure that the links are still there after the recovery:
Example:
/var/opt/omni --> /dataprotector/var/opt/omni
/etc/opt/omni --> /dataprotector/etc/opt/omni
9. if the links are not there you can run the following command to recreate it:
Example:
Ln –s /dataprotector/var/opt/omni omni (into the directory /var/opt/)
Ln –s /dataprotector/etc/opt/omni omni (into the directory /etc/opt/)
10. Make sure that the services are up and running correctly “omnisv –status”
11. Open the GUI to make sure that everything is accesing and you can access the IDB with the latest information.
***test this procedure before you have a real idb down.