Web
Analytics Made Easy - StatCounter

vSphere 5.5 VM Storage Policies

vmstoragepolicies01

VM Storage Policies ensure the administrators that virtual machines are placed to storage that guarantees a specific level of capacity, availability and performance.

Formerly called VM Storage Profiles, in vSphere 5.5 they have been renamed to VM Storage Policies.

 

Enable VM Storage Policies

First thing to do is enabling the VM Storage Policies feature. Open your favorite browser and access vCenter Server using vSphere Web Client. Go to Home and click VM Storage Policies icon.

vmstoragepolicies02

Click the Enable VM storage policies per compute resource button.

vmstoragepolicies03

To enable the feature for the current host/cluster, click Enable button.

vmstoragepolicies04

Once enabled, you can recognize the new status in the VM Storage Policy Status field.

vmstoragepolicies05

Storage Policies have been now enabled for the cluster.

 

Create a new tag

From vCenter Server, go to Datastore view and select the datastore you want to attach a storage policy to. To create the Storage Policy we need to create a Tag by clicking the New tag button.

vmstoragepolicies06

Fill the Name and Description tag fields then create a new category. Fill the requested category details and select Datastore as Associable Object Type. Click OK to confirm.

vmstoragepolicies07

Assign the new created tag to the datastore(s) you want to include in the storage policy. Right click the datastore(s) and select Assign Tag option.

vmstoragepolicies08

Click Yes to perform this action.

vmstoragepolicies09

Click Assign button to tag the selected datastore(s).

vmstoragepolicies10

The tag is now assigned to your datastore(s).

 

Create a new VM Storage Policy

From vSphere Web Client, go to Home and click the VM Storage Policies icon.

vmstoragepolicies11

This time you need to click the Create a new VM storage policy button.

vmstoragepolicies12

Fill the details and click Next.

vmstoragepolicies13

Click Next to continue.

vmstoragepolicies14

Because no Rule-Set has been assigned yet, click Add tag based rule button.

vmstoragepolicies15

From the Categories drop-down menu, select the storage category previously created.

vmstoragepolicies16

Select the added category then click OK.

vmstoragepolicies17

Click Next to continue.

vmstoragepolicies18

Next screen shows the resources that match the tag associated with the policy. Click Next.

vmstoragepolicies19

Click Finish to complete the procedure.

vmstoragepolicies20

The new VM Storage Policy has been now created.

vmstoragepolicies21

 

Assign policies to virtual machines

To assign this policy to a virtual machine, right click the virtual machine and select All vCenter Actions > VM Storage Policies > Manage VM Storage Policies.

vmstoragepolicies22

From Home VM storage policy drop-down menu, select the storage policy created.

vmstoragepolicies23

Click Apply to disks button. The selected policy is shown in the VM Storage Policy field. Click OK to complete.

vmstoragepolicies24

Now verify the policy has been applied by checking the virtual machine Summary view.

vmstoragepolicies25

While creating a new virtual machine, the VM can be placed to a specific storage using the VM Storage Policy and selecting the correct policy from the drop-down menu.

vmstoragepolicies26

The resources that match the selected policy will be shown as Compatible.

vmstoragepolicies27

VM Storage Policies are an useful feature that make simpler the process of assigning virtual machines to specific datastore(s).

firma