VADP backup of virtual machine fails with Unable to find the VM with VM name
VADP backup of virtual machine fails with the following error
Application information attribute VADP_VM_NAME for client “<xyz>” is set to “<xyz.nsrvalley.com>”.
Trying to connect to the VM using VM name ‘< xyz.nsrvalley.com >’.
80398:nsrvadp_save: Unable to find the VM with VM name: < xyz.nsrvalley.com >.
Temporary directory ‘c:\mnt\<xyz>’ for VADP deleted.
To Solve this issue you have to:
1- Create the Virtual Machine client instance using the actual name or DNS name.
2- DO NOT use the inventory name which is only meant for vCenter management as Inventory names are not DNS resolvable
3- In the application information attribute VADP_VM_NAME= use the Actual name/DNS Name
Note That : VADP_VM_NAME is case-sensitive. For example, if the VM host name is upper-case (such as BEBO), the value of VADP_VM_NAME must be set to BEBO. Also, if the name entered for VADP_VM_NAME contains spaces, the name must be contained within quotation marks (for example, VADP_VM_NAME=”this is my machine”)