Translate

Total Pageviews

My YouTube Channel

Thursday, 18 April 2013

How to tag a Non-SSD device as an SSD device for the Host Cache to Swap Feature Testing

Datastores that are created on solid state drives (SSD) can be used to allocate space for host cache. The host reserves a certain amount of space for swapping to host cache.

The host cache is made up of files on a low-latency disk that ESXi uses as a write back cache for virtual machine swap files. The cache is shared by all virtual machines running on the host. Host-level swapping of virtual machine pages makes the best use of potentially limited SSD space.

Using swap to host cache is not the same as placing regular swap files on SSD-backed datastores. Even if you enable swap to host cache, the host still needs to create regular swap files. However, when you use swap to host cache, the speed of the storage where the host places regular swap files is less important.

The Host Cache Configuration page allows you to view the amount of space on a datastore that a host can use to swap to host cache. Only SSD-backed datastores appear in the list of datastores on the Host Cache Configuration page.


1. Run this Command to enable the SSD Tagging on the Non-SSD device. Here after --device parameter you have to type the canonical name of your LUN.


2. Now Reclaim that path



3. Then Create the datastore from that lun you will get the ssd tagging on that datastore


4. Then It will be available to you in Host Cache to SSD that is under the Software Category in the Esxi Host Configuration Tab.

5. Now Open the Properties of the datastore and enable allocate space to host cache feature.


That's Done. This is how you can configure this feature.

No comments:

Post a Comment