This is a video tutorial on how to make use of tags for creating VM Storage Policies.
Creating a storage policy and assigning it to relevant objects (datastores, datastore clusters) is useful when you wish to filter available storage to your VMs, based on specific criteria. The criteria could be based on properties/features made available by storage providers through VASA/VAAI.
Though when VASA / VAAI is not available, you could still create storage policies based on tags by associating them to specific properties or features your storage might provide and further, use these tags/properties to define storage policies for your virtual machines.
Outline of Concepts
- Tags are grouped in Tag Categories
- There are two types of Tag Categories
- 1 to 1 relationship (tag to object) – used for mutually exclusive tags
- multi to 1 relationship (tags to object) – used when multiple tags/properties could be assigned to the same object
- Tags applied to containers do not propagate to contained objects
- Storage policies can be created based on properties provided by storage provider or, based on Tags
- Storage Policy (include Rulesets (governed by logical OR) which include Rules (governed by logical AND):
- (and) Rule-2
- (and) Rule-3
- (or) Ruleset-2
- (or) Ruleset-3