VMware Paravirtual SCSI Controller

According to VMware, there are two main reasons to deploy a virtual machine with the Paravirtual SCSI controller:

PVSCSI adapters are high-performance storage adapters that can result in greater throughput and lower CPU utilization. PVSCSI adapters are best for environments, especially SAN environments, where hardware or applications drive a very high amount of I/O throughput. The VMware PVSCSI adapter driver is also compatible with the Windows Storport storage driver. PVSCSI adapters are not suitable for DAS environments. VMware Paravirtual SCSI adapters are high-performance storage adapters that can result in greater throughput and lower CPU utilization.

[1]

The PVSCSI adapter offers a significant reduction in CPU utilization as well as potentially increased throughput compared to the default virtual storage adapters, and is thus the best choice for environments with very I/O-intensive guest applications.

[2]

Changing VMware Storage Controller to Paravirtual for CentOS 7

This tutorial contain step by step guidance to change the Virtual Storage Controller from LSI Logic Parallel (SCSI controller 0) to VMware Paravirtual for a CentOS 7 based Virtual Machine that is running on the ITS Private Cloud.

  1. Create a Virtual Machine Snapshot:

vss-cli compute vm set <name-or-vm-id> snapshot mk -d "lsi logic to paravirtual" -l 72
  1. Power Off the virtual machine:

vss-cli compute vm set <vm-name-or-vm-id> state shutdown
  1. Add a temporary VMware Paravirtual Controller to the Virtual Machine.

vss-cli compute vm set <vm-name-or-vm-id> controller scsi mk --scsi paravirtual
  1. Verify that a new SCSI controller has been created.

  1. Power On the virtual machine.

  1. Login and promote your account to have root level permission.

  2. Rebuild the initial ramdisk image:

  1. Power Off or shutdown the virtual machine:

  1. Update scsi controller 0 to type Paravirtual:

  1. Check whether the update executed successfully:

  1. Remove temporary SCSI controller

  1. Power On the virtual machine:

  1. Verify everything is working well.

  2. (Optional) Remove Virtual Machine snapshot:

Changing VMware Storage Controller to Paravirtual for Windows

This tutorial contain step by step guidance to change the Virtual Storage Controller from LSI Logic SAS (SCSI controller 0) to VMware Paravirtual for a Microsoft Windows Server 2016 or later (64-bit) based Virtual Machine running on the ITS Private Cloud

[3].

Ensure machine is patched and latest VMware Tools installed and running.

If VMware Tools is ever removed from the system, it will not boot.

  1. Create a Virtual Machine Snapshot:

  1. Shutdown/Power Off the virtual machine:

  1. Add a temporary VMware Paravirtual Controller to the Virtual Machine.

  1. Verify that a new SCSI controller has been created.

  1. Power On the virtual machine.

  1. Log Onto windows machine to verify whether the VMware Paravirtual driver get installed using Device Manager > Controllers > PVSCSI device.

  2. Shutdown/Power Off the virtual machine:

  1. Update scsi controller 0 to type Paravirtual:

  1. Check whether the update executed successfully:

  1. Power On the virtual machine.

  1. Log Onto windows machine to verify boot and driver changed, in device manager you will now see 2 - controllers PVSCSI device.

  1. Shutdown/Power Off the virtual machine:

  1. Remove temporary SCSI controller

  1. Power On the virtual machine.

  1. Log Onto windows machine verify boot and removal of secondary scsi controller using the device manager.

  2. (Optional) Remove Virtual Machine snapshot:


[1]

[2]

[3]

Contributed by Joe Bate.


University of Toronto - Since 1827