VMware Cloud Community
ANSA
Expert
Expert

Changing CPU settings from 1 to 4

I have found that changing from 1CPU to multiple CPUs after the VM has been created, does not work. The OS hangs on boot up.

Is there a fix for this ??

0 Kudos
13 Replies
avlieshout
VMware Employee
VMware Employee

I've done this multiple times without any problems using ESX3.5 and Windows2003 guests.

Which ESX build are you running?

What is the guest OS?

-Arnim van Lieshout

-


Blogging: http://www.van-lieshout.com

Twitter:

If you find this information useful, please award points for "correct" or "helpful".

Arnim van Lieshout Blogging: http://www.van-lieshout.com Twitter: http://www.twitter.com/avlieshout If you find this information useful, please award points for "correct" or "helpful".
0 Kudos
AndreTheGiant
Immortal
Immortal

Which kind of guest OS are you using?

Andre

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
0 Kudos
sjadapa
Enthusiast
Enthusiast

What is the OS installed on your VM ?

****If you find this or any other answer useful please consider awarding points by marking the answer CORRECT or HELPFUL ****

Jadapa RHCE, MCSA

****If you find this or any other answer useful please consider awarding points by marking the answer CORRECT or HELPFUL **** Shankar Jadapa (RHCE, MCSA, VCP 5 ) http://linuxgurus.wordpress.com
0 Kudos
azn2kew
Champion
Champion

Where is the poster go? Smiley Happy Anyways, have you check if ESX host is vSMP aware and licensed for that feature? If yes, when you change from 1vCPU to vSMP, it will automatically changes the CPU HAL to multiprocessor, if not, you may want to access "Device Manager" and go through the wizard to see if it show up! But get back here and answer types of OS for the VM!

If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!!

Regards,

Stefan Nguyen

VMware vExpert 2009

iGeek Systems Inc.

VMware, Citrix, Microsoft Consultant

If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!! Regards, Stefan Nguyen VMware vExpert 2009 iGeek Systems Inc. VMware vExpert, VCP 3 & 4, VSP, VTSP, CCA, CCEA, CCNA, MCSA, EMCSE, EMCISA
0 Kudos
ANSA
Expert
Expert

ESX 305 123630 W2k3 Ent.

0 Kudos
ANSA
Expert
Expert

W2K3 Ent.

0 Kudos
ANSA
Expert
Expert

W2K3

0 Kudos
ANSA
Expert
Expert

Yes it is changing from Uniprocessor to Multiprocessor.

W2K3 Ent

0 Kudos
ANSA
Expert
Expert

I solved the issue by copying the three multiprocessor files from a working VM with more than one CPU to the system32 directory. I was then able to change the CPU settings from 1 to 4 without the VM hanging.

0 Kudos
azn2kew
Champion
Champion

Glad its working and nice to know the workaround? I'm still curious why it doesn't work when edit the virtual machines! Is the machine create from scratch using vCenter or P2V'ed from physical to virtual?

If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!!

Regards,

Stefan Nguyen

VMware vExpert 2009

iGeek Systems Inc.

VMware, Citrix, Microsoft Consultant

If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!! Regards, Stefan Nguyen VMware vExpert 2009 iGeek Systems Inc. VMware vExpert, VCP 3 & 4, VSP, VTSP, CCA, CCEA, CCNA, MCSA, EMCSE, EMCISA
0 Kudos
ANSA
Expert
Expert

VM created from a template in Virtual Center

0 Kudos
RParker
Immortal
Immortal

I have found that changing from 1CPU to multiple CPUs after the VM has been created, does not work. The OS hangs on boot up.

Is there a fix for this ??

Are you trying the hot add CPU while the VM is running? And some OS need to have the driver before the hardware is installed (Yes I know in a VM you don't actually install anything, but the OS doesn't know it's in a VM). So you might upgrading the kernel / Windows OS HAL then power off, then add the CPU. That sometimes works better.

0 Kudos
ANSA
Expert
Expert

No I was not trying the hot add CPU.

0 Kudos