vsphere_static_160x300
Badges

vexpert_logo_100x57

gestaltitbadge

follow-me-twitter

Subscribe to me on FriendFeed

Comments / DISQUS
Feedjit.com

P2V multi processor servers to single processor VMs

One of the major disadvantages of VMware Converter is that you do not have the option to choose how many virtual cpus (vCPU) your new VM will have. If your source physical server has 2 CPU sockets your target VM will end up with 2 vCPUs. If your source server’s CPUs are dual core your target VM ends up with 4 vCPUs. It’s a well known best practice to minimize the number of multi processor VMs in your virtual infrastructure. So, how do you make sure servers that you p2v result in single processor VMs?


It’s a good idea to start by choosing to not power on the VM when the conversion is complete. This gives you the opportunity to reduce the vCPUs before you start the VM’s HAL for the first time, and allows you to remove hardware like COM and parallel ports.

Should you still experience performance issues you will have to modify the VM’s HAL manually.

VMware Communities: How to P2V multi-proc box to uni-proc ..

is forum thread that explains the process of adjusting a multi porcessor HAL carried over during a p2v conversion. I have cleaned up the cut and pasted steps:

Changing the HAL from Multi processor to Single processor after P2V conversion:

  1. Before making any changes to the VM, Create a Snapshot in Virtual Center.
  2. RDP or Console into the Server and go to Device Manager
  3. For Windows Server 2003, install the following hotfix. It does not require a reboot. This hotfix allows you to downgrade to Uniprocessor. WindowsServer2003-KB923425-v2-x86-ENU.exe (updated 08.01.08 – you do not need the hotfix if you have an APIC HAL. If you have an APCI HAL the option to downgrade the HAL described in the next steps is not available and you must apply the hotfix before continuing. See the July 31 comment from Matthijs below)
  4. Expand the Computer tab to see what HAL is loaded
  5. Right click on ACPI Multiprocessor PC and choose Properties
  6. Click the Driver tab
  7. Click Update Driver
  8. Click Next
  9. Choose Display driver [in order to] choose and click Next
  10. Choose ?Show all hardware of this device class?
  11. Choose ACPI Uniprocessor PC and click Next
  12. You will be warned about changing this driver, but Click Yes to continue
  13. Click Next
  14. Click Finish
  15. Click Close
  16. You will be asked to reboot the computer.
  17. If the Computer reboots cleanly and everything seems to work, clean up the Snapshot you took.
  18. Verify in Device Manager that the HAL has changed.

Related Posts

  • v4nilla
    Windows 2003 SP2 includes this hotfix.
  • All of my converted VMs seem to be using the MPS Multiprocessor HAL - not the APIC or APCI. Is there an option for me?
    Thanks!
  • Matthijs,

    Thanks for the info and the supporting link.
  • It needs to be said that the hotfix (http://support.microsoft.com/kb/923425) is only needed if you're using an APIC HAL. When using an ACPI HAL it automatically switches between the Uni- and Multiprocessor HALs.
blog comments powered by Disqus
Hyper9 Cowabunga
Support VM /ETC
Support VMETC.com

Support VMETC.com

Free Business and Tech Magazines and eBooks
@rbrambley tweets
Advertisements
VMTN Roundtable Podcasts
Subscribe



Add to Google Reader or Homepage
Subscribe in NewsGator Online
Add to netvibes
Add to Plusmo