Koozali.org: home of the SME Server

Dual CPU Support in SME Server

gtoseski

Dual CPU Support in SME Server
« on: September 03, 2005, 03:58:00 AM »
Have an old PII Proliant Server running SME Server 6.0.1-01, just wondering does it support (SMB) dual CPU, is there something i need to do? I really want to take advantage of the hardware i am using.
Thankyou

Offline dmac

  • ****
  • 143
  • +0/-0
    • http://www.rylar.ca
Dual CPU Support in SME Server
« Reply #1 on: September 03, 2005, 06:20:24 AM »
I have installed SEM 6.0.1 Custom on a Dell PowerEdge with Dual PII 350's and it has been working as a gateway for the last two years without a hitch.  SME should recognize the dual processors and load the appropriate modules.  You will have a prompt at startup if you watch the screen.
"In a world without Fences, why do we need Gates and Windows"

flaviove

Dual CPU Support in SME Server
« Reply #2 on: September 05, 2005, 12:34:32 AM »
If you need info about cpu´s you can try that
"[user@machine]#cat /proc/cpuinfo".

gtoseski

Dual CPU Support in SME Server
« Reply #3 on: September 05, 2005, 06:52:01 AM »
where do i type that command,
i have looked at my logs and it only shows "initializing CPU#0"
does not mention the 2nd CPU anywhere :(

flaviove

Dual CPU Support in SME Server
« Reply #4 on: September 05, 2005, 03:20:20 PM »
Just login on your SMEserver box as a root and type it on the command line prompt(cat /proc/cpuinfo)
You can do that too.
type: cd /proc <enter>
type: cat cpuinfo <enter>

Offline Smitro

  • *
  • 350
  • +0/-0
Dual CPU Support in SME Server
« Reply #5 on: September 05, 2005, 03:25:19 PM »
Don't forget when you start up the server, when you see the splash screen select SME SMP and not SME UP. This will enable SMP (Symmetric Multi-Processing). You only have to do it once and it will remember it next time.
.........

gtoseski

Dual CPU Support in SME Server
« Reply #6 on: September 06, 2005, 10:45:18 AM »
The SMP at the startup did the trick and also the cpuinfo!!!, thank you so much for all the help,
This SME Server is really growing on me!! :-D

gtoseski

Dual CPU Support in SME Server
« Reply #7 on: September 06, 2005, 11:33:02 AM »
Unfortunately when i reboot, it does not remember the 2nd CPU,
i have to select the SMP part to boot or it will only boot into 1 CPU
any suggestions?

gtoseski

Dual CPU Support in SME Server
« Reply #8 on: September 06, 2005, 11:39:21 AM »
Unfortunately when i reboot, it does not remember the 2nd CPU,
i have to select the SMP part to boot or it will only boot into 1 CPU
any suggestions?

Offline Smitro

  • *
  • 350
  • +0/-0
Dual CPU Support in SME Server
« Reply #9 on: September 06, 2005, 01:09:07 PM »
are you sure? :-| did you shut the machine down properly and then bring it back up?
.........

gtoseski

Dual CPU Support in SME Server
« Reply #10 on: September 06, 2005, 04:18:53 PM »
I use the shutdown that is in the admin concole, also i have tried in the web admin.
i have tried in the promt

the command, shutdown -g0

i hope that is the right command, i use the shutdwon command in SCO UNIX

brewstate

Example cpuinfo?
« Reply #11 on: October 31, 2005, 08:14:00 PM »
I checked out the cpuinfo file and it says siblings 1 that is the only thing that I could see that may show more than one cpu. Also tops doesn't really show 2 processors, is that normal? (you may properly assume that I booted in smp mode and have read the previos posts to this thread).  Thank you.

Offline kruhm

  • *
  • 680
  • +0/-0
Dual CPU Support in SME Server
« Reply #12 on: November 03, 2005, 02:06:07 PM »
-edit /etc/lilo.conf
-change "default = SMEServer-up" to "default = SMEServer-smp"
-/sbin/e-smith/expand-template /etc/lilo.conf
-lilo
-/sbin/e-smith/signal-event reboot

Offline Denbert

  • *
  • 156
  • +0/-0
    • hegnstoften.net
Dual CPU Support in SME Server
« Reply #13 on: November 06, 2005, 11:10:55 PM »
Hi,

I’m trying to setup a new server with SMP.

My mobo is an ASUS A7M266-D and two Athlon 2400 MP processors.

Installing SME 6.0.1 runs fine and I choose SME SMP at bootup, but message log says:

“kernel: SMP motherboard not detected.”

Then I tried upgrading the installation to SME 7.beta5 and got this great message in my log:

“kernel: Total of 2 processors activated (7929.85 BogoMIPS).”

Anyone got a suggestion – I can use it now, but hey, there are two processors in the server, why not use them both :-)
/ Denbert
"Success is not final, failure is not fatal: it is the courage to continue that counts" - Sir Winston Churchill

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Dual CPU Support in SME Server
« Reply #14 on: November 07, 2005, 08:28:45 PM »
Quote from: "gtoseski"
Unfortunately when i reboot, it does not remember the 2nd CPU,
i have to select the SMP part to boot or it will only boot into 1 CPU
any suggestions?


Please try this fix

cd /etc/e-smith/templates/etc/lilo.conf

cp 30labels /root - just in case you need to revert back to it.

pico -w 30labels

add this line:

s/default=SMEServer.*/default=$kernel/;

above this line:

$_ } @preamble;


then do

/sbin/e-smith/config show lilo

If your DefaultKernel is set to SMEServer-up then do:

/sbin/e-smith/config setprop lilo DefaultKernel SMEServer-smp

/sbin/e-smith/expand-template /etc/lilo.conf

/sbin/lilo

You should see an * by the SMP version.

reboot - shutdown -r now

Watch the splash screen on reboot and you should see the SMP version selected.  If you can't be at the server console, then after the server is back up do a cat /proc/cmdline while logged in as root and you should be able to determine what kernel version was booted.  

I have tried to thoroughly test this fix on 6.0.1, but am not in a position to update the bug report yet.  The only thing that needs changing to fix this is the update to 30labels.  There are other events that run to change lilo.conf and update lilo if a new kernel is chosen.

Let me know if this does indeed fix this for you.

JB
......