Koozali.org: home of the SME Server

SME8admin and hardware sensors

Offline Mntsnow

  • ***
  • 59
  • +0/-0
    • http://www.mntsnow.com
SME8admin and hardware sensors
« on: November 19, 2012, 05:52:27 PM »
I was able to get sensors detected but I am at a loss of what to do to actually get them working.....IE "You will need to follow the instructions in order to add the detected sensors in rc.local to have them loaded on reboot"

Can someone help a newbie?  I have searched and I'm not finding (or understanding?) instructions/HowTo do this.

Thanks!

SME-8 64bit
PowerEdge 1950 III
(2) Quad Core Xeon x5460 @ 3.16GHz
24Gb Memory
PERC 5i raid controller
4 x 500Gb SAS 7.2K Drives in Raid 5
Dual 1Gb Nics

Offline pmstewart

  • *
  • 73
  • +0/-0
Re: SME8admin and hardware sensors
« Reply #1 on: December 11, 2012, 12:29:16 PM »
Mntsnow,

This contrib is an interesting study in relation to its porting to SME 8.0. I've installed and used sme7admin for years and it's worked great. Recently added SME 8.0 to two of the same servers we were running sme 7 on - with mixed results for sme8admin. The oldest of the machines runs without the error your reporting but two of the newer machines receive this message when trying to setup lm_sensors.

Take this with a grain of salt. I don't know how the new version of sme8admin is templated or designed - sme7admin used four files to complete it's rounds on our servers.

1. /etc/sensors.conf
2. /etc/modules.conf
3. /etc/sysconfig/lm_sensors
4. /etc/rc.d/rc.local

With the new version the "modules.conf" is not even created. Yet even with this error it does create the lm_sensors file with the modules commands.

We were successful getting lm_sensors to work correctly by putting in info from older config files for these motherboards for lm_sensors.

Take a crack at this .....
ensure your /etc/sysconfig/lm_sensors has the "module" loaded for your chipset as detected by sensors-detect (two of our servers use the w83627wf module)

nano /etc/sysconfig/lm_sensors

at the bottom ensure the following is inserted - MODULE_0=w83627hf - if not paste it and ctrl-x to exit follow the onscreen save options at the bottom of nano.

I created a /etc/modules.conf and put the old info in it....

nano /etc/modules.conf

Insert and save:

# I2C module options
alias char-major-89 i2c-dev

Insert the following in the /etc/rc.d/rc.local and save

# I2C adapter drivers
modprobe i2c-isa

# I2C chip drivers
modprobe w83627hf

# Sleep 2 Optional (Recommended)
/usr/bin/sensors -s

run signal-event post-upgrade ; signal-event reboot

once back in the server run the "sensors" command and adjust the /etc/sensors.conf according to your motherboard.

Hope this helps - there are no error messages I can find in the logs after completing but sme8admin works great.

Also, please raise a bug in the bugtracker so the developer is made aware and can address the issue - Thanks


« Last Edit: December 11, 2012, 12:48:27 PM by pmstewart »

Offline Mntsnow

  • ***
  • 59
  • +0/-0
    • http://www.mntsnow.com
Re: SME8admin and hardware sensors
« Reply #2 on: December 11, 2012, 03:30:09 PM »
Thank you Pmstewart for the info.  I will try to dive in to this later on today :)
SME-8 64bit
PowerEdge 1950 III
(2) Quad Core Xeon x5460 @ 3.16GHz
24Gb Memory
PERC 5i raid controller
4 x 500Gb SAS 7.2K Drives in Raid 5
Dual 1Gb Nics