Operating System - Linux
1827993 Members
2347 Online
109973 Solutions
New Discussion

Add A Second CPU To A Server

 
John CLARK_5
Frequent Advisor

Add A Second CPU To A Server

Dear friends,

I have a server with one processor,i want to add a second processor.
Is that need a configuration ? or it doesn't need ? : just shudown the server,plug
the processor and start the server ?


Ps : I have Linux Redhat 4 ES.

Thank you in advance for your help.


Best Regards.
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: Add A Second CPU To A Server

If you installed the SMP kernel, which you could have done even with 1 CPU you are done.

The second process will be recognized either way, and the OS will probably use it, but for full performance, you need the SMP kernel.

Otherwise, you are right. There is a minimal chance of a kernel panic, but thats not likely.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ross Minkov
Esteemed Contributor

Re: Add A Second CPU To A Server

Also make sure that you have the smp kernel as you default kernel in grub.conf, so when you reboot the server boots to it.
John CLARK_5
Frequent Advisor

Re: Add A Second CPU To A Server

you mean that i must choose the line with "smp" ?

Regards.
Steven E. Protter
Exalted Contributor

Re: Add A Second CPU To A Server

Yes, you are correct, pick the line with smp, if it exists.

If the system runs properly, you can change the grub.conf file to boot off the smp kernel.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ross Minkov
Esteemed Contributor

Re: Add A Second CPU To A Server

In your /boot/grub/grub.conf file you will have a line like ths:

default=x

and below it you will have one or more sections like this:

title ...
root (...)
kernel ...
initrd ...

The first section is number 0, the second one is 1, etc. Make sure that the section that has the SMP kernel is you default. So if the first section has the smp kernel then make sure that you have default=0.


HTH,
Ross

Suraj Singh_1
Trusted Contributor

Re: Add A Second CPU To A Server

The 2nd processor you are going to add must be of the same specs as the already installed one.

SMP kernel must be enabled if you have more than one processor. Most probably, even if you have one processor, and have HT enabled on it, your systems would by default install both SMP and Non SMP kernels.

Regards
What we cannot speak about we must pass over in silence.