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.
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. |
Beginning with ONTAP 9.12.1, you can modify application and component tags using System Manager. Beginning with ONTAP 9.14.1, you can modify the application and component tags using the ONTAP CLI.
-
Select Storage > Consistency groups.
-
Select the consistency group whose tag you want to modify. Select the next to the consistency group's name then Edit.
-
In the dropdown menu, choose the appropriate application or component tag.
-
Select Save.
Beginning with ONTAP 9.14.1, you can modify the application or component tag of an existing consistency group using the ONTAP CLI.
-
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.
-
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 ?
-
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 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]