ONTAP 9 Manuals ( CA08871-402 )

Modify application and component tags

Beginning with ONTAP 9.12.1, consistency groups support component and application tagging. Application and component tags are a management tool, enabling you to filter and identify different workloads in your consistency groups.

About this task

Consistency groups offer two types of tags:

  • Application tags: these apply to individual and parent consistency groups. Application tags provide labeling for workloads such as MongoDB, Oracle, or SQL Server. The default application tag for consistency groups is Other.

  • Component tags: Children in hierarchal consistency groups have component tags instead of application tags. The options for component tags are "data", "logs", or "other". The default value is Other.

You can apply tags when creating consistency groups or after the consistency groups have been created.

If the consistency group has a SnapMirror active sync relationship, you must use Other as the application or component tag.
Steps

Beginning with ONTAP 9.12.1, you can modify application and component tags using ONTAP System Manager. Beginning with ONTAP 9.14.1, you can modify the application and component tags using the ONTAP CLI.

ONTAP System Manager
  1. Select Storage > Consistency groups.

  2. Select the consistency group whose tag you want to modify. Select the three stacked dots next to the consistency group’s name then Edit.

  3. In the dropdown menu, choose the appropriate application or component tag.

  4. Select Save.

CLI

Beginning with ONTAP 9.14.1, you can modify the application or component tag of an existing consistency group using the ONTAP CLI.

Before you begin
  • You must be at the admin privilege level to perform this task.

  • In ONTAP 9.14.1, you must be a cluster or SVM administrator to perform this task. Beginning with ONTAP 9.15.1, any user at the admin privilege level can perform this task.

Modify the application tag
  1. Application tags accept a limited number of preset strings. To see, the accepted list of strings, run the following command: consistency-group modify -vserver svm_name -consistency-group consistency_group -application-type ?

  2. Choose the appropriate string from the output, the modify the consistency group: consistency-group modify -vserver svm_name -consistency-group consistency_group -application-type application_type

Modify the component tag
  1. Modify the component type. The component type can be data, logs, or other. If you are using SnapMirror active sync, it must be "other." consistency-group modify -vserver svm -consistency-group child_consistency_group -parent-consistency-group parent_consistency_group -application-component-type [data|logs|other]

Top of Page