Test Query: Failed virtual machines
If the query rules cannot exclude a virtual machine, and that virtual machine cannot be selected for backup, it is marked as FAILED. The virtual machine is listed as not run in the job details log.
For example: the virtual machine does not have the type of name specified by the Primary VM identifier parameter (such as host name or display name). Or the virtual machine name contains invalid characters. In any case, a virtual machine that is listed as FAILED should be investigated: it may be one that you want to back up.
To see the reason for the failure, click on the virtual machine in the Test Query Results. An explanation appears at the bottom of the screen.
For example:
Explanation: The virtual machine that is listed as Ubuntu-vS in the example does not have a VMware host name. In the NetBackup policy, on the VMware tab, the Primary VM identifier parameter may be set to VM hostname. In that case, NetBackup cannot refer to the virtual machine by its host name and thus cannot back it up.
You can fix this problem in a couple of ways:
Use vSphere Client to configure a host name for the virtual machine.
To exclude the virtual machines that have no host name, construct a query with the IsSet operator.