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.
Anchor |
---|
| VMwareParavirtualSCSIController-id1 |
---|
| VMwareParavirtualSCSIController-id1 |
---|
|
[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.
Anchor |
---|
| VMwareParavirtualSCSIController-id2 |
---|
| VMwareParavirtualSCSIController-id2 |
---|
|
[2] Anchor |
---|
| Changing-VMware-Storage-Controller-to-Paravirtual-for-CentOS-7 |
---|
| Changing-VMware-Storage-Controller-to-Paravirtual-for-CentOS-7 |
---|
|
Anchor |
---|
| VMwareParavirtualSCSIController-Changing-VMware-Storage-Controller-to-Paravirtual-for-CentOS-7 |
---|
| VMwareParavirtualSCSIController-Changing-VMware-Storage-Controller-to-Paravirtual-for-CentOS-7 |
---|
|
Changing VMware Storage Controller to Paravirtual for CentOS 7This 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.
...
Code Block |
---|
language | bash |
---|
linenumbers | false |
---|
|
vss-cli --wait compute vm set <name-or-vm-id> snapshot mk -d "lsi logic to paravirtual" -l 72 |
Power Off the virtual machine:
Code Block |
---|
language | bash |
---|
linenumbers | false |
---|
|
vss-cli --wait compute vm set <vm-name-or-vm-id> state shutdown |
...
Code Block |
---|
language | bash |
---|
linenumbers | false |
---|
|
vss-cli --wait compute vm set <vm-name-or-vm-id> controller scsi mk --scsi paravirtual |
...
Code Block |
---|
language | bash |
---|
linenumbers | false |
---|
|
vss-cli --wait compute vm set <vm-name-or-vm-id> state on |
...
Code Block |
---|
language | bash |
---|
linenumbers | false |
---|
|
vss-cli --wait compute vm set <vm-name-or-vm-id> state shutdown |
...
Code Block |
---|
language | bash |
---|
linenumbers | false |
---|
|
vss-cli --wait compute vm set <vm-name-or-vm-id> controller scsi up -t paravirtual 0 |
...
Code Block |
---|
language | bash |
---|
linenumbers | false |
---|
|
vss-cli --wait compute vm set <name-or-vm-id> controller scsi rm 1 |
...
Code Block |
---|
language | bash |
---|
linenumbers | false |
---|
|
vss-cli --wait compute vm set <vm-name-or-vm-id> state on |
...
Code Block |
---|
language | bash |
---|
linenumbers | false |
---|
|
vss-cli --wait compute vm set <vm-name-or-vm-id> snapshot rm <snap-id> |
Anchor |
---|
| Changing-VMware-Storage-Controller-to-Paravirtual-for-Windows |
---|
| Changing-VMware-Storage-Controller-to-Paravirtual-for-Windows |
---|
|
Anchor |
---|
| VMwareParavirtualSCSIController-Changing-VMware-Storage-Controller-to-Paravirtual-for-Windows |
---|
| VMwareParavirtualSCSIController-Changing-VMware-Storage-Controller-to-Paravirtual-for-Windows |
---|
|
Changing VMware Storage Controller to Paravirtual for WindowsThis 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
Anchor |
---|
| VMwareParavirtualSCSIController-id3 |
---|
| VMwareParavirtualSCSIController-id3 |
---|
|
[3].
Warning |
---|
Ensure machine is patched and latest VMware Tools installed and running. If VMware Tools is ever removed from the system, it will not boot. |
...
Code Block |
---|
language | bash |
---|
linenumbers | false |
---|
|
vss-cli --wait compute vm set <name-or-vm-id> snapshot mk -d "lsi logic to paravirtual" -l 72 |
Shutdown/Power Off the virtual machine:
Code Block |
---|
language | bash |
---|
linenumbers | false |
---|
|
vss-cli --wait compute vm set <vm-name-or-vm-id> state --cconfirm shutdown |
Add a temporary VMware Paravirtual Controller to the Virtual Machine.
Code Block |
---|
language | bash |
---|
linenumbers | false |
---|
|
vss-cli --wait compute vm set <vm-name-or-vm-id> controller scsi mk --sscsi paravirtual |
Verify that a new SCSI controller has been created.
...
Code Block |
---|
language | bash |
---|
linenumbers | false |
---|
|
vss-cli --wait compute vm set <vm-name-or-vm-id> state --confirm shutdown |
Update scsi controller 0 to type Paravirtual:
Code Block |
---|
language | bash |
---|
linenumbers | false |
---|
|
vss-cli --wait compute vm set <vm-name-or-vm-id> controller scsi up -t paravirtual 0 |
...
Code Block |
---|
language | bash |
---|
linenumbers | false |
---|
|
vss-cli --wait compute vm set <vm-name-or-vm-id> state --confirm shutdown |
Remove temporary SCSI controller
...
Code Block |
---|
language | bash |
---|
linenumbers | false |
---|
|
vss-cli --wait compute vm set <vm-name-or-vm-id> snapshot rm <snap-id> |
...
Anchor |
---|
| VMwareParavirtualSCSIController-id4 |
---|
| VMwareParavirtualSCSIController-id4 |
---|
|
...
VMware KB 1010398
Anchor |
---|
| VMwareParavirtualSCSIController-id5 |
---|
| VMwareParavirtualSCSIController-id5 |
---|
|
...
Performance Best Practices for VMware vSphere 6.7
Anchor |
---|
| VMwareParavirtualSCSIController-id6 |
---|
| VMwareParavirtualSCSIController-id6 |
---|
|
...
Contributed by Joe Bate.
...