Skip to main content
OnCommand Unified Manager 9.5
A newer release of this product is available.

Creating annotation rules

Contributors netapp-adityaw

You can create annotation rules that Unified Manager uses to dynamically annotate storage objects such as volumes, clusters, or storage virtual machines (SVMs).

Before you begin

You must have the OnCommand Administrator or Storage Administrator role.

About this task

Storage objects that are currently monitored are annotated as soon as the annotation rule is created. New objects are annotated only after the monitoring cycle is completed.

Steps

  1. In the toolbar, click clusterpage settings icon, and then click Annotations in the left Management menu.

  2. In the Annotation Rules tab, click Add.

  3. In the Add Annotation Rule dialog box, specify a name for the annotation rule.

  4. In the Target Object Type field, select the type of storage object that you want to annotate.

  5. In the Apply Annotation fields, select the annotation and annotation value that you want to use.

  6. In the Conditions section, perform the appropriate action to create a condition, a condition group, or both:

    To create…​ Do this…​

    A condition

    1. Select an operand from the list of operands.

    2. Select either Contains or Is as the operator.

    3. Enter a value, or select a value from the available list.

    A condition group

    1. Click Add Condition Group.

    2. Select an operand from the list of operands.

    3. Select either Contains or Is as the operator.

    4. Enter a value, or select a value from the available list.

    5. Click Add condition to create more conditions if required, and repeat steps a through d for each condition.

  7. Click Add.

Example of creating an annotation rule

Perform the following steps in the Add Annotation Rule dialog box to create an annotation rule, including configuring a condition and adding a condition group:

  1. Specify a name for the annotation rule.

  2. Select the target object type as storage virtual machine (SVM).

  3. Select an annotation from the list of annotations, and specify a value.

  4. In the Conditions section, select Object Name as the operand.

  5. Select Contains as the operator.

  6. Enter the value as svm_data.

  7. Click Add condition group.

  8. Select Object Name as the operand.

  9. Select Contains as the operator.

  10. Enter the value as vol.

  11. Click Add condition.

  12. Repeat steps 8 through 10 by selecting data-priority as the operand in step 8, Is as the operator in step 9, and mission-critical as the value in step 10.

  13. Click Add.