Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 800
  • Last Modified:

Adding virtual CPUs to Server 2003/SQL 2005

Scenario:
vmWare ESXi 4
Several VM's, all running Windows Server 2003 32-bit
The SQL VM was originally configured (not by me) with only 1 virtual cpu (Xeon 2.5GHz) and with 4GB RAM.

This machine is taking strain as it runs 8 SQL databases (various sizes, largest one being about 8GB).

I need to increase this VM's performance and am toying with the idea of adding at least one more virtual CPU as this CPU runs at or above 90% for most of the day.
Since the OS is 32-bit, I cannot realistically add more RAM to it (...or can I in this virtual environment?)

VMWare says that adding a cpu to a VM may cause instability - the last thing I need is for this server to becme unstable, so the big question is: can I do this safely?

My other option would be to create another SQL VM and spread the databases accross the 2VM's, but as my datastore space is limited it may be a tight fit.

Anyone have any advice/guidance for me?
0
Altra
Asked:
Altra
  • 4
  • 3
  • 3
2 Solutions
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You can certainly try and add another CPU to the Virtual Machine, and see if it helps you performance.

The amount of RAM you have allocated to this VM seems, low, what version of Windows 2003 Server do you have?

because 32bit could be limited to 4GB only, depending upon version.

see here

http://msdn.microsoft.com/en-us/library/windows/desktop/aa366778%28v=vs.85%29.aspx
0
 
RickEpnetCommented:
It depends on how the server's HAL was setup originality. Can it handle multiple CPUs. How was the machine setup in the first place as a VM or a physical machine?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
I think it would be wise to setup a new VM, with single processor and as much ram as you require. Maybe select a 64 bit VM.

If you cannot increase the memory in the VM, what memory is in use currently?
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
AltraAuthor Commented:
Thanks for the responses:

The VM is running Windows Server 2003 Standard R2 32-bit (with SP2).

As far as I know the VM was originally set up as a VM, not a physical machine, and looking at the timeframe, it made sense to do it that way, but with the company's expansion, in retrospect it was possibly under-specced, and unfortunately it is only Standard Edition, so it looks like I am limited to the 4GB I have curently.

I would like to add a vCPU to see if this alleviates the problems, I'm just worried about stability.

Ideally I would like to go to Server 2008 x64 but I need to work on the client quite a bit to convince him to spend the money, so it is not an option at the moment.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You will be fine adding another CPU.

Make sure the VM is off.

Add A CPU
Add another CPU, when the VM restarts, you may need to start Device Manager, select CPU, and select Upgrade and select the Multi Processor HAL, and then restart.

It should not cause stability issues, but may not give you the results you expect.
0
 
RickEpnetCommented:
Is the server utilizing all the RAM right now? Do you have multiple databases do you have multiple incidents of SQL running or are all the databases running under the same incident?
0
 
AltraAuthor Commented:
hancocka: Thanks - stability query answered ok. Will add the cpu and see what happens. I do accept that it may not do all I need it to do, but if it alleviates the almost constant 100% cpu usage I'll be happy. Users are experiencing lagginess and hanging when using the app that depends on these databases - and I've drawn a correlation that cpu usage is pegged at 100% when they experience this lag.

RickEpnet: There are 8 databases all running on one instance of SQL and memory usage is not horribly high - usually around 50% to 75%
0
 
RickEpnetCommented:
Then adding the CPU is you best chance beside going with a 64 bit server.
0
 
AltraAuthor Commented:
Great, thanks - going 64-bit is first prize, but since the client is not going to spend money on that right now, I'll settle for second...
0
 
AltraAuthor Commented:
To the point, just what I was looking for.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now