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 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.