Creating VM Filters for Red Hat Virtualization

From the VM group content dialog box, you can create filters to exclude virtual machines from backups.

Before You Begin

  • To select VMs based on views or automatic discovery rules, see "Views and Rule Options" (below).

Procedure

  1. From the navigation pane, go to Protect > Virtualization.

    The Virtual machines page appears.

  2. On the Hypervisors tab, click the hypervisor.

    The hypervisor page appears. The VM groups area displays summary information for any existing VM groups.

  3. Click an existing VM group.

  4. Under Content, click Manage.

    The VM group content dialog box appears.

    The Filters tab shows content to be excluded from backups.

  5. On the Filters tab, to remove a filter, click action_button in the Actions column of the row for the filter and select Remove.

  6. To add filters by browsing, click Add virtual machines.

  7. In the Add virtual machines page, select a browse method for the Browse and select VMs list, and then expand the tree below the list to select content for the VM group, or to clear previous selections.

    You can select a view from the list to control the browse display.

  8. Click OK after selecting VMs or other objects.

  9. To exclude virtual machines based on different criteria:

    1. Click Add filter rule and then provide information for the rule:

    2. From the Select rule for list, choose a rule type.

    3. From the Which matches with list, choose Equals, Contains, Starts with, or Ends with.

    4. In the Name box, provide a value as required for the type of rule.

    5. Click OK.

  10. To edit a rule, click action_button in the Actions column of the row for the VM and select Edit rule.

  11. Click OK to save the changes to VM group content.

Views and Rule Options

When you define content or filters for a VM group, you can change the view and select specific entities, or define rules to automatically select VMs that meet specific criteria.

Views

When you browse to select VMs for VM group content or filters, you can select a browse method from the Browse and select VMs list, and then expand the tree below the list to select the content for the VM group, or to clear previous selections.

You can select one of the following options from the list to control the browse display:

  • System: Select this option to view the data centers.

  • Clusters: Select this option to view a specific cluster.

  • Hosts: Select this option to view the RHEV Manager hosts.

  • Storage: Select this option to view storage containing virtual machine data. Select the storage entry to protect all VMs on the storage, or expand the tree to select specific VMs.

  • VMs: Select this option to browse and select specific VMs.

  • Tags: Select a tag to include all VMs associated with the selection.

Rules

You can define rules to discover virtual machines automatically.

When you add a rule, from the Select rule for list, choose one of the following rules and then, from the Which matches with list, select Equals, Contains, Starts with, or Ends with:

  • Guest DNS hostname: In the Name box, type 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).

  • Guest OS: In the Name box, type 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).

  • Host: In the Name box, type the host name, the IP address of the host, or a host name pattern using wildcards. When you add a host, all virtual machines on the host are included in the backup.

  • Power state: From the Name list, select the power on status of virtual machines to be included in the VM group content. You can select On to identify VMs that are powered on, Off to identify VMs that are powered off, or Other to identify VMs with a different power on status, such as Suspended.

  • Tag: In the Name box, type the name of a tag.

  • Virtual machine name/pattern: In the Name box, type 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").

Loading...