le.pipo007 Posted August 31, 2015 Share #1 Posted August 31, 2015 Hi, I hope, somebody can help me. I bought a microserver gen8 since few month, and i have a "fan issue", i know, many topics speak about it, but, i'm trying to resolve it. I have install esxi 5.1 on this server (+ DSM 5.2), the fan is running at 6% ! I change my system hard drive (2,5") I install directly xpenology, and now the fan is running between 15% and 21 % I precise, i have the last bios and last ilo firmware (2.22) I know DSM don't have the ilo driver, on ilo, i see that i must install HP Agentless Management Service (AMS) therefore I try 2 things: * first install phpvirtualroot, install a debian (and ubuntu) try to install hp-ams, but "no hp server found" * Second, I try to chroot a debian (and ubuntu) on DSM, it's works perfectly. install hp-ams, and now, i have /dev/hp-ilo not found on dsm /dev/hp-ilo not exist. an other interresting point, when i launch lshw command on chroot environnement, i can see HP ilo ! but not work! on chroot environment when i launch uname -a i see 3.10.35 ... i also try to fake uname ... still no luck!, install lm-sensors... no luck can somebody help me to have hp-ams on dsm ? or reduce fan speed? many thanks Quote Link to comment Share on other sites More sharing options...
le.pipo007 Posted September 1, 2015 Author Share #2 Posted September 1, 2015 nobody? 71 view and nobody can help me? regards Quote Link to comment Share on other sites More sharing options...
JBark Posted September 4, 2015 Share #3 Posted September 4, 2015 (edited) I've spent the past couple days messing with this, and I've mostly got it working, though there are still a few bugs. The HP AMS code assumes a lot of things exist on the system that obviously aren't there with DSM, and that means it segfaults non stop. I finally got a build to work, and the main bug I notice is that in iLO only the first HDD is listed. This is in AHCI mode, it's possible the drive details show up OK in RAID mode. Also, I didn't really see any fan speed changes once I got this working, it was 10% before, and 9% after. Here's a dump of what I've been testing. No idea how correct any of it is, haven't done any development in a long time This was built against the latest bromolow DSM source and is running on 5.2-5592 Update 3, I dunno if it works on other versions of DSM. Use at you own risk, though I can't imagine there's much risk involved with something that is basically just an SNMP wrapper. Kernel Module - Steps mostly from here: http://xpenology.com/wiki/en/building_xpenology Download DSM 5.2 source and toolchain: http://sourceforge.net/projects/dsgpl/f ... z/download http://sourceforge.net/projects/dsgpl/f ... z/download Extract toolchain to /usr/local, extract source somewhere cd source/linux-3.10.x cp synoconfigs/bromolow .config make ARCH=x86_64 CROSS_COMPILE=/usr/local/x86_64-linux-gnu/bin/x86_64-linux-gnu- menuconfig Go into Device Drivers -> Misc Devices, hit M at "Channel interface driver for the HP iLO processor" to build the kernel module Save and Exit make ARCH=x86_64 CROSS_COMPILE=/usr/local/x86_64-linux-gnu/bin/x86_64-linux-gnu- modules copy drivers/misc/hpilo.ko to /usr/lib/modules/3.10.35 on NAS vi /usr/lib/modules/3.10.35/modules.dep and add this line: /lib/modules/3.10.35/hpilo.ko: modprobe hpilo should work with no errors lsmod | grep hpilo should show that hpilo is loaded HP AMS I couldn't get any of the executables provided in the debs or rpms to run without segfaulting. So I searched around, and found some source on github: https://github.com/marker55/hp-ams It's not the absolutely latest from what I can tell (seems to be 2.1), but it's close, as 2.2 is the most recent rpm I could find. What's important is it has the new command line args that 2.0 and below don't have, which let use chose which MIBs to query So git clone that repo, or just download the source zip. Download http://sourceforge.net/projects/net-snm ... z/download and copy it to the hp-ams-master folder Run make From what I can tell, it's not too important what compilers are used to build. I wasted a day adding cross compile support into all the Makefiles so I could build with the Synology toolchain to see if that would fix the numerous segfaults, but it doesn't seem to be necessary. After build is complete, copy the hpHelper executable to /sbin/hpHelper on the NAS chmod +x /sbin/hpHelper Test it Assuming you've already modprobed hpilo, run this as root to test if AMS works /sbin/hpHelper -f -L -I0 -M1,5,14,16,18,23,99 Should see a message like 'NET-SNMP version 5.7.2 AgentX subagent connected' Give it a minute or so, and see if things start showing up in iLO. There are two other MIBs, 0 and 11, but including either of those just causes it to segfault. Might be fixable, but I haven't dug into the code. Run at start Ctrl-C your test run to stop it, then create a startup script. vi /usr/local/etc/rc.d/S99HP-AMS.sh #!/bin/sh modprobe hpilo /sbin/hpHelper -I0 -M1,5,14,16,18,23,99 chmod +x /usr/local/etc/rc.d/S99HP-AMS.sh /usr/local/etc/rc.d/S99HP-AMS.sh ps | grep hpHelper Should show it is running, and iLO should still report correctly. Download 5.2 - hp-ams.tar.gz 6.0 (thanks to ema) - https://mega.nz/#!gt0HTCJZ!PeXq-qutvb6mZT7ZuP3Htfi-abkEdOYNZ_HcCVTd-6Y 6.1 (thanks to ema) - https://mega.nz/#!R8dUhDJb!dyYEVSsrWSohPfU5O7Uxo-GisuMKZPZbG4HbeiIeHk0 Note the modules.dep.hpilo file, that's so you don't extract blindly and overwrite say the modules.dep file for VirtualBox. Rename to modules.dep if you don't have one, or copy the contents into your existing modules.dep. Unfortunately, I really don't have a lot of time to work on this, so I doubt I'll ever have a proper package available or keep things up to date. But I figured I could at least dump what I had, so anyone else that wants to mess around with it can. Edited May 4, 2017 by Guest 3 Quote Link to comment Share on other sites More sharing options...
le.pipo007 Posted September 8, 2015 Author Share #4 Posted September 8, 2015 wow... it's amazing, it's works! YOU ARE THE BEST!!!! as you know i only view one sata drive, but it's works (with update 3) i'll test with update 4. many thanks Quote Link to comment Share on other sites More sharing options...
le.pipo007 Posted September 8, 2015 Author Share #5 Posted September 8, 2015 what is your config for having fan at 10% (or now at 9%)? do you have esx? do you use b120i? SATA AHCI? i just change raid controller b120i to AHCI SATA controller and the fan drop down from 18% to 13% only ! Quote Link to comment Share on other sites More sharing options...
JBark Posted September 10, 2015 Share #6 Posted September 10, 2015 I'm running bare metal, with the B120i in AHCI mode. The fan speed depends on the intake temp, so I probably just have slightly lower temps that you. I just checked today, the intake temp is 21C and the fan is at 11%. I think AHCI is always slightly higher than RAID mode, though it used to be much worse with the older firmware, where the fan was around 30% in AHCI mode. There are a couple other hp apps that get installed on Linux, like the hp-health one. It could be that one of those are needed as well to get the same fan speeds we see in supported OSes? I'm not really sure. Quote Link to comment Share on other sites More sharing options...
le.pipo007 Posted September 10, 2015 Author Share #7 Posted September 10, 2015 hi, in fact i try hp-health on a chrooted ubuntu, and thanks to your hpilo.ko, i have can use it on ubuntu, BUT, hpHelper is more old than yours. therefore i can see the storage adapter but not the first drive. -> bad solution. I think the problem is from hpilo.ko do you have use the last one? regards Quote Link to comment Share on other sites More sharing options...
le.pipo007 Posted October 1, 2015 Author Share #8 Posted October 1, 2015 Hi, I just update ilo to the new firmware ilo4 2.30... and it's no more working ... can somebody help me please? Quote Link to comment Share on other sites More sharing options...
le.pipo007 Posted October 3, 2015 Author Share #9 Posted October 3, 2015 Sorry, i found my problem, i had a bad hpilo.ko! i restore it, and now it working ! ouf ! Quote Link to comment Share on other sites More sharing options...
icest0rm Posted October 30, 2015 Share #10 Posted October 30, 2015 hi, I was in the middle of buying a NAS for my home and was really undecided between synology and qnap. There were some nice products but they cost a lost. In the meanwhile I found the possibility to buy a Microserver and install XPenology with a lower impact on costs and maybe better performance, am I right? I thought that HP N54L was the perfect choice but actually it's not so easy to find one at cheap prices, it seems that G8 is quite more available. So I found this thread and wanna ask: stated the "workaround" above, would you now suggest to buy a G8 over a G7, or is the N54L still a preferred choice if found? and a little question not in topic: what does one loose with XPenology on x86 hw over a pure Sinology NAS? (if there is any difference) thanks a lot Quote Link to comment Share on other sites More sharing options...
Daemon_RJ Posted October 31, 2015 Share #11 Posted October 31, 2015 Dear icest0rm , I have the same problem. I am looking to buy a G8 (HP G2020t ), for I have not found the G7 (HP N54L ) in Brazil to sell. I not found in any place if you can install the HP G2020t Xpenology (G8) . You found something ? PS : excuse me for English errors. I'm using google translator. Quote Link to comment Share on other sites More sharing options...
dragosmp Posted November 7, 2016 Share #12 Posted November 7, 2016 Hello, Anyone managed to install hp-ams on DSM 6 ? TY Quote Link to comment Share on other sites More sharing options...
nemesis122 Posted November 7, 2016 Share #13 Posted November 7, 2016 Hi all I have 2 Gen8 one with celeron and the other with Xeon Processor Both use a hacked ILO Firmware and they are dead silent 6%-10% fan speed When you install the Hacked ILO you have en old ILO Interface (1.32)and you cant upgrade(you can upgrade NP but you will lost the Hacked ILO)! but the server is dead silent. Let me know if you need then i will upload. BR Michael Quote Link to comment Share on other sites More sharing options...
Seb@tien Posted November 8, 2016 Share #14 Posted November 8, 2016 Hello, No issue with HP MicroServer Gen8 and Xpenology (Baremetal install), fan is about 11/12%, so no workaround needed Seb@stien Quote Link to comment Share on other sites More sharing options...
dragosmp Posted November 9, 2016 Share #15 Posted November 9, 2016 On DSM 6 i got fan at 18-21% But i`m more interested in info to be displayed in ilo Quote Link to comment Share on other sites More sharing options...
nemesis122 Posted November 11, 2016 Share #16 Posted November 11, 2016 Hi Here is the information link: http://homeservershow.com/forums/index. ... ds/page-14 Downloadlink: https://mega.co.nz/#...MF57D1DhYChnzCQ BR Michael Quote Link to comment Share on other sites More sharing options...
dragosmp Posted November 15, 2016 Share #17 Posted November 15, 2016 Thank you for the link, but i`m looking for a new version of hp-ams no iLO. I installed allready iLO 2.50 firmware that works pretty good. It keeps my fans at 18%, But with hp-ams i have all info reported from Syno to iLO (ex: fan, temperature, ip on nics, controller and drive informations). DSM 5.2 with hp-ams worked pretty good. But now if I try to compile a new version for this kernel I get stuck on some things Quote Link to comment Share on other sites More sharing options...
ema Posted November 15, 2016 Share #18 Posted November 15, 2016 Thank you for the link, but i`m looking for a new version of hp-ams no iLO.I installed allready iLO 2.50 firmware that works pretty good. It keeps my fans at 18%, But with hp-ams i have all info reported from Syno to iLO (ex: fan, temperature, ip on nics, controller and drive informations). DSM 5.2 with hp-ams worked pretty good. But now if I try to compile a new version for this kernel I get stuck on some things I try to build it for DSM 6 following jBark howto.. I tried it on my gen8 microserver insmod /lib/modules/hpilo.ko /sbin/amsHelper -I0 -M1,5,14,16,18,23,99 and it work... https://mega.nz/#!gt0HTCJZ!PeXq-qutvb6mZT7ZuP3Htfi-abkEdOYNZ_HcCVTd-6Y ciao ema Quote Link to comment Share on other sites More sharing options...
dragosmp Posted November 15, 2016 Share #19 Posted November 15, 2016 Thank you so much. It works. https://s22.postimg.org/9yl1rrmld/ilo4.jpg Quote Link to comment Share on other sites More sharing options...
jfisbein Posted November 15, 2016 Share #20 Posted November 15, 2016 insmod /lib/modules/hpilo.ko /sbin/amsHelper -I0 -M1,5,14,16,18,23,99 and it work... https://mega.nz/#!gt0HTCJZ!PeXq-qutvb6mZT7ZuP3Htfi-abkEdOYNZ_HcCVTd-6Y ciao ema Thank you very much it worked Quote Link to comment Share on other sites More sharing options...
jfisbein Posted November 15, 2016 Share #21 Posted November 15, 2016 insmod /lib/modules/hpilo.ko /sbin/amsHelper -I0 -M1,5,14,16,18,23,99 and it work... https://mega.nz/#!gt0HTCJZ!PeXq-qutvb6mZT7ZuP3Htfi-abkEdOYNZ_HcCVTd-6Y ciao ema Thank you very much it worked. Quote Link to comment Share on other sites More sharing options...
le.pipo007 Posted November 16, 2016 Author Share #22 Posted November 16, 2016 Hello all, it's fantastic, it's work (again) on DSM 6 update 3 ! great job Quote Link to comment Share on other sites More sharing options...
nemesis122 Posted December 5, 2016 Share #23 Posted December 5, 2016 Hi all Could you pls inform me what i have to do with this both data : amsHelper hpilo maybe a dumb question but when ILO is working and show informations with those drivers this will be great please inform me what i have to do with this data IS the Fan then on 6% ? i need it for XPEnoboot 5.2-5967.1 (17/07/2016) Or could anyone provide me his boot image with the integreated Kernel for XPEnoboot 5.2-5967.1 ? pls thank you Michael Quote Link to comment Share on other sites More sharing options...
nemesis122 Posted December 5, 2016 Share #24 Posted December 5, 2016 Hi all Please provide me what this means where i have to put this command ? insmod /lib/modules/hpilo.ko /sbin/amsHelper -I0 -M1,5,14,16,18,23,99 thank you Michael Quote Link to comment Share on other sites More sharing options...
kamuta Posted December 5, 2016 Share #25 Posted December 5, 2016 1st of all you need to be granted root permissions. Find out yourself how to do it on DSM 6.0. Copy hpilo.ko to /lib/modules and amsHelper to /sbin Open console and type: hmod +x /sbin/amsHelper Login to DSM and create user defined script so on every reboot the same command will be executed: insmod /lib/modules/hpilo.ko /sbin/amsHelper -I0 -M1,5,14,16,18,23,99 From now on Agentless Management Service should be active in ILO every time server is booted: 2 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.