Friday, March 5, 2010

How to configure a disk to use a PVSCSI adapter/Real time Experience

I read from some of the blogs that with the vSphere release VMware showed some amazing stats in regards to the increased level of I/O that can be attained in a virtual infrastructure.They explained the test was conducted in the EMC Enterprise Flash Drives, which have an incredibly high throughput. But I done various testing with my test setup. I am not able to reach any performance improvement.I got an 12% reduction in the CPU cycle.Which is the only advantage i see after having the PVSCI adapter migration.

To configure a disk to use a PVSCSI adapter for Windows VMs:
1. Launch a vSphere Client and log in to an ESX host.
2. Select a virtual machine, or create a new one.
3. Ensure a guest operating system that supports PVSCSI is installed on the virtual machine.
Note: Booting a Linux guest from a disk attached to a PVSCSI adapter is not supported. Booting a Microsoft Windows guest from a disk attached to a PVSCSI adapter is not supported in versions of ESX prior to ESX 4.0 Update 1. In these situations, the system software must be installed on a disk attached to an adapter that does support bootable disk.
4. In the vSphere Client, right-click on the virtual machine and click Edit Settings.
5. Click the Hardware tab.
6. Click Add.
7. Select Hard Disk.
8. Click Next.
9. Choose any one of the available options.
10. Click Next.
11. Specify the options your require. Options vary depending on which type of disk you chose.
12. Choose a Virtual Device Node between SCSI (1:0) to SCSI (3:15) and specify whether you want to use Independent mode.
13. Click Next.
14. Click Finish to finish the process and exit the Add Hardware wizard. A new disk and controller are created.
15. Select the newly created controller and click Change Type.
16. Click VMware Paravirtual and click OK.
17. Click OK to exit the Virtual Machine Properties dialog.
18. Power on the virtual machine.
19. Install VMware Tools. VMware Tools includes the PVSCSI driver.
20. Scan and format the hard disk.

Procedure to Install a Linux VMs with PVSCSI.

1. Install with emulated LSI SCSI controller
2. Install online updates for your Linux distribution
3. Install VMWare-Tools (uninstall open-vm-tools and kernel modules which come already with your distribution prior to install the new Tools)
4. Make sure to add pvscsiin your “INITRD_MODULES”-Line in /etc/sysconfig/kernel 5. invoke “mkinitrd” as root
6. shutdown
7. Change SCSI controller type to “paravirtual” (via vSphere client)
8. power on the virtual linux machine

No comments:

Post a Comment