Sunday 23 October 2016

Restoration of ORACLE RMAN Database Backup from DR to Production DC


Restoration of ORACLE RMAN Database Backup from DR to Production DC


Storage – Backup – VERITAS Netbackup
VERITAS Netbackup 6.5.4 Client

Troubleshooting –Upgrading the Netbackup client on HP UX Machine


Restoration Error: -

The restore failed to recover the requested files with error code – 5


Job overview Tab
-----------------
The restore failed to recover the requested files – error code 5

Detailed status Tab
--------------------
11/27/2011 22:35:47 - end reading; read time: 0:00:02
11/27/2011 22:35:47 - Error bpbrm (pid=15287) client restore EXIT STATUS 5: the restore failed to recover the requested files
11/27/2011 22:35:48 - restored from image sbichn86_1322306005; restore time: 0:07:56
11/27/2011 22:35:48 - end Restore; elapsed time 0:07:59
the restore failed to recover the requested files (5)



Trouble shooting Tab
---------------------

Try the following:

1   Ensure that the client's server list contains entries for the master server and any media servers that can be used during a backup or restore.

2   Examine the status or the progress log on the client for messages on why the restore failed. Also, check the All Log Entries report on the server.

3   Check ownership and permission on directories where files are restored.

4   Correct the problems that you find and retry the restore.

5   For OpenVMS clients, make sure the Netbackup client software is version 3.4 or higher.

6  If you attempted to restore files from a Flash Backup backup after a Netbackup patch was installed, the patch may not have been installed properly. Follow the installation instructions in the patch README file and make sure the libsfr.so file is copied as instructed.


Steps to resolve the above Problem :-


First check where the key is present in client server.


I)from client server (host234) 192.168.25.86

root@ host234 # ./bpkeyutil -display -clients host234

bpkeyutil.c.374: main: Function call RemoteCopy(host234) failed. Errno = 32

root@ host234 #./bpkeyutil -clients host234
Enter new NetBackup pass phrase: ********
Re-enter new NetBackup pass phrase: ********

bpkeyutil.c.374: main: Function call RemoteCopy(host234) failed. Errno = 32

II)from master server (192.168.25.70)


A) root@testhost23# ./bpinst -ENCRYPTION -force_install host234
Copied encryption file /usr/openv/netbackup/bin/bpkeyutil to client host234.



Copied encryption file /usr/openv/share/ciphers.txt to client host234.
Copied encryption file /usr/openv/share/version_crypt to client host234.

Executing nblu_registration on host234...

LiveUpdate is not installed, skipping registration step...

nblu_registration completed successfully on host234


III)            from client server (host234) 192.168.25.86


root@host234 # ./bpkeyutil -display -clients host234
Key File version: 2
Key count: 1

1. Key creation time: Wed Apr 27 15:16:32 2011
    Digest of key: BC 1A EE 9A ...


In the below command give the password of the server from where the backup is taken ( for example here we have given host876 ie DR password)

root@ host234 # ./bpkeyutil -clients host234
Enter new NetBackup pass phrase: ********
Re-enter new NetBackup pass phrase: ********

root@ host234 # ./bpkeyutil -display -clients host234

Key File version: 2
Key count: 2

1. Key creation time: Wed Apr 27 15:16:32 2011
    Digest of key: BC 1A EE 9A ...

2. Key creation time: Mon Nov 28 14:32:41 2011
    Digest of key: 8C AB AF DD ...


CONCLUSION : -

After updating the proper encryption key the issue was resolved able to restore the RMAN backup and it was working fine.



No comments:

Post a Comment