Virtualize SSD drives in VMware

Sometimes you’d need to test/simulate some features in your lab, but you can’t because a real SSD drive must be installed in your system, like testing VSAN or Flash cache, this quick guide will teach you how to simulate SSD drives:

(this guide is applicable to VMware workstation and ESXi as well, hardware ver.8 and above is required.

in the following scenario I suppose that you are simulating vSphere environment in your lab, the following steps are executed on ESXi 6.0 VM hosted on VMware Workstation 12 Pro

  1. power off the ESXi VM.
  2. edit the VM settings.
  3. add a new hard disk.
  4. after adding it, click on it from the left pane, then click on “Advanced” button on the right-hand side panel.
  5. learn about the controller the new drive is attached to, like “SCSI0:1”
  6. navigate to the folder of the ESXi VM on your computer.
  7. make a backup copy from the .vmx configuration file.
  8. edit the original .vmx file using a word processing app, like wordpad.
  9. paste the following line at the very end of the vmx file, but replace the X and Y by the values you’ve got in step 5.

scsiX:Y.virtualSSD = “1”

10. save the vmx file and power on the VM.

11. after the ESXi finishes startup loading, login to it by either web client or vSphere client (depending on your scenarion).

12. navigate to the storage settings, you should see the new added drive and the type is “FLASH”

vcenter view

SSD

13. now you are done.

Also watch the video below for better understanding, the language of the video is Arabic.


Posted

in

by

Tags:

Comments

Leave a Reply

%d bloggers like this: