NetBackup™ for VMware Administrator's Guide
- Introduction
- Required tasks: overview
- Configuring RBAC roles for VMware administrators
- Notes and prerequisites
- VMware vSphere privileges
- Managing VMware servers
- About VMware discovery
- Add VMware servers
- Change resource limits for VMware resource types
- Configuring backup policies for VMware
- Backup options on the VMware tab
- Exclude disks tab
- Configuring a VMware Intelligent Policy
- About the Reuse VM selection query results option
- Use Accelerator to back up virtual machines
- Configuring protection plans for VMware
- Malware scan
- Instant access
- Instant rollback
- Continuous data protection
- Backing up virtual machines
- VM recovery
- VMware agentless restore
- Restoring Individual files and folders from VMware backups
- Using NetBackup to back up Cloud Director environments
- Recover VMware Cloud Director virtual machines
- Restore virtual machines with Instant Recovery
- Protecting VMs using hardware snapshots and replication
- Best practices and more information
- Troubleshooting VMware operations
- NetBackup logging for VMware
- Snapshot error encountered (status code 156)
- Appendix A. Configuring services for NFS on Windows
- About configuring services for NFS on Windows 2012 or 2016 (NetBackup for VMware)
- Appendix B. Backups of VMware raw devices (RDM)
Best practices for VMware tag usage
The combination of Category and Tag uniquely identifies a tag association to a virtual machine. Veritas, however, does not support selection of virtual machines based on Category. As such, avoid the creation of tags with identical names in different Categories.
When you create a VMware Intelligent Policy and select virtual machines based on tags, identical tag names in different categories may have unintended consequences. All virtual machines with the tag name are selected independent of the Category. Be aware of this behavior as you create your VMware Intelligent Policies.
Because tag queries require Java, the discovery host that is used for VMware intelligent policies must have Java installed. NetBackup primary servers have Java installed by default. Java is an optional component for NetBackup media servers and for UNIX and Linux clients, and may or may not be installed in your environment. Windows clients that are used as a discovery host require a separate installation of the Remote Console.
NetBackup support for VMware tags begins at vCenter 6.0. In a mixed vCenter Server environment (for example, 5.x and 6.0), a VMware intelligent policy query that uses the Tag keyword can return some virtual machines as Failed if the configuration of the query requires tag evaluation on a 5.x vCenter. This behavior is observed when you select during policy configuration. This behavior is also observed when you run the policy. The parent (discovery) job exits with a non-zero status and its details enumerate the virtual machines that Failed. The virtual machines that the query has included are backed up normally.
You can use any of the options that are shown to create a query that uses tags but does not report virtual machines on 5.x servers as Failed.
Use another field to limit tag evaluation to the supported vCenter Server versions.
Example: vCenterVersion GreaterEqual "6.0.0" AND Tag Equal "Production"
Example: vCenter Equal "vcenter-123" AND tag Equal "Production"
Use the VMware tab to restrict the policy to a supported list of vCenter Servers.
option under the on theEnable the option VMware tab.
under the on the
Place the tag clause toward the end of the VMware intelligent policy query. This configuration allows NetBackup to eliminate as many virtual machines as possible before it evaluates the tag portion of the query. This organization optimizes the performance of discovery and selection of virtual machines.
Consider the query: Powerstate Equal poweredOn AND Tag Equal "Production"
In the example, the first clause automatically eliminates all virtual machines that are poweredOff. The query does not need to evaluate the tag clause of the query for all of those virtual machines.
Tag associations are part of the metadata of the virtual machine. NetBackup considers virtual machine tag association protection a best effort backup. Any tag collection errors are shown in the Activity monitor for the virtual machine snapshot job.