Jump to content
XPEnology Community

HP microserver Gen8 and hp-ams


Recommended Posts

18 hours ago, cpuks said:

So does this module going to work on 3615 6.2.2 microserver gen8?

yes, for anything below that is already support in the spk

 

18 hours ago, cpuks said:

 

How can I install this? Download spk and module and replace it then install in package center?

you install the spk and then replace the hpilo.ko the spk installed with the new one

Link to comment
Share on other sites

On 10/28/2019 at 4:53 PM, youhq said:

Thank you very much, 918+ can be used, but it seems that either 918 or 3615 does not seem to work.

its kind of hard to tell what you try to say, did you try both?

loader 1.03b with 3615 DSM 6.2.2.

loader 1.04b with 918+ DSM 6.2.2

 

16 hours ago, youhq said:

3615 uses spk installation, 04-hd max is also unrecognizable

also not sure what you trying to say, you used 3615 dsm 6.2.2 with the original spk?

whats 04-hd max?

 

8 hours ago, youhq said:

Can I compile a 2.9.1?

the driver need to be compiled, the spk is a dsm compatible version of what hp released as rpm

after installing the spk (2.5.0) i'd expect you extract the files from the rpm (2.9.1) copy them to the places where the spk installed the 2.5.0 files and replace them with the one's from 2.9.1

just look into the "/scripts/postinst" from the spk package

ret=`ln -s "${SYNOPKG_PKGDEST}/files/sbin/amsHelper" /sbin/amsHelper`
ret=`ln -s "${SYNOPKG_PKGDEST}/modules/$DSM_VERSION/hpilo.ko" /lib/modules/hpilo.ko`
ret=`ln -s "${SYNOPKG_PKGDEST}/files/usr/local/etc/rc.d/S99HP-AMS.sh" /usr/local/etc/rc.d/S99HP-AMS.sh`

its just the amsHelper and a startspript (made for dsm), youi just have to copy the new amsHelper to /sbin in DSM

Link to comment
Share on other sites

I have tested both 1.02b 3615 DSM 6.1.7 and 1.04b 918+ DSM 6.2.2  with good Agentless Management Service (AMS) results. But what I need to mention is that 04-HD Max temperature sensor cannot be recognized through ILO hard driver.thus, the fans cannot adjust the speed automatically.

 

20191030233422.thumb.png.37c3e7f3fc24daf98fca891a6505ac49.png

 

20191030233409.thumb.png.9586b72447461c70cebf506ded8a7777.png

 

Edited by youhq
Link to comment
Share on other sites

21 hours ago, IG-88 said:

its kind of hard to tell what you try to say, did you try both?

loader 1.03b with 3615 DSM 6.2.2.

loader 1.04b with 918+ DSM 6.2.2

 

also not sure what you trying to say, you used 3615 dsm 6.2.2 with the original spk?

whats 04-hd max?

 

the driver need to be compiled, the spk is a dsm compatible version of what hp released as rpm

after installing the spk (2.5.0) i'd expect you extract the files from the rpm (2.9.1) copy them to the places where the spk installed the 2.5.0 files and replace them with the one's from 2.9.1

just look into the "/scripts/postinst" from the spk package


ret=`ln -s "${SYNOPKG_PKGDEST}/files/sbin/amsHelper" /sbin/amsHelper`
ret=`ln -s "${SYNOPKG_PKGDEST}/modules/$DSM_VERSION/hpilo.ko" /lib/modules/hpilo.ko`
ret=`ln -s "${SYNOPKG_PKGDEST}/files/usr/local/etc/rc.d/S99HP-AMS.sh" /usr/local/etc/rc.d/S99HP-AMS.sh`

its just the amsHelper and a startspript (made for dsm), youi just have to copy the new amsHelper to /sbin in DSM

 

it does not function with the extracted amsHelper from rpr (2.9.1)

 

amsHelper: error while loading shared libraries: libnl.so.1: cannot open shared object file: No such file or directory
 

Link to comment
Share on other sites

3 hours ago, youhq said:

I have tested both 1.02b 3615 DSM 6.1.7 and 1.04b 918+ DSM 6.2.2  with good Agentless Management Service (AMS) results. But what I need to mention is that 04-HD Max temperature sensor cannot be recognized through ILO hard driver.thus, the fans cannot adjust the speed automatically.

 

20191030233422.thumb.png.37c3e7f3fc24daf98fca891a6505ac49.png

 

20191030233409.thumb.png.9586b72447461c70cebf506ded8a7777.png

 

thanks i understand it now

i looked a little for something like a extra driver but after extending the search i found this (and we need to run in ahci for xpe/dsm, so it seems kind of "normal")

This is well known deficiency of MS Gen8. If you use B120i in AHCI mode, iLo is unable to read HD max. If you switch in the BIOS to raid mode - everything will be OK. That is the reason of so called "fan speed issue" with MS Gen 8. Do search of this forum for "fan issue" for more information. Unfortunately HP officially rejected to fix this. They say "this is by design"

source: https://homeservershow.com/forums/topic/14953-temp-sensor-04-hd-max/

 

 

Link to comment
Share on other sites

3 hours ago, youhq said:

 

it does not function with the extracted amsHelper from rpr (2.9.1)

 

amsHelper: error while loading shared libraries: libnl.so.1: cannot open shared object file: No such file or directory
 

even if running it might not solve your problem

 

maybe this is the way to go?

https://xpenology.com/forum/topic/7691-hp-gen-8-hacked-ilo-and-optimal-bios-settings/

https://www.reddit.com/r/homelab/comments/dc7dbc/silence_of_the_fans_preliminary_success_with/

 

Link to comment
Share on other sites

  • 3 weeks later...

So I have got AMS running under "loader 1.04b with 918+ DSM 6.2.2" on ilo 4 2.70 (I don't have a system to test ilo 5 but assume it will work also).

 

Thanks to IG-88 for the complied kernel module hpilo.ko

 

CAUTION...

 

insmod hpilo.ko

 

You need to take the attached zip and unzip it onto /volume1/Downloads or similar directory, DO NOT extract folders into root directories as the /lib is likely to break your install, I have not tested these scenarios...

 

Once extracted you can run it by adding a one time library path to the execution, which will use the attached library files first "under /volume1/Downloads/hp-ams/lib"

 

sudo LD_LIBRARY_PATH=/volume1/Downloads/hp-ams/lib /volume1/Downloads/hp-ams/sbin/amsHelper -f -I0 -M1,5,14,16,18,23,99

hp-ams.zip

Edited by v02max
  • Like 2
Link to comment
Share on other sites

Here is a working ams as above for "loader 1.03b with 3517 DSM 6.2.2"  please extract into /volume1/Downloads/ as above

 

My previous zip contains some excess directories and duplicate library files; I have added the hpilo.ko for 918 / 3157 as labeled  (thanks IG-88)

this is tested on my Microserver g8 running 2.70 ilo

 

To start, execute:

insmod /volume1/Downloads/hp-ams/hpilo.ko

sudo LD_LIBRARY_PATH=/volume1/Downloads/hp-ams/lib /volume1/Downloads/hp-ams/sbin/amsHelper -f -I0 -M1,5,14,16,18,23,99

 

script something like:

 

more /usr/local/etc/rc.d/S99HP-AMS.sh
#!/bin/sh
modprobe /volume1/Downloads/hp-ams/hpilo.ko
sudo LD_LIBRARY_PATH=/volume1/Downloads/hp-ams/lib /volume1/Downloads/hp-ams/sbin/amsHelper -f -I0 -M1,5,14,16,18,23,99

 

 

You'll see the below messages on both platforms if it is working, safe to ignore...

 

NET-SNMP version 5.7.3 AgentX subagent connected
error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory.
Can't find directory of RPM packages

 

 

System used: Microserver G8

 

HP Ethernet 1Gb 2-port 361T Adapter1.52, 0x80000fc5, 1.1752.0Slot 1

iLO2.70 May 07 2019System Board

Intelligent Platform Abstraction Data0.00System Board

Intelligent ProvisioningN/ASystem Board

Redundant System ROMJ06 05/21/2018System Board

Server Platform Services (SPS) Firmware2.2.0.31.2System Board

System Programmable Logic DeviceVersion 0x06System Board

System ROMJ06 04/04/2019System Board

System ROM Bootblock02/04/2012

hp-ams3517.zip

Edited by v02max
  • Like 3
Link to comment
Share on other sites

On 11/17/2019 at 5:41 PM, v02max said:

Here is a working ams as above for "loader 1.03b with 3517 DSM 6.2.2"  please extract into /volume1/Downloads/ as above

 

My previous zip contains some excess directories and duplicate library files; I have added the hpilo.ko for 918 / 3157 as labeled  (thanks IG-88)

this is tested on my Microserver g8 running 2.70 ilo

 

To start, execute:

insmod /volume1/Downloads/hp-ams/hpilo.ko

sudo LD_LIBRARY_PATH=/volume1/Downloads/hp-ams/lib /volume1/Downloads/hp-ams/sbin/amsHelper -f -I0 -M1,5,14,16,18,23,99

 

script something like:

 

more /usr/local/etc/rc.d/S99HP-AMS.sh
#!/bin/sh
modprobe /volume1/Downloads/hp-ams/hpilo.ko
sudo LD_LIBRARY_PATH=/volume1/Downloads/hp-ams/lib /volume1/Downloads/hp-ams/sbin/amsHelper -f -I0 -M1,5,14,16,18,23,99

 

 

You'll see the below messages on both platforms if it is working, safe to ignore...

 

NET-SNMP version 5.7.3 AgentX subagent connected
error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory.
Can't find directory of RPM packages

 

 

System used: Microserver G8

 

HP Ethernet 1Gb 2-port 361T Adapter1.52, 0x80000fc5, 1.1752.0Slot 1

iLO2.70 May 07 2019System Board

Intelligent Platform Abstraction Data0.00System Board

Intelligent ProvisioningN/ASystem Board

Redundant System ROMJ06 05/21/2018System Board

Server Platform Services (SPS) Firmware2.2.0.31.2System Board

System Programmable Logic DeviceVersion 0x06System Board

System ROMJ06 04/04/2019System Board

System ROM Bootblock02/04/2012

hp-ams3517.zip 4.52 MB · 5 downloads

Thanks Bro , I am using 918+ with 1.04b loader (dsm 6.2.2-24922 update 4) , is it safe to use this patch on my gen8 machine ? 

 

 

Link to comment
Share on other sites

19 hours ago, ronron1982 said:

Thanks Bro , I am using 918+ with 1.04b loader (dsm 6.2.2-24922 update 4) , is it safe to use this patch on my gen8 machine ? 

 

 

That is the setup I have, the main thing is to extract it into your /volume1/ somewhere, not into the root directory "/"   if you do this then it is safe, I've just realised I need to cleanup the 918+ zip as there may be excessive files, either way it is safe if used as described.

hp-ams.zip

Link to comment
Share on other sites

4 hours ago, v02max said:

That is the setup I have, the main thing is to extract it into your /volume1/ somewhere, not into the root directory "/"   if you do this then it is safe, I've just realised I need to cleanup the 918+ zip as there may be excessive files, either way it is safe if used as described.

hp-ams.zip 3.53 MB · 1 download

Thank you very much !! V02max, ;-)

Link to comment
Share on other sites

Thanks Again V02MAX, i've got it running well on my baremetal GEN8 System . 

r2.thumb.jpg.d531f1c223dae7f2f2ed3660c9cf3620.jpg

Also with my  (SAS HBA)  card. All Drivers both onboard and hba controller are visible. 

 

r1.thumb.jpg.99b5fefe4c577ed49662fffbf2af0033.jpg

 

 

 

i've tried to follow the instruction and  created a task on start up  . 

----

more /usr/local/etc/rc.d/S99HP-AMS.sh
#!/bin/sh
modprobe /volume1/Downloads/hp-ams/hpilo.ko
sudo LD_LIBRARY_PATH=/volume1/Downloads/hp-ams/lib /volume1/Downloads/hp-ams/sbin/amsHelper -f -I0 -M1,5,14,16,18,23,99

----

but with no luck , the system reported "file not found "s99hp-ams.sh", somthing like that. 

then i try: (i replaced the path because i don't want to mess up with my existing folder.) 

----

insmod /volume1/hp-ams/hp-ams/hpilo.ko
modprobe /volume1/hp-ams/hp-ams/hpilo.ko
LD_LIBRARY_PATH=/volume1/hp-ams/hp-ams/lib /volume1/hp-ams/hp-ams/sbin/amsHelper -f -I0 -M1,5,14,16,18,23,99

----

it success to run , but i am not sure what "s99hp-ams.sh" is. 

i don't know what if this file cannot be loaded. 

 

by the way, thanks again to V02MAX and everyone . 

 

 

Edited by ronron1982
Link to comment
Share on other sites

55 minutes ago, ronron1982 said:

 

 

55 minutes ago, ronron1982 said:

i've tried to follow the instruction and  created a task on start up  . 

----

more /usr/local/etc/rc.d/S99HP-AMS.sh
#!/bin/sh
modprobe /volume1/Downloads/hp-ams/hpilo.ko
sudo LD_LIBRARY_PATH=/volume1/Downloads/hp-ams/lib /volume1/Downloads/hp-ams/sbin/amsHelper -f -I0 -M1,5,14,16,18,23,99

----

but with no luck , the system reported "file not found "s99hp-ams.sh", somthing like that. 

then i try: (i replaced the path because i don't want to mess up with my existing folder.) 

----

insmod /volume1/hp-ams/hp-ams/hpilo.ko
modprobe /volume1/hp-ams/hp-ams/hpilo.ko
LD_LIBRARY_PATH=/volume1/hp-ams/hp-ams/lib /volume1/hp-ams/hp-ams/sbin/amsHelper -f -I0 -M1,5,14,16,18,23,99

----

it success to run , but i am not sure what "s99hp-ams.sh" is. 

i don't know what if this file cannot be loaded. 

 

by the way, thanks again to V02MAX and everyone . 

 

 

 

/usr/local/etc/rc.d/ is where you place the startup scripts

 

so you need to create the S99HP-AMS.sh in that directory

 

copy  the below to your buffer

 

#!/bin/sh
modprobe /volume1/Downloads/hp-ams/hpilo.ko
sudo LD_LIBRARY_PATH=/volume1/Downloads/hp-ams/lib /volume1/Downloads/hp-ams/sbin/amsHelper -f -I0 -M1,5,14,16,18,23,99

 

then do

 

sudo vi /usr/local/etc/rc.d/S99HP-AMS.sh

 

then press  "SHIFT i" for insert

 

and paste it into the file

 

#!/bin/sh
modprobe /volume1/Downloads/hp-ams/hpilo.ko
sudo LD_LIBRARY_PATH=/volume1/Downloads/hp-ams/lib /volume1/Downloads/hp-ams/sbin/amsHelper -f -I0 -M1,5,14,16,18,23,99

 

then press ESC

type the below to exit and save the file

:wq!

 

then  type  "sudo chmod 755 /usr/local/etc/rc.d/S99HP-AMS.sh"

 

upon reboot it should run automatically

  • Like 1
Link to comment
Share on other sites

24 minutes ago, v02max said:

 

 

/usr/local/etc/rc.d/ is where you place the startup scripts

 

so you need to create the S99HP-AMS.sh in that directory

 

copy  the below to your buffer

 

#!/bin/sh
modprobe /volume1/Downloads/hp-ams/hpilo.ko
sudo LD_LIBRARY_PATH=/volume1/Downloads/hp-ams/lib /volume1/Downloads/hp-ams/sbin/amsHelper -f -I0 -M1,5,14,16,18,23,99

 

then do

 

sudo vi /usr/local/etc/rc.d/S99HP-AMS.sh

 

then press  "SHIFT i" for insert

 

and paste it into the file

 

#!/bin/sh
modprobe /volume1/Downloads/hp-ams/hpilo.ko
sudo LD_LIBRARY_PATH=/volume1/Downloads/hp-ams/lib /volume1/Downloads/hp-ams/sbin/amsHelper -f -I0 -M1,5,14,16,18,23,99

 

then press ESC

type the below to exit and save the file

:wq!

 

then  type  "sudo chmod 755 /usr/local/etc/rc.d/S99HP-AMS.sh"

 

upon reboot it should run automatically

Oh yeah , thanks so much Bro . ;)

Link to comment
Share on other sites

  • 2 weeks later...
On 2019/11/24 at PM1点58分, ronron1982 said:

再次感谢V02MAX,我已经在裸机GEN8系统上很好地运行了它。 

r2.thumb.jpg.d531f1c223dae7f2f2ed3660c9cf3620.jpg

也可以使用我的(SAS HBA)卡。板载和hba控制器上的所有驱动程序均可见。 

 

r1.thumb.jpg.99b5fefe4c577ed49662fffbf2af0033.jpg

 

 

 

我试图按照说明进行操作,并在启动时创建了任务。 

----

更多/usr/local/etc/rc.d/S99HP-AMS.sh#!/
bin / sh
modprobe /volume1/Downloads/hp-ams/hpilo.ko
sudo LD_LIBRARY_PATH = / volume1 / Downloads / hp-ams / lib /第1卷/下载量/ hp-ams / sbin / amsHelper -f -I0 -M1,5,14,16,18,23,99

----

但是没有运气,系统报告“找不到文件“ s99hp-ams.sh””,像这样。 

然后我尝试:(我替换了路径,因为我不想弄乱我现有的文件夹。) 

----

insmod /volume1/hp-ams/hp-ams/hpilo.ko
modprobe /volume1/hp-ams/hp-ams/hpilo.ko
LD_LIBRARY_PATH = / volume1 / hp-ams / hp-ams / lib / volume1 / hp-ams / hp-ams / sbin / amsHelper -f -I0 -M1,5,14,16,18,23,99

----

它运行成功,但是我不确定“ s99hp-ams.sh”是什么。 

我不知道该文件无法加载怎么办。 

 

顺便说一句,再次感谢V02MAX和大家。 

 

 

 

735477416_TIM20191208233512.thumb.png.26772cb3597af8037f01f34092b3b143.png

image.png.36bbbaa49dae6be664bd2f15a4fef3a3.png

04-HD Max ok?I tried again,but still no success

 

ml310e gen8 v2

918+

1.04b loader

dsm 6.2.2-24922 update 4

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...
On 11/17/2019 at 10:41 AM, v02max said:

Here is a working ams as above for "loader 1.03b with 3517 DSM 6.2.2"  please extract into /volume1/Downloads/ as above

 

 

Thanks V02max; It worked for me as well on my Gen8 (Latest Ilo f/w, HP Bios and DSM 6.2.2-24922 Update 4). Now all we need to have someone to create an SPK of it so others can benefit from it without tinkering 

Link to comment
Share on other sites

  • 2 months later...

Hi,

 

I seem to have some trouble getting the thing to work.

I downloaded the hp-ams files from this post

I have copied the hp-ams directory to /volume1/Downloads/ retaining the zip structure

I am using the hpilo.ko as is (not the 918 nor the 3617 variant)

I have created the script as indicated at /usr/local/etc/rc.d

 

Whenever I try to run it (via ssh after logging in as admin and typing sudo su) I get the following response

 

"This program requires the host to have a HP Integrated Lights Out 4 (iLO 4) BMC"

 

This happened with ILO 2.60, 2.61b, and now the latest 2.73

 

What am I doing wrong?

Setup is Baremetal Gen8/G1610T 3615xs/Jun's mod 1.03b/DSM 6.2-23739 Update 2

Edited by Ionlab
Link to comment
Share on other sites

  • 2 weeks later...
30 minutes ago, le.pipo007 said:

hi

i don't understand, you download this file? https://spk.4sag.ru/packages/hp_ams-5.2_2.5.0-1.spk

 

for me, it not starting!

how can you do that?

 

I added the 4sag.ru repository to my package center. Afterwards you search for the hp-ams package and install it and reboot.

Alternatively you can downloaded the file and install it using the manual install in the package center. After the reboot everything was running.

If the link is not working for you attached is the spk file.

hp_ams-5.2_2.5.0-1.spk

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

×
×
  • Create New...