VMware provides a default No Requirements storage policy for Virtual Volumes. If you need, you can create a custom storage policy compatible with Virtual Volumes.
Procedure
- From the vSphere Web Client Home, click .
- Click the VM Storage Policies tab.
- Click the Create a New VM Storage Policy icon.
- Select the vCenter Server instance.
- Type a name and a description for the storage policy.
- On the Rule Set page, define placement rules.
- From the Storage Type drop-down menu, select a target storage entity, for example, Virtual Volumes.
- From theAdd rule drop-down menu, select a capability and specify its value.
For example, you can specify the number of read operations per second for the Virtual Volumes objects. You can include as many rules as you need for the selected storage entity. Verify that the values you provide are within the range of values that the storage resource advertises.
- (Optional) To fine-tune your placement request further, add a tag-based rule.
Tag-based rules can include or exclude specific placement criteria. For example, you can exclude datastores with the Palo Alto tag from the list of your target Virtual Volumes datastores.
- (Optional) Select data services to include in the VM storage policy.
The data services that you reference on the Rule Set page are provided by the storage. The VM storage policy that references the data services, requests them for the virtual machine.
- Click the Add component () icon and select a data service category from the drop-down menu, for example, Replication.
- Define rules for the data service category by specifying an appropriate provider and values for the rules. Or select the data service from the list of predefined components.
Option |
Description |
Component Name |
This option is available if you have predefined storage policy components in your database. If you know which component to use, select it from the list to add to the VM storage policy. |
See all |
Review all component available for the category. To include a specific component, select it from the list and click OK. |
Custom |
Define custom rules for the data service category by specifying an appropriate provider and values for the rules. |
- Add more components to request other data services.
You can use only one component from the same category, for example caching, per a set of common or regular rules.
- Complete the creation of the storage policy and click Finish.
Results
The new VM storage policy compatible with Virtual Volumes appears on the list.
What to do next
You can now associate this policy with a virtual machine, or designate the policy as default.