[Plugin] IPMI for unRAID 6.1+


Recommended Posts

1 hour ago, dmacias said:
2 hours ago, TUMS said:
So I installed the ipmi plugin the other day. Everything seemed to be working good.  Set fan speed minimum to 31.  My fans were all humming away at 3400-3500rpm.  I come back today and my fans are all back down to 2400rpm and my HDD temps are pretty high. Somethings not right. Any ideas? thanks.
My board is X10SLH-F.

Minimum of 31 is 31%. So 2400 rpms seems reasonable. What are the other values set to? They are what is going to determine fan speed above that.

 

Here's a screen cap of my values.  I reset my server and now fan speeds are back to 3200-3500 with a fan speed minimum of 31.  I'm wondering why rpm went down to 2400 before.

Capture.JPG

Edited by TUMS
Link to comment
 

Here's a screen cap of my values.  I reset my server and now fan speeds are back to 3200-3500 with a fan speed minimum of 31.  I'm wondering why rpm went down to 2400 before.

Capture.thumb.JPG.5e61a109f903fd5dfc6cba61da84bbc2.JPG

You need to adjust the upper temp thresholds. What you have set would be valid for a CPU but your fans won't reach run 100% till your hard drives are 80°C. Something between 40 and 50 would be appropriate. Below is what mine looks like currently. FANA connects to 2 fans on the hard drive and FAN1234 are CPU, intake and exhaust fans.

 

54ea4099619c3073b91e6d7b54559197.jpg&key=22bb3171417a46555f49ddac144bd5bca6c4c16e2a6a9255a323dc38d94a49a2

 

Also the minimum of 28 keeps my FANA at or above 300rpms. Will differ between systems. I have edited my Sensors config for each fan section like this. 200 for FANA and 300 for FAN1234. Not setting this will make your fans run at full speed if they drop below the OEM values which I believe were 700-500. Check you event log for threshold warnings.

## Give valid input for sensor type = Fan; units = RPMLower_Non_Critical_Threshold                                                200.000000## Give valid input for sensor type = Fan; units = RPMLower_Critical_Threshold                                                    200.000000## Give valid input for sensor type = Fan; units = RPMLower_Non_Recoverable_Threshold                                             200.000000

 

Link to comment
6 hours ago, dmacias said:
17 hours ago, lordbob75 said:
This definitely seemed to be the issue.  Removed and reinstalled it and it works fine aside from the footers not staying visible.

What version of unRAID? What sensors do you have set to show? Do you have the dynamix temp plugin installed?

6.3.5, set to show 4 of the working sensors.  It works when I first set it.  I do have the dynamix temp plugin, so that's probably why.  Will test and report back.

Link to comment
6.3.5, set to show 4 of the working sensors.  It works when I first set it.  I do have the dynamix temp plugin, so that's probably why.  Will test and report back.
It's probably overwriting the ipmi footer with a blank footer. I used his System Temp plugin to model my that portion of this plugin. While all the variables and page are renamed it writes to same location of the webgui. I'll look at it again and see if I can make them work together. There could be a small use case where someone might want or need both installed.
Link to comment
4 hours ago, dmacias said:

It's probably overwriting the ipmi footer with a blank footer. I used his System Temp plugin to model my that portion of this plugin. While all the variables and page are renamed it writes to same location of the webgui. I'll look at it again and see if I can make them work together. There could be a small use case where someone might want or need both installed.

Would be cool, yea.

 

So I removed the dynamix one and it seems to stay up now.  However it flat out does not appear on certain pages, such as the main page and stats, although it works fine in the dashboard.  Maybe it's set to not display on those?  Seems odd.

Link to comment
On 12/11/2017 at 9:42 PM, simon021 said:

Love the plugin, very useful!

 

Would it be possible to allow the "System Level," which is the current draw, to be displayed in the bottom right?  I am able to read the power draw in the sensors, but it is not one of the options to have displayed in the bottom.

 

Thanks!

I added the ability to show any sensor.

Link to comment
3 hours ago, lordbob75 said:

Would be cool, yea.

 

So I removed the dynamix one and it seems to stay up now.  However it flat out does not appear on certain pages, such as the main page and stats, although it works fine in the dashboard.  Maybe it's set to not display on those?  Seems odd.

Should be fixed to work with System Temp plugin. Not sure on the non display. Works fine on all pages for me.Try refreshing your browser cache.

Link to comment

I was making some changes to configuration today and noticed that the list of drives to poll in fan control doesn't match the drives actually installed. Some are missing from the list.

 

polling selections-

245lksx.jpg

 

 

missing drive-

2q8o6tu.jpg

 

 

The missing drive was added as a hot swap and I'm guessing that may be the issue. If so, is there some way to manually get the plugin to rescan the installed drives without having to reboot the system?

Edited by wgstarks
Link to comment
43 minutes ago, wgstarks said:

The missing drive was added as a hot swap and I'm guessing that may be the issue. If so, is there some way to manually get the plugin to rescan the installed drives without having to reboot the system?

I pull the drives from the unRAID variable ini files. I plugged in a usb drive and I see now the dev.ini for non array drives doesn't get updated unless the array is stopped or started. I'll see what I can do.

Link to comment

I am also having issues with unRAID with the IPMI Settings Plugin.  Running it does not seem to find any fans even though the sensor reading show three fan speeds (CPU_FAN1, REAR_FAN1, and FRNT_FAN1).  Because of this I have under the Fan Settings in RED (fan is not configured) even though three fans are shown (as listed previously)

 

I have installed the latest IPMI Support plugin for unRaid 6.3.5 dated 2017.12.14.

My MB is an ASRock E3C226D21 with BIOS Version 3.30

 

The fan.cfg under /boot/config/plugins/ipmi#  shows:

FANCONTROL="disable"
FANPOLL="6"
FANIP="192.168.1.184"
HDDPOLL="18"
HDDIGNORE="WDC_WD4002FFWX-68TZ4N0_K4KD7MTB,WDC_WD30EFRX-68EUZN0_WD-WCC4N0819750,                                                               WDC_WD30EFRX-68EUZN0_WD-WCC4N0805204,WDC_WD30EFRX-68EUZN0_WD-WCC4N0825205,WDC_WD                                                               30EFRX-68EUZN0_WD-WCC4N0819308"
HARDDRIVES="enable"
FAN_CPU_FAN1="12"
TEMP_CPU_FAN1="99"
FAN_REAR_FAN1="13"
TEMP_REAR_FAN1="99"
FAN_FRNT_FAN1="14"
TEMP_FRNT_FAN1="99"
TEMPHI_CPU_FAN1="80"
TEMPLO_CPU_FAN1="20"
FANMAX_CPU_FAN1="64"
FANMIN_CPU_FAN1="1"
TEMPHI_REAR_FAN1="80"
TEMPLO_REAR_FAN1="20"
FANMAX_REAR_FAN1="64"
FANMIN_REAR_FAN1="1"
TEMPHI_FRNT_FAN1="80"
TEMPLO_FRNT_FAN1="20"
FANMAX_FRNT_FAN1="64"
FANMIN_FRNT_FAN1="1"
 

But when running the Configuration of the Plugin it does not find any IPMI Fan Locations.  The fan.cfg file does not get changed when the IPMI Fan Config is run.

 

 

Checking IPMI fan Locations...

Location 0-1: none

Location 0-2: none

Location 0-3: none

Location 0-4: none

Location 0-5: none

Location 0-6: none

Location 0-7: none

Location 0-8: none

Saving board configuration...
 

Please tell me how to to configure my fans.  I'm unable to locate the IPMITOOL as root in linux.

 

Thank you for all your hard work!

 

Link to comment



I am also having issues with unRAID with the IPMI Settings Plugin.  Running it does not seem to find any fans even though the sensor reading show three fan speeds (CPU_FAN1, REAR_FAN1, and FRNT_FAN1).

Please tell me how to to configure my fans.  I'm unable to locate the IPMITOOL as root in linux.
 
Thank you for all your hard work!
 


What brand of fans do you have? You need 4 pin PWM.

IPMITOOL is not included with this plugin. I use freeipmi. If you type ipmi the hit TAB TAB it will show youa list of commands.
Link to comment

Ok, thanks for that. 

 

 Now that I see the ipmi comands, how do I set my fans?  I saw something in a very early 2015 post about ipmitools raw with a bunch of other stuff.  I have the Supermicro E3C226D2I MB which I believe the original ipmitools was setup for.

 

root@Unicorn:/usr/sbin# ipmi
ipmi-chassis         ipmi-ping            ipmifru
ipmi-chassis-config  ipmi-power           ipmimonitoring
ipmi-config          ipmi-raw             ipmiping
ipmi-console         ipmi-sel             ipmipower
ipmi-dcmi            ipmi-sensors         ipmiraw
ipmi-detect          ipmi-sensors-config  ipmisel
ipmi-fru             ipmi2json            ipmiseld
ipmi-locate          ipmiconsole          ipmisensors
ipmi-oem             ipmidetect           ipmitail
ipmi-pef-config      ipmidetectd
ipmi-pet             ipmifan
 

Link to comment

While troubleshooting I note a possible error in  the script used to run ipmifan. 

 

Please note that I:

1) Stopped the Fan Control

2) Deleted the .config files under /boot/config/plugins/ipmi/. 

3) Re-ran the Fan Configuration.  It still does not locate any fans.  See my original message: No locations found for fans.

4) Going into terminal, I ran the following:

 

 root@unicorn:/user/sbin#ipmifan --auto
sh: -c: line 0: syntax error near unexpected token `;'
sh: -c: line 0: `ipmi-raw 00 3a 01 00 00 00 00 00 00 00 00 -h 'xxx.xxx.xx.xx.xxx -u 'xxxx' -p 'xxxx' --session-timeout=5000 --retransmission-timeout=1000 2>&1 >/dev/null &; '
 

Note: Running the said command "ipmi-raw 00 3a 01 00 00 00 00 00 00 00 00 -h 'xxx.xxx.xx.xx -u 'xxxx' -p 'xxxx' --session-timeout=5000 --retransmission-timeout=1000 2>&1 >/dev/null &" works, but the fans are still running at full speed:

image.png.70594e84511b90fa58c83348cfb9ff30.png

image.png.2427d69a133909618294089599c16386.png

How do I fix this error which may be the reason why the plugin does not control the fans?

 

 

Edited by BoardWatcher
Link to comment
While troubleshooting I note a possible error in  the script used to run ipmifan.   

Please note that I:

1) Stopped the Fan Control

2) Deleted the .config files under /boot/config/plugins/ipmi/. 

3) Re-ran the Fan Configuration.  It still does not locate any fans.  See my original message: No locations found for fans.

4) Going into terminal, I ran the following:

 

 root@unicorn:/user/sbin#ipmifan --auto

sh: -c: line 0: syntax error near unexpected token `;'

sh: -c: line 0: `ipmi-raw 00 3a 01 00 00 00 00 00 00 00 00 -h 'xxx.xxx.xx.xx.xxx -u 'xxxx' -p 'xxxx' --session-timeout=5000 --retransmission-timeout=1000 2>&1 >/dev/null &; '

 

Note: Running the said command "ipmi-raw 00 3a 01 00 00 00 00 00 00 00 00 -h 'xxx.xxx.xx.xx -u 'xxxx' -p 'xxxx' --session-timeout=5000 --retransmission-timeout=1000 2>&1 >/dev/null &" works, but the fans are still running at full speed:

image.png.70594e84511b90fa58c83348cfb9ff30.png

image.png.2427d69a133909618294089599c16386.png

How do I fix this error which may be the reason why the plugin does not control the fans?

 

 

 

You can't fix that error because ipmifan will not run without a proper config. I'll give you some commands to try. I suspect your board may use similar commands to the e2c board but only has a single socket.  

 

 

Link to comment
On 12/22/2017 at 7:27 PM, BoardWatcher said:

Yes, that is correct.  The board only has a single socket.  I have a single Intel i3 CPU in it.

try these commands and post the output

ipmi-sensors -t fan
ipmi-raw 00 3a 01 01 64 64 64 64 64
ipmi-sensors -t fan
ipmi-raw 00 3a 01 01 32 32 32 32 32
ipmi-sensors -t fan
ipmi-raw 00 3a 01 01 00 00 00 00 00

 

Link to comment

Thanks happy holiday to you too. I didn't mention earlier but you need to wait a couple seconds between the ipmi-raw commands and the ipmi-sensors to give the fans a chance to spin up.
Try these also
ipmi-sensors -t fan
ipmi-raw 00 3a 01 64 64 64 64 64 64 64 64
Wait a couple seconds
ipmi-sensors -t fan
ipmi-ra3 00 3a 01 32 32 32 32 32 32 32 32
Wait a couple seconds
ipmi-sensor -t fan
ipmi-raw 00 3a 01 00 00 00 00 00 00 00 00

Link to comment

Hi;

 

My bad.  My signature has my other MB (SuperMicro) used for my Edge Modem.  This MB is an ASRock E3C226D2I.  Here are the results from your last.  I waited at least a minute between the config command and the fan status command.  I noticed a slight difference between your last commands and this time with the response.  Note the last config command has a "01 C7" response rather than the "01 FF" response of the previous config commands.

 

I could not find within the IPMI GUI interface a way to adjust the fan speeds.  

 

image.png.a42ff9c0d1ea816650818ef3dffe6cba.png

 

Here is the IPMI Version:

image.png.6e28efe0e1d5b0ef494812d907272083.png

Link to comment
Hi;
 
My bad.  My signature has my other MB (SuperMicro) used for my Edge Modem.  This MB is an ASRock E3C226D2I.  Here are the results from your last.  I waited at least a minute between the config command and the fan status command.  I noticed a slight difference between your last commands and this time with the response.  Note the last config command has a "01 C7" response rather than the "01 FF" response of the previous config commands.
 
I could not find within the IPMI GUI interface a way to adjust the fan speeds.  
 
image.png.a42ff9c0d1ea816650818ef3dffe6cba.png
 
Here is the IPMI Version:
image.png.6e28efe0e1d5b0ef494812d907272083.png
I figured your board was Asrock by the model#

I would definitely update the bmc. Yours is almost original and 4 years old. Latest is 00.28.00. You just download the latest firmware and update it through the Asrock ipmi page. You probably need to update the bios if you haven't also. Latest is 3.30.

Then run that last set of commands. You don't have to wait to long just a few seconds between commands.
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.