VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
13 Replies Last post: Aug 5, 2009 11:00 AM by ANSA  

Changing CPU settings from 1 to 4 posted: Aug 5, 2009 7:51 AM

Click to view ANSA's profile Expert 621 posts since
May 16, 2005

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 ??

Re: Changing CPU settings from 1 to 4

1. Aug 5, 2009 7:56 AM in response to: ANSA
Click to view ZaWizZ's profile Expert 281 posts since
Jul 27, 2007

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: http://www.twitter.com/avlieshout

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

Re: Changing CPU settings from 1 to 4

2. Aug 5, 2009 7:56 AM in response to: ANSA
Click to view AndreTheGiant's profile Guru 7,590 posts since
Aug 28, 2008
Which kind of guest OS are you using?

Andre

Re: Changing CPU settings from 1 to 4

3. Aug 5, 2009 7:56 AM in response to: ANSA
Click to view sjadapa's profile Hot Shot 113 posts since
Jul 1, 2009

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

Re: Changing CPU settings from 1 to 4

4. Aug 5, 2009 8:01 AM in response to: sjadapa
Click to view azn2kew's profile Champion vExpert 2,949 posts since
Jun 21, 2006
Where is the poster go? :) 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

Re: Changing CPU settings from 1 to 4

10. Aug 5, 2009 10:20 AM in response to: ANSA
Click to view azn2kew's profile Champion vExpert 2,949 posts since
Jun 21, 2006
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

Re: Changing CPU settings from 1 to 4

12. Aug 5, 2009 10:54 AM in response to: ANSA
Click to view RParker's profile Champion vExpert 5,731 posts since
Dec 6, 2006
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.

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities