How to Create VMware vSAN Storage Policies

Posted on March 18, 2014 by Brian Suhr in VMware with 0 Comments

In order to control the behavior of VMware virtual SAN (vSAN) storage, we need to use storage policies. These profiles allow admins to create rules that utilize capabilities advertised by the storage. These rules allow for control over performance or protection levels of a virtual machine on a vSAN datastore. This post will walk through the short process of enabling and creating a new storage profile.

Enabling VM Storage Policies

To get started I’ve logged into the vSphere web client and located the icon for VM Storage Policies. Click on the icon, make sure the service is enabled, and then we can start to configure.

VM virtual SAN vsan Storage Policies

The first step is to enable storage policies on our vSAN cluster. Click the highlighted button as shown in the image below.

VM virtual SAN vsan enable Storage Policies

 

This will open a window that will tell us the current VM storage policy status. If its anything other than enabled we will need to enable. To do this click on the cluster that we want to turn on and click the Enable button.

VM virtual SAN vsan Storage Policies

Sponsored

Creating a Storage Policy

We are now ready to create our first storage policy. We are back at the previous screen and click the icon show to create the policy.

VM virtual SAN vsan create Storage Policies

 

We can now walk through the wizard. First, enter a name for the policy and write a description. The description will help others understand how the policy should be used.

VM virtual SAN vsan create Storage Policies

We are now ready to create the rule set. The first step is to pick vSAN from the list of vendor capabilities. If you have other storage that supports VASA there might be more than just the vSAN option. For the first rule, select the Number of failures to tolerate. This can be used to adjust how many copies of an object or a VM that we want to have on the vSAN cluster.

Sponsored

You have the option to define multiple capabilities within a single policy. This would be needed if you wanted to enable several storage capabilities on a particular VM, since you cannot apply more than a single storage policy to a VM.

VM virtual SAN vsan create Storage Policies rule set

Now the rule set that was created must be matched to a resource. In this case, the resource is our vSAN datastore that was already created.

VM virtual SAN vsan create Storage Policies rule set

The final step of the wizard is the confirmation screen. This shows the details of the policy we created, listing the rules/capabilities that were selected.

VM virtual SAN vsan create Storage Policies confirmation

Creating storage policies is pretty easy. I don’t see many customers creating policies so far, but I do expect this to become more common. As new storage technologies continue to develop and be more software controlled, I think the need for storage policies will continue to grow.

Sponsored

Tagged with , , , , ,