NetBackup™ Web UI RHV Administrator's Guide
- Introducing the NetBackup web user interface
- Managing RHV servers
- Configuring secure communication between the Red Hat Virtualization server and NetBackup host
- Add or browse an RHV manager
- Protecting RHV virtual machines
- Recovering RHV virtual machines
- Troubleshooting RHV VM protection and recovery
- API and command line options for RHV
Create an intelligent VM group
You can create an intelligent VM group based on a set of filters called queries. NetBackup automatically selects virtual machines based on the queries and adds them to the group. You can then apply protection to the group. Note that an intelligent group automatically reflects changes in the VM environment and eliminates the need to manually revise the list of VMs in the group.
Note:
This procedure requires the backup administrator role.
To create an intelligent VM group
- On the left, click RHV.
- Click the Intelligent VM groups tab and then click + Add.
- Enter a name and description for the group.
- In the Select virtual machines pane, select the appropriate RHV manager.
Note:
The web UI lists the servers that you can access based on your role and permissions (RBAC).
Select the default query: Include all VMs.
When the protection plan runs, all VMs that are part of the RHV manager are selected for backup.
Create your own query: Click Add condition.
- To add a condition, use the drop-downs to select a keyword and operator and then enter a value.
The options are described after this procedure: Query options for creating intelligent VM groups.
The following is an example query:
In this example, the query adds to the group any VM that has
prod
in its display name.To change the effect of the query, click + Condition and click AND or OR, then select the keyword, operator, and value for the condition. For example:
This example uses AND to narrow the scope of the query: it selects only the VMs that have
prod
in their display name and that also have a tag namedeng
. If a VM does not haveprod
in its display name as well as a tag namedeng
, that VM is not added to the group.To broaden the scope of the query, use OR:
In this example, OR causes the query to add the following to the group:
The VMs that have
prod
in their display name (regardless of any tags).The VMs that have a tag named
eng
(regardless of the display name).
- To test the query, click Preview.
Note:
The query-based selection process is dynamic. Changes in the virtual environment can affect which VMs the query selects when the protection plan runs. As a result, the VMs that the query selects later when the protection plan runs may not be identical to those currently listed in the preview.
- To save the group without adding it to a protection plan, click Add. To save and add it to a protection plan, click Add and protect, select the plan, and click Protect.
Note:
When you click Preview or save the group, the query options are treated as case-sensitive when the VMs are selected for the group. Under Virtual machines, if you click on a VM that was not selected for the group, the Member of virtual machine groups field reads
none
.However, when you add the group to a protection plan, some of the query options are treated as case-insensitive when the protection plan's backup runs. As a result, the same VM may now be included in the group and is backed up.
For the case behavior of each option, see Query options for creating intelligent VM groups.
Table: Query keywords
Keyword | Description |
---|---|
cluster | The name of the cluster where the VMs reside. Not case-sensitive when the protection plan runs. |
datacenter | The name of the data center. Not case-sensitive when the protection plan runs. |
displayName | The VM's display name. Case-sensitive when the protection plan runs. |
tag | The name of the VM's tag. Case-sensitive when the protection plan runs. |
uuid | The VM's instance UUID. For example: Not case-sensitive when the protection plan runs. |
storageDomain | The name of the storage domain. Case-sensitive when the protection plan runs. |
templateName | The name of the VM template. Case-sensitive when the protection plan runs. |
Table: Query operators
Operator | Description |
---|---|
Starts with | Matches the value when it occurs at the start of a string. For example: If the value you enter is |
Ends with | Matches the value when it occurs at the end of a string. For example: If the value you enter is |
Contains | Matches the value you enter wherever that value occurs in the string. For example: If the value you enter is |
= | Matches only the value that you enter. For example: If the value you enter is |
!= | Matches any value that is not equal to the value that you enter. |