Multiple-condition categorization allows you to combine multiple conditions that evaluate VM properties for creating groups. This method makes categories highly customizable, as each group within a category can have its own condition. Conditions can be based on different VM properties and logical operators. For one group, you can specify one or more conditions and link them with the AND or OR operator.
Groups created with the multiple-condition method have dynamic membership. If the property value changes, the VM can be moved into another group or excluded from categorization after the next data collection.
For example, you can categorize VMs based on their power state, datacenter name and guest OS at the same time. If any of these properties change, the VM will be moved into another group or excluded from categorization.
To create groups using multiple conditions:
- Disable tag import.
For more information, see Disabling Tag Import.
- In the inventory pane, navigate to the Business View node.
- Launch the Categorization Wizard:
- In the information pane, switch to the Categories tab.
- In the Actions pane, click Add Category.
Alternatively, in the Business View tree, right-click the main node and select Categorization Wizard.
- At the Name and Object Type step of the Categorization Wizard, enter a category name and make sure that Virtual Machine is selected as an object type.
- At the Categorization Method step of the Categorization Wizard, select the Multiple conditions option.
- At the Grouping Criteria step of the Categorization Wizard, click Add to create groups based on multiple conditions.
The Add Group wizard will open.
- At the Group Name step of the Add Group wizard, enter a group name and description.
- At the Notifications step of the Add Group wizard, click Next.
The step does not apply to the categorization process in VAO.
- At the Grouping Conditions step of the Add Group wizard, set up categorization conditions:
- From the Property drop-down list, select a VM property.
The list contains all VM properties that Veeam ONE collects from a hypervisor.
- From the Operator drop-down list, select a conditional operator.
The list contains the following operators: Equals, Does not equal, Starts with, Contains, Does not contain.
- In the Value field, specify a value that will be checked in the condition.
The condition will be evaluated against discovered VMs. To add another condition, click Add Condition.
By default, conditions are linked by the AND operator. That is, a VM falls into a group when all specified conditions are met. You can change this behavior by linking conditions with the OR operator. In this case, a VM will fall into a group when a condition for any of the linked rules is met.
For example, you can create a group which will include VMs based on their power state, datacenter name and guest OS. If you want the group to include all powered on VMs that reside in datacenter Atlanta or run Linux as their guest OS, you must link these conditions. The second and the third conditions will be linked to each other with the OR operator. The first condition will be linked to them with the AND operator.
Linking supports 3 levels of nesting.
To link conditions:
- Select check boxes next to the necessary conditions and click Link.
- In the Rule condition window, select a link operator and click OK.
- Click Save to save a group configuration.
Group settings will appear in the Categorization Wizard.
- Repeat steps 6-10 for each group you want to configure in the category and click Finish.