If you use vSAN Direct with vSAN Data Persistence platform, you can create a capability based storage policy to be used with the namespace where stateful services run.

Procedure

  1. In the vSphere Client, open the Create VM Storage Policy wizard.
    1. In the Home menu, click Policies and Profiles.
    2. Under Policies and Profiles, click VM Storage Policies.
    3. Click Create.
  2. Enter the policy name and description.
    Option Action
    vCenter Server Select the vCenter Server instance.
    Name Enter the name of the storage policy, for example, Sample vSAN Direct Thick.
    Description Enter the description of the storage policy.
  3. On the Policy structure page under Datastore specific rules, enable rules for vSAN Direct storage placement.
  4. On the vSAN Direct rules page, specify vSAN Direct as a storage placement type.
  5. On the Storage compatibility page, review the list of vSAN Direct datastores that match this policy.
  6. On the Review and finish page, review the storage policy settings and click Finish.
    To change any settings, click Back to go to the relevant page.

What to do next

After you create the policy, you can assign it to the namespace where your stateful service runs. See Change Storage Settings on a Namespace.