You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/adminguide/host_and_storage_tags.rst
+35
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,41 @@ To explain the behavior of host tags, some examples will be demonstrated with tw
54
54
* Offering: h3
55
55
None of the hosts have compatible tags and it will not be possible to deploy a VM with the offering. However, CloudStack ignores this behavior when a host is manually selected.
56
56
57
+
.. _strict-host-tags:
58
+
Strict Host Tags
59
+
-----------------
60
+
During certain operations, such as changing the compute offering or starting or
61
+
live migrating an instance to a specific host, CloudStack may ignore the host
62
+
tags. This behavior is intentional and is designed to provide flexibility in
63
+
resource allocation. However, in some cases, this can lead to instances being
64
+
deployed on undesired hosts.
65
+
66
+
To address this, CloudStack introduces an add-on feature that allows administrators
67
+
to enforce tag checks during these operations. By specifying the required tags
68
+
in the global configuration `vm.strict.host.tags`, CloudStack will ensure that
69
+
the specified tags must match during the operations. If any of the specified
70
+
tags do not match, the operation will fail.
71
+
72
+
If `resource.limit.host.tags` are defined and
73
+
`vm.strict.resource.limit.host.tag.check` is set to true, the tags defined in
74
+
`resource.limit.host.tags` are included with the `vm.strict.host.tags`.
75
+
76
+
.. list-table:: Strict host tags related global settings
77
+
:header-rows: 1
78
+
79
+
* - Parameter
80
+
- Default
81
+
- Description
82
+
* - ``vm.strict.host.tags``
83
+
- empty
84
+
- A comma-separated list of tags which must match during operations like
85
+
modifying the compute offering for an instance, and starting or live
86
+
migrating an instance to a specific host.
87
+
* - ``vm.strict.resource.limit.host.tag.check``
88
+
- `true`
89
+
- If set to true, tags specified in `resource.limit.host.tags` are also
90
+
included in `vm.strict.host.tags`.
91
+
57
92
Storage tags
58
93
------------
59
94
Storage tags are responsible for directing volumes to compatible primary storage. They are validated with the storage tags entered in the disk offerings or system offerings.
0 commit comments