HPE amsd - getting it working and passing data to iLO

Remember you’re not supposed to do this on a TrueNAS system!

If you want to have AMS daemon working properly, I think this is the cleaner solution today.

I don’t think it would damage the original system but keep in mind that you should understand what you’re doing.

The objective is to have amsd daemon sending back to iLO some informatin about the running system. It’s working perfectly on my ML30

HP is releasing different native tool for linux systems (http://downloads.linux.hpe.com/SDR/index.html) Today (so in the future check that information) the release of TrueNAS SCALE is based on debian 12, on HP repository move to /mcp/Debian/pool/non-free/amsd_3.3.0-1772.24-debian12_amd64.deb

What you have to do is:

  • Login on the TrueNAS system, move to the /tmp directory download the package (wget)
  • Remount /opt and /usr with the rw option
  • Add the exec bit to /usr/bin/dpkg
  • Install the package
  • Delete the exec bit of dpkg
  • Remount /opt and /usr with the ro option

It’s a clean install of a debian package even if it’s an improper “manipulation” of the TrueNAS system.

I do not explain every single commands, so if you don’t already know them, the path to understand them will make you more conscious of what you’re doing.

Just finished attempting the installation above and was able to get the daemon installed and started but no data is flowing to the ilo is there configuration that needs to be done somewhere?

I just did it again on my system that as been reinstalled in the past weeks and it works.

Did the installation happen without error?
Have you checked that amsd is effectively running?

ps aux | grep amsd
root 433831 0.1 0.0 6016 3456 ? Ss 13:37 0:11 /sbin/amsd -f

Have you tried a reboot to start the service?

Little update, the package is now:
amsd_3.6.0-1867-debian12_amd64.deb

Sorry for the late reply I didn’t get notified that you posted.

Yes the installation was successful no errors.
The service appears to be running

root@truenas[/home/truenas_admin]# sudo systemctl status amsd

● amsd.service - Agentless Management Service daemon
     Loaded: loaded (/lib/systemd/system/amsd.service; enabled; preset: enabled)
     Active: active (running) since Sun 2024-12-29 01:45:05 PST; 16min ago
   Main PID: 33555 (amsd)
      Tasks: 1 (limit: 18645)
     Memory: 2.5M
        CPU: 3.459s
     CGroup: /system.slice/amsd.service
             └─33555 /sbin/amsd -f

Dec 29 01:45:04 truenas systemd[1]: Starting amsd.service - Agentless Managemen>
Dec 29 01:45:05 truenas amsd[33555]: amsd Started . .
Dec 29 01:45:05 truenas systemd[1]: Started amsd.service - Agentless Management>

root@truenas[/home/truenas_admin]# ps aux | grep amsd
root 433831 0.1 0.0 6016 3456 ? Ss 13:37 0:11 /sbin/amsd -f
root       33555  0.4  0.0   7688  4736 ?        Ss   01:45   0:05 /sbin/amsd -f
root       64524  0.0  0.0   3744  1408 pts/0    S+   02:05   0:00 grep amsd
zsh: no matches found: ?

I tried the updated package and no change still don’t seem to be getting data from AMSD

Did a bit more research and found this thread SOLVED - Running AMSD service for HPE Microserver Gen10+ iLO | TrueNAS Community Apparently G9’s need hp-ams_2.6.2-2551.13_amd64.deb

I also installed ssa ssacli ssaducli storcli and now everything seems to be working in ilo (except for the drive in bay 5 that for whatever reason is reporting as ‘other’)

I am perhaps a bit late to the party, but I would still like to share an alternative method to what has already been described. (I am sorry for the link format below. I am not allowed to post URLs because I have new user account.)
Based on the research from www:truenas:com/community/threads/running-amsd-service-for-hpe-microserver-gen10-ilo.100383/ , I have created a GitHub repo that automatically builds a Docker container in GitHub Actions and pushes it to GitHub Container Registry.
The container is based on Ubuntu and uses github:com/gdraheim/docker-systemctl-replacement for starting the HPE services.
The GitHub repo and container registry is here: github:com/endrebjorsvik/hpe-amsd/pkgs/container/hpe-amsd

The container runs nicely as an app in TrueNAS when configured as a privileged app with host network. I desperately needed this HPE AMS software to calm down the fans on my ML110 Gen10. iLO now report fan speed of 10-13%.

I intend to rebuild this container regularly to get the newest software from HPE and patches for the Ubuntu container. The GitHub Actions is set to rebuild weekly. I hope it may come to use for someone here.