Wednesday , August 22 2018
Breaking News
Home > vSAN > How to Assign vSAN Storage Policy to Virtual Machine

How to Assign vSAN Storage Policy to Virtual Machine

In this series of vSAN, In last post we have worked on how to create storage policy in the vSAN. In this post we will see on How to assign vSAN Storage policy to the virtual machine. We will also see on how the virtual machine files are replicated based on the storage policy. Once you create the storage policy it is very easy to assign the storage policy to the VM which we will see in this post.

You can also assign the storage policy using many ways such as when you create a VM, at the time of storage selection you can choose and specify the storage policy and vSAN Datastore to be applied to the virtual machine. When your VM is stored on shared storage and you have already created a storage policy so at the time of storage migration you can choose and specify the storage policy and vSAN Datastore.

Based on the vSAN Storage policy virtual machine will be stored on the vSAN Datastore. As we have already learned about the storage policies in the vSAN in this series of vSAN so if you haven’t checked yet i recommend you to check that also. Links are available at the end of this post.

So Let’s see How to assign vSAN Storage Policy to the VM:

Step 1:
Login the vSphere web client.
Right click the VM on which you want to assign policy.
VM Policies > Edit VM Storage Policies.

assign-vsan-policy-vm-1

Step 2:
Choose the VM Storage Policy from the Drop Down.

assign-vsan-policy-vm-2

Step 3:
Click Apply to all, to apply storage policy to all the objects.
As you can see below VM Storage policy is being changed.
Click OK to save and close wizard.

assign-vsan-policy-vm-3

You can see in the Summary section of the VM which storage policy is assigned to the VM.

assign-vsan-policy-vm-4

 

If you want to see the Placement of the objects of virtual machine. Then Select the virtual machine go to Monitor Tab.
Select Policies under Monitor tab.
Choose the Object and select Physical Disk Placement to see the placement of the objects in the vSAN Datastore.

assign-vsan-policy-vm-5

 

Using this way you can easily assign the vSAN Policy to the virtual machines and see their objects placements to verify that policy is compliant. If you haven’t created a vSAN policy yet then check our previous post for more.

Checkout our Posts on vSAN:

What is VMware vSAN ?

vSAN Hybrid vs All Flash Overview.

What is Disk Group in vSAN ?

vSAN Objects and Components Overview.

vSAN Deduplication and Compression Overview.

vSAN Storage Policies Overview.

How to Create vSAN VMkernel Step by Step ?

How to Configure vSAN Step by Step ?

How to Run vSAN Proactive Tests ?

How to Create vSAN Storage Policy Step by Step ?

 

That’s it for Today Friends. I Hope you liked reading this post & If you find anything more to be added or removed feel free to write it in our comments. If you find it useful You are Feel free to share this on social media to help others & spread knowledge.
If you have any query on any thing you are free to write it in our comments section & we will make sure to provide you the better solution as soon as possible.

Join Our LinkedIn Group to get Fast updates about our posts : Mastering VMware.
Checkout our Facebook Group for discussions & more.
You can also Like & Share our Facebook Page for Latest Updates.

 

About Mayur Parmar

Hi I am Mayur Parmar. Independent Author & Founder of Mastering VMware. I am working in IT industry for more than 2 Years with knowledge of VMware , Microsoft Server's, Linux Server's.

Check Also

configure folder mappings in srm

SRM: How to Configure Folder Mappings in SRM

When you install Site Recovery Manager you have to do Inventory Mappings from DC site …

configure srm network mappings

SRM: How to Configure Network Mappings in SRM

When you install Site Recovery Manager you have to do Inventory Mappings from DC site …

configure site pair in srm

SRM: How to Pair sites in Site Recovery Manager

Site Pairing is an simple process of pairing 2 sites in the SRM. This is …