12-10-2015 11:53 AM
Trying to perform a VM instant recovery, but it fails with the following:
Error bprd (pid=16460) Failed to mount a backup image on the server ESXHOST
system error occurred (130)
Running the following command from a Windows 2008 R2 recovery host:
nbrestorevm -vmw -ir_activate -C Restore_VM -temp_location datastore_on_ESXHOST -vmproxy recovery_host -vmpo
NFS services are installed and Client for NFS is running on the recovery host.
NFS client services are enabled on the ESX Host.
Not sure where to go from here.
Thanks!
12-10-2015 12:57 PM
Not sure if this is related, but the nbfsd log shows:
createNasDatastore: create NAS datastore failed with 6
performVMOpn: return error on mount : 130
bpVMutil log shows:
bpVMutil main: checkifDatastoreExists failed
bpVMutil main: EXIT STATUS 71: None of the files mentioned in the file list exist or may not be accessible
Also note, I have tried running this directly from the appliance using the appliance as the recovery host, but same thing.
12-10-2015 02:26 PM
Check for VMWare events in vsphere.
Could be that the ESX server has no name resolution for the media server so it cannot mount the nfs image.
To be sure, add the media server to the esx server host file.
12-11-2015 03:49 AM
We have tested this at a customer site shortly after NBU 7.6 was released - also backing up to 5230 Appliance.
We have summarized the steps as follows (see if there is anything that may have been missed in your environment):
Requirements
Steps to restore
Storage VMotion restore process can be initiated. This copies the VM image from the NetBackup disk storage unit to the standard ESXi Datastore.
More Info
Details and more options can be found in :
12-11-2015 09:04 AM
Thanks for the responses.
Not seeing anything in ESX logs.
Marianne,
I've thoroughly gone through the VMware admin guide and reviewed all of the items you mention above. Except that since we are on 7.6.1.1, I read that the 5230 appliance can be used as the recovery host, so tried direct. Once it failed, I configured a recovery host on a Windows 2008 R2 machine and getting the same thing.
Some more logs that may mean something to someone:
nbfsd log:
10:50:33.556 [124890] <2> performVMOpn: starting mount on vmserver: vcenter ESX host: ESXHOST_IP
10:50:33.556 [124890] <2> createNasDatastore: stating creating a nas datastore vmserver: vcenter esxHost: ESXHOST_IP nasserver: NBU_Appliance_Name nasPath:/NBUFS_F_ESXHOST_IP_NBU_Appliance_Name label: NBU_IR_NBU_Appliance_Name_172
10:50:33.560 [124890] <2> vnet_pbxConnect: pbxConnectEx Succeeded
10:50:33.561 [124890] <2> logconnections: BPRD CONNECT FROM NBU_Appliance_IP.38525 TO NBU_Appliance_IP.1556 fd = 5
10:50:34.885 [124890] <16> createNasDatastore: create NAS datastore failed with 6
From bpVMutil log:
10:50:31.847 [124881] <2> vnet_pbxConnect: pbxConnectEx Succeeded
10:50:31.847 [124881] <2> logconnections: BPRD CONNECT FROM NBU_Appliance_IP.38836 TO NBU_Appliance_IP.1556 fd = 8
10:50:33.207 [124881] <16> bpVMutil main: checkifDatastoreExists failed
10:50:33.207 [124881] <2> bpVMutil main: EXIT STATUS 71: None of the files mentioned in the file list exist or may not be accessible
12-11-2015 12:19 PM
Hello,
I think you should have a look on Vmware side for the hostd logs and Vmkernel logs /var/logs/messages
You can also review below links
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2002957
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2036182
12-21-2015 12:55 PM
Thanks for the suggestions to look at the ESXi logs ... I've been able to get one step further. The above issue was due to name resolution from the ESXi host to the appliance. Once that was resolved, it proceeds further, but now it fails at:
12/21/2015 15:38:14 - Error bprd (pid=24308) Failed to activate a virtual machine on the server ESXHOST
12/21/2015 15:38:14 - Info bprd (pid=24308) Starting to unmount a backup image on the server ESXHOST
the restore failed to recover the requested files (5)
Note that this is being run from an appliance on 2.6.1.1. The command used was
nbrestorevm -vmw -ir_activate -C Client_VM -temp_location ESXHOST -R /usr/openv/netbackup/bin/renametest.txt -vmpo -vmserver ESXHOST
12-21-2015 08:37 PM
12-22-2015 05:27 AM
Did you check this article ? Though it is for Windows you shall get some headsup in bpvmutil and nbfsd logs
Instant Recovery of a Virtual Machine failing with a Status 5.
Article:000022056 Publish:September 14, 2015 Article URL:http://www.veritas.com/docs/000022056
12-22-2015 08:37 AM
I've checked the logs on the ESX server but not seeing anything that jumps out at me.
I've also read the article. Can someone suggest how to restart client for nfs services on an appliance?
Some additional info. To get this far, I'm now running the command as follows:
nbrestorevm -vmw -ir_activate -C CLIENT_VM -temp_location ESXHOST -R /usr/openv/netbackup/bin/renametest.txt -vmpo -vmserver ESXHOST
Note I am restoring to a test standalone ESX Host now. Not connected to Vcenter. The content of renametest.txt is:
change esxhost to ESXHOST
change datacenter to None
change folder to None
change resourcepool to /ha-datacenter/host/ESXHOST/Resources
change datastore to datastore1
Is this line item required in the file:
change /original_datastore/original_VM_folder/original_vmdk.vmdk to /new_datastore/new_VM_folder/new_vmdk.vmdk
If so, how do I locate this info??