Effect of Primary VM identifier parameter on Selection column in Test Query results
The NetBackup policy's Primary VM identifier parameter tells NetBackup how to identify virtual machines. For example, if the parameter is set to VM hostname, NetBackup identifies virtual machines by their host names. If they do not have a host name, the policy cannot back them up.
The Primary VM identifier parameter has a direct effect on the query test results. Note that for each virtual machine, the query test result is one of three possibilities: Included, Excluded, or Failed.
If NetBackup cannot identify a virtual machine according to the Primary VM identifier parameter, one of two test results can occur:
If the virtual machine is filtered out by the query rules, it is listed as Excluded.
If the virtual machine is not filtered out by the query rules, it is listed as Failed.
The following table gives the test query results from example combinations of the Primary VM identifier parameter and a query rule.
Table: Effect of Primary VM identifier parameter and query rules on test query results
Primary VM identifier setting on Hyper-V policy tab | Query rule in Query builder | Test query result |
|---|---|---|
VM hostname | Displayname Contains "VM" | Included: Any virtual machines that have a host name and that have a display name that contains "VM". Excluded: Any virtual machines that do not have a display name that contains "VM". Failed: Any virtual machines that have a display name that contains "VM" but that do not have a host name. Since the Primary VM identifier parameter is set to VM hostname, NetBackup cannot select the virtual machine for backup. |
VM display name | Displayname Contains "VM" | Included: Any virtual machines with the display names that contain "VM". Since the Primary VM identifier parameter tells NetBackup to select the virtual machine by display name, it can back up the virtual machines. Excluded: All other virtual machines. |