Adding Subclient Content for VMware
Automatic discovery rules can discover virtual machines in the vCenter and automatically select virtual machines for backup. Automatic discovery is useful in environments where virtual machines are added, removed, or relocated on a routine basis, or when you want to manage groups of similar virtual machines using different subclients.
You can also browse for and select virtual machines or other vCenter objects.
- If you have deployed MediaAgents or VSA proxies on virtual machines, filter those virtual machines from VSA backups. (If you need to protect files on those virtual machines, install in-guest agents on those virtual machine to perform file backups.)
- Ensure that names of virtual machines, datastores, and tags do not contain the following special characters:
+ & @ % = # % * $ # ! \ / : * ? " < > | ; '
You can use wildcard characters when adding a pattern to define a rule.
If an automatic discovery rule for a subclient identifies an entity that cannot be found, a backup job for the subclient fails. For example, if a rule points to a datastore that has been retired, that is treated as a failure during discovery, and the backup job fails.
To enable backup jobs to continue when an entity is not found, add the bAllowMissedContent additional setting on the Virtual Server Agent proxy and set the value to true.
To generate a warning message when a content entity or rule does not return any results, add the bWarnEmptyContentRule additional setting on the Virtual Server Agent proxy and set the value to true.
For steps to add an additional setting, see Adding or Modifying Additional Settings from the CommCell Console.
For an existing subclient, perform the following steps. You can also modify subclient content when creating a new subclient.
- From the CommCell Browser, expand Client Computers > virtualization_client > Virtual Server > VMware > backup_set.
- Right-click the subclient and then click Properties.
- In the Subclient Properties dialog box, click the Content tab.
- Browse or define a rule to select an object:
To browse for an object:
- Click Browse.
- Select a view from the list at the top left of the Browse dialog box:
- Hosts and Clusters: Select a cluster, host, or resource pool.
- Datastores and Datastore Clusters: Select a datastore or datastore cluster.
- VMs and Templates: Select a virtual machine, datacenter, VM folder, or vApp.
- Tags and Categories: Select a tag or category to identify all virtual machines under VMware entities that are marked with the tag or category.
To define a rule:
- Click Add.
- In the Rule Group box, select the rule type from the drop-down list and enter the appropriate information in the box on the right:
Enter the display name of the virtual machine or a pattern using wildcards (for example, Test* to identify VMs for which the VM name begins with "Test"). You can also click ... to browse for a VM.
Enter the host name as it appears in vCenter, the IP address of the host, or a host name pattern using wildcards. You can also click ... to open the Browse dialog box. When you add a host, all virtual machines on the host are included in the backup.
Enter the datastore name or a pattern. You can also click ... to open the Browse dialog box.
Enter the exact name of the operating system or a pattern to identify an operating system group (for example, Microsoft* to identify any virtual machine that has a version of the Windows operating system).
Guest DNS Hostname
Enter a hostname or a pattern to identify a hostname or domain (for example, myhost.mycompany.com to identify a specific host or *mycompany.com to identify all hosts on that domain).
Select the power on status of virtual machines to be included in the subclient content. You can select one of the following options:
- Powered On - to identify VMs that are powered on.
- Powered Off - to identify VMs that are powered off.
- Other - to identify VMs with a different power on status, such as Suspended.
Enter a pattern to identify virtual machines based on notes text contained in vCenter annotations for the VM summary (for example, Test* to identify VMs with a note that begins with "Test").
Enter a pattern to identify virtual machines based on custom attributes in vCenter annotations for the VM summary. You can enter search values for the names and values of custom attributes. For example:
- Name Contains *resize* to identify VMs where the name of a custom attribute contains the word "resize").
- Value Contains *128* to identify VMs where the value of a custom attribute contains the number "128").
Tags and Categories
Select a tag or category to identify all virtual machines under VMware entities that are marked with that tag or category.
To define multiple rules in a rule group, click + and define another rule. The following options are available for a rule group with multiple rules:
- If you define multiple rules, you can indicate whether virtual machines are selected when they match all of the rules, or when they match any of the rules. For rule groups that include Power State, Notes, or Custom Attribute rules, you can only select virtual machines that match all of the rules.
- To exclude virtual machines based on any of the criteria, you can use the Does Not Equal operator for one or more of the rules in a rule group. (For rule groups with a single rule, the only operator you can use is Equals.)
For simple rules defined in the Contents of subclient list (not in a rule group), virtual machines are selected if they match any of the rules defined for the subclient.
- Click OK.
The rules you defined and the objects you selected appear in the Contents of subclient list on the Content tab.
- Click Preview to view all virtual machines identified by the rules or selections you have made. These virtual machines will be backed up when you perform a backup for the subclient.
- Click OK.
If you browse to select a specific virtual machine or template based on the display name, the rule for that virtual machine uses the VM GUID. If you change the display name later, the virtual machine will still be included in the subclient as long as its GUID remains the same. For example, if you select a virtual machine with the display name "Test-VM1" and later change the display name of the virtual machine to "Test-VM3", the next backup of the subclient will back up the virtual machine "Test-VM3" because the GUID of the virtual machine has not changed.
- If a vCenter has the same datastore names under different datacenters, all virtual machines are discovered, even if they are on datastores that have duplicate names.
- If you add a rule to back up virtual machines from a specific datastore and one of the VMs has virtual machine disks on multiple datastores, all of the virtual machine disks are backed up. The VMX file (primary configuration file) for the VM tracks the locations of virtual machine disks.
- All virtual machines that have VMX files on the selected datastore will be added to the subclient. If any virtual machine has disks on the selected datastore but the VMX file for the VM is located on a different datastore, that virtual machine will not be selected for backup. If you want to select all virtual machines with disks on the datastore, even if the VMX file is on another datastore, you must configure the DiscoverAllVMsOnDatastore additional setting on the client computer where you have installed the Virtual Server Agent.
If you change the DNS hostname of any virtual machine, you must power on the virtual machine before performing the backup. Otherwise, the virtual machine will not be discovered and included in the backup of a subclient.
If you delete and recreate the resource pool or change the location of the resource pool, you must define the rule again. Otherwise, the resource pool will not be included in the backup of a subclient.
If you delete and recreate the datacenter or change the location of the datacenter, you must define the rule again. Otherwise, the datacenter will not be included in the backup of a subclient.
If you delete and recreate the cluster or change the location of the cluster, you must define the rule again. Otherwise, the cluster will not be included in the backup of a subclient.
If you delete and recreate the datastore cluster or change the location of the datastore cluster, you must define the rule again. Otherwise, the datastore cluster will not be included in the backup of a subclient.
If you delete and recreate the vApp or change the location of the vApp, you must define the rule again. Otherwise, the vApp will not be included in the backup of a subclient.
If you delete and recreate the folder or change the location of the folder, you must define the rule again. Otherwise, the folder will not be included in the backup of a subclient.
Last modified: 3/12/2019 3:57:17 PM