VMware policy restore error(2820). Virtual machine restore fails with no virtual machine creation taking place.
Problem
Virtual machine restore fails with no virtual machine creation taking place.
Error Message
Job Details reports:
VMware policy restore error(2820)
If initiating restores from a server different than the master server the following errors may be encountered:
The pre-recovery check failed - socket read(23)
The pre-recovery check failed: file read failed(13)
Cause
On the NetBackup master server the 'CLIENT_NAME' entry in the configuration file /usr/openv/netbackup/bp.conf specifies an incorrect server name or there are multiple CLIENT_NAME entries.
Solution
The NetBackup master server should only have a single 'CLIENT_NAME' entry and this should be the name of the master server itself as follows:
CLIENT_NAME = <master server hostname>
If this name is incorrect it should be corrected to reflect the master server hostname.
If there is more than one CLIENT_NAME entry, extra entries should be removed leaving only a single CLIENT_NAME entry. This entry should be the master server hostname.
The following steps should be taken to make this change:
1. Make a backup copy of the master server bp.conf
# cd /usr/openv/netbackup
# cp bp.conf bp.conf.bak-<date_string>
Note: <date_string> is only a reminder of date of change so format is not important.
2. Using a text editor open the original bp.conf file.
3. Correct the CLIENT_NAME as outlined above, then save the updated bp.conf file.
4. Execute the following command so the NetBackup master server reads in this change:
# /usr/openv/netbackup/bin/admincmd/bprdreq -rereadconfig
4. Attempt the restore again.
Applies To
Master server: UNIX/Linux
Netbackup version 7.5.0.x
VMware vCenter server 5.x