You can assign a user-defined storage policy as the default policy to a datastore, to reuse a storage policy that matches your requirements.
Prerequisites
Verify that the VM storage policy you want to assign as the default policy to the Virtual SAN datastore meets the requirements of virtual machines in the Virtual SAN cluster.
Procedure
- Navigate to the Virtual SAN datastore in the vSphere Web Client.
- Click the Configure tab.
- Under General, click the Default Storage Policy Edit button, and select the storage policy that you want to assign as the default policy to the Virtual SAN datastore.
The
vSphere Web Client displays a list of storage policies that are compatible with the Virtual SAN datastore, such as the Virtual SAN Default Storage Policy and user-defined storage policies that have Virtual SAN rule sets defined.
- Select a policy and click OK.
The storage policy is applied as the default policy when you provision new virtual machines without explicitly specifying a storage policy for a datastore.
What to do next
You can define a new storage policy for virtual machines. See Define a Virtual Machine Storage Policy for Virtual SAN.