HP Agentless Management Service

I just installed Proxmox 8 on a new HP ML30 Gen10+ server. Here my steps to have AMS and ilorest working:

Proxmox 8 is Debian 12 bookworm based, sibling to Ubuntu 22.04 jammy.
HPE repos main page: https://downloads.linux.hpe.com/

Import the HPE repo signing key
Code:
wget -O- https://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | gpg --dearmor > /usr/share/keyrings/hpePublicKey2048-archive-keyring.gpg

Add the mcp repo
Code:
echo "deb [signed-by=/usr/share/keyrings/hpePublicKey2048-archive-keyring.gpg] http://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current non-free" > /etc/apt/sources.list.d/hpe.list

Add the ilorest repo... notes:
  • There is no Debian bookworm here yet, so lets use Ubuntu jammy
  • There is an ilorest version 3.6 package in the regular Debian repo. This is an older version which does not work correctly -> apt remove ilorest first if it is installed.
Code:
echo "deb [signed-by=/usr/share/keyrings/hpePublicKey2048-archive-keyring.gpg] http://downloads.linux.hpe.com/SDR/repo/ilorest jammy/current non-free" >> /etc/apt/sources.list.d/hpe.list

Check config
Code:
cat /etc/apt/sources.list.d/hpe.list
# should list both the mcp and ilorest repo
apt update
# should hit both new repos

Install the amsd service -> afterwards, AMS should be green in the iLO system information page.
Code:
apt update
apt install amsd
systemctl status amsd
# should show enabled and running

Install the the ilorest tool for easy use of the Redfish REST API
https://servermanagementportal.ext.hpe.com/docs/redfishclients/ilorest-userguide/
Code:
apt install ilorest
ilorest --version
  RESTful Interface Tool 4.2.0.0
ilorest serverinfo -system
  iLOrest : RESTful Interface Tool version 4.2.0.0
  Copyright (c) 2014-2023 Hewlett Packard Enterprise Development LP
  -----
  System:
  ------------------------------------------------
  Model: HPE ProLiant ML30 Gen10 Plus
  Bios Version: U61 v1.80 (07/20/2023)
  Serial Number: ---
  Embedded NIC Count: 2
  eno1 MAC: ---
  eno2 MAC: ---

Thanks to all who contributed to this thread, it helped me a lot :)
 
  • Like
Reactions: ISilva
just a feedback from my experience, if you are on a hpe gen8 dl360p with an HP H220 HBA card in IT/JBOD mode that is usually installed for having direct access to drives with zfs, you need this package version of hp-ams to make it work with ilo, or you will have false positive errors about "Storage Enclosure Device Failure"

hp-ams_2.6.0-2378.51_amd64.deb

if you use any above or below version you will have errors with H220
 
HPE Gen9 / Gen10 with ILO5 are supported for Debian versions Buster (10), Bullseye (11), and Bookworm (12). These will install the newer amsd package.

HPE Gen8 with ILO4 was only supported on Debian Stretch (9). Here you would install the older hp-ams and hp-health packages.

When you have the current Proxmox 6 version running on older HPE Gen8 hardware, you would have to configure the Stretch repository and install the hp-ams + hp-health packages from there.

hp-health seems to have a dependency on the libc6-i686 package, which is unavailable on recent Debian versions. Install libc6-i386 instead and use equivs to generate a libc6-i686 dummy package.
 
I just installed Proxmox 8 on a new HP ML30 Gen10+ server. Here my steps to have AMS and ilorest working:

Proxmox 8 is Debian 12 bookworm based, sibling to Ubuntu 22.04 jammy.
HPE repos main page: https://downloads.linux.hpe.com/

Import the HPE repo signing key
Code:
wget -O- https://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | gpg --dearmor > /usr/share/keyrings/hpePublicKey2048-archive-keyring.gpg

Add the mcp repo
Code:
echo "deb [signed-by=/usr/share/keyrings/hpePublicKey2048-archive-keyring.gpg] http://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current non-free" > /etc/apt/sources.list.d/hpe.list

Add the ilorest repo... notes:
  • There is no Debian bookworm here yet, so lets use Ubuntu jammy
  • There is an ilorest version 3.6 package in the regular Debian repo. This is an older version which does not work correctly -> apt remove ilorest first if it is installed.
Code:
echo "deb [signed-by=/usr/share/keyrings/hpePublicKey2048-archive-keyring.gpg] http://downloads.linux.hpe.com/SDR/repo/ilorest jammy/current non-free" >> /etc/apt/sources.list.d/hpe.list

Check config
Code:
cat /etc/apt/sources.list.d/hpe.list
# should list both the mcp and ilorest repo
apt update
# should hit both new repos

Install the amsd service -> afterwards, AMS should be green in the iLO system information page.
Code:
apt update
apt install amsd
systemctl status amsd
# should show enabled and running

Install the the ilorest tool for easy use of the Redfish REST API
https://servermanagementportal.ext.hpe.com/docs/redfishclients/ilorest-userguide/
Code:
apt install ilorest
ilorest --version
  RESTful Interface Tool 4.2.0.0
ilorest serverinfo -system
  iLOrest : RESTful Interface Tool version 4.2.0.0
  Copyright (c) 2014-2023 Hewlett Packard Enterprise Development LP
  -----
  System:
  ------------------------------------------------
  Model: HPE ProLiant ML30 Gen10 Plus
  Bios Version: U61 v1.80 (07/20/2023)
  Serial Number: ---
  Embedded NIC Count: 2
  eno1 MAC: ---
  eno2 MAC: ---

Thanks to all who contributed to this thread, it helped me a lot :)
Just saying. Works as a charm on a HPE ML350 Gen10 P06781-425 with 16Gb en Proxmox 8.1.4
Thanks for the extensive and up-to-date write up. I would never, ever, have figured this out on my own.
Very impressed with proxmux and the good forum, will get a subscription for sure

ML30 completely patched with:
Service Pack for ProLiant 2023.09.00.00 Gen10 and Gen10Plus + Patchbundle 3 en 4
Intelligent Provisioning Recovery Media for Gen10 and Gen10 Plus 3.88
1710235046539.png
 
Last edited:
oeps, cheered to sone. Despite green markers the network still show's no AMS installed
All other sub categories (Processors, memory, device inventory, storage) work ok, only network does not. Despite the fact that the network is up and running.
And resolved itself misteriously. Best guess the re logged in on ilo solved it.
1710238799981.png
 
ora observe cómo el indicador de su servicio de administración sin agente se vuelve
I just tested on my gen8's and I had forgot that amsd is for gen10 only. One need to install hp-ams instead. I tested it now and it works nicely.

So the steps would then be to do something like this:

You could probably just download the deb and install but if there are dependencies do follow through. There's a bunch of other "nice to have" tools installable from HPEs repo.

Install gnupg (most probably already installed)
Code:
apt-get update && apt-get install gnupg

Install the key. Regarding the deprecated bits you mentioned. It's not the keys that are deprecated it's the tool apt-key itself. You should start getting used to a different way now since that tool won't be around in the next Debian. Dunno in what Ubuntu version it will be gone permanently.

Install the needed key using gpg:
Code:
wget -O- https://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | gpg --dearmor > /usr/share/keyrings/hpePublicKey2048-archive-keyring.gpg
The --dearmor bit is used since these keys are using ascii armor. You can check that with file command. If the output has something with "(old)" in it it's ascii armored. It's good practice to suffix the archive keyrings with "archive-keyring".

Now create an apt source file in /etc/apt/sources.list.d
Code:
echo "deb [signed-by=/usr/share/keyrings/hpePublicKey2048-archive-keyring.gpg] http://downloads.linux.hpe.com/SDR/repo/mcp bullseye/current non-free" > /etc/apt/sources.list.d/hpe.list
Note the "signed-by" part that now points to the public key we just downloaded. Note that this is Proxmox 7 which is bullseye. If on 6 it's buster i think? Correct me if i'm wrong. But anyways, modify to your needs.

Now install what you need, I always grab these, skip if not needed But at least do an apt-get update.:)
Code:
apt-get update && apt-get install ssa ssacli ssaducli storcli

And here's Agentless Management Service for gen9 and below
Code:
cd
wget https://downloads.linux.hpe.com/SDR/repo/mcp/debian/pool/non-free/hp-ams_2.6.2-2551.13_amd64.deb
dpkg -i hp-ams_2.6.2-2551.13_amd64.deb
Remove deb when it's installed if you don't want to keep it :)
Rich (BB code):
rm hp-ams_2.6.2-2551.13_amd64.deb

Gen10 and above
Code:
apt-get install amsd

Now watch as your Agentless Management Service indicator goes green :)

View attachment 35870
Hurray...


Cheers
Marcus

thanks, it works step by step on a server:


iLO 4
ProLiant MicroServer Gen8

PROXMOX 8.1.4
 

Attachments

  • Captura de pantalla 2024-03-18 154939.png
    Captura de pantalla 2024-03-18 154939.png
    36.4 KB · Views: 28
This is what i did for HP DL380 Gen10 using Proxmox (Debian12 - bookworm)

nano /etc/apt/sources.list
# HP Agentless Management Service for iLO - added manually by SF
deb http://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current non-free

curl -sS https://downloads.linux.hpe.com/SDR/hpPublicKey2048.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/hpPublicKey2048.gpg
curl -sS https://downloads.linux.hpe.com/SDR/hpPublicKey2048_key1.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/hpPublicKey2048_key1.gpg
curl -sS https://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/hpePublicKey2048_key1.gpg

apt update
apt install ssa ssacli ssaducli storcli amsd

Now in iLO I see that AMS is in an OK state and I see more info than before in System Information > Network and a few other places



And for DL380 Gen8, above plus
check https://downloads.linux.hpe.com/SDR/repo/mcp/pool/non-free/ to see what latest version of hp-ams is available and change below to match

mkdir temp
cd temp
wget https://downloads.linux.hpe.com/SDR/repo/mcp/debian/pool/non-free/hp-ams_2.6.2-2551.13_amd64.deb
dpkg -i hp-ams_2.6.2-2551.13_amd64.deb
 
Last edited:
This is what i did for HP DL380 Gen10 using Proxmox (Debian12 - bookworm)

nano /etc/apt/sources.list
# HP Agentless Management Service for iLO - added manually by SF
deb http://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current non-free

curl -sS https://downloads.linux.hpe.com/SDR/hpPublicKey2048.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/hpPublicKey2048.gpg
curl -sS https://downloads.linux.hpe.com/SDR/hpPublicKey2048_key1.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/hpPublicKey2048_key1.gpg
curl -sS https://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/hpePublicKey2048_key1.gpg

apt update
apt install ssa ssacli ssaducli storcli amsd

Now in iLO I see that AMS is in an OK state and I see more info than before in System Information > Network and a few other places



And for DL380 Gen8, above plus
check https://downloads.linux.hpe.com/SDR/repo/mcp/pool/non-free/ to see what latest version of hp-ams is available and change below to match

mkdir temp
cd temp
wget https://downloads.linux.hpe.com/SDR/repo/mcp/debian/pool/non-free/hp-ams_2.6.2-2551.13_amd64.deb
dpkg -i hp-ams_2.6.2-2551.13_amd64.deb
Thank you so much. You are a life saver.
 
Hi guys, i need your help, my fans are running with 50% i am using following :
- ML30 MS Gen11 with ilo6
- Proxmox 8.2.2
- installed amsd 2.6.0-1701.2-debian11

i think amsd 2.6.0 is only for ilo5, is there any solution for ilo6?

Thank you
Aleksandar
 
I've just installed amsd like blahblah156 suggested on a DL20 Gen11 with proxmox 8.2.
It took a restart and like 5 minutes for it to work but now the fans aren't spinning like crazy.

Thank you!
 
On all our proxmox instances I use this ansible script for all our servers (mostly DL360/DL380 Gen10):

Just reproduce the steps needed for the CLI...

YAML:
---
- name: Install packages
  apt:
    name: ['gnupg', 'lsb-release']
    state: present

# To be able to use facts like under ['lsb']
- name: Collect facts after package install
  setup:
    gather_subset:
      - 'all'

- name: Add hp Public key
  apt_key:
    url: https://downloads.linux.hpe.com/SDR/hpPublicKey2048.pub
    state: present

- name: Add hp Public key_1
  apt_key:
    url: https://downloads.linux.hpe.com/SDR/hpPublicKey2048_key1.pub
    state: present

- name: Add hpe Public key
  apt_key:
    url: https://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub
    state: present

- name: Add HPE repo
  apt_repository:
    repo: deb http://downloads.linux.hpe.com/SDR/repo/mcp {{ ansible_facts['lsb']['codename'] }}/current non-free
    state: present


- name: Install all packages
  apt:
    name: ['ssa', 'ssacli', 'ssaducli', 'storcli', 'amsd']
    state: present
    update_cache: yes

This has always worked for me. Except when HPE just released their bullseye repos with ubuntu tags, they changed that not long ago. The last time I did this on a fresh proxmox install was the last week. Worked like a charm.

EDIT: Just realized the question was for Gen8. But I run Gen8s at home and do believe that I used the same method there without any problems at all. They are however upgraded with latest service pack and the latest ILO with the HTML5 console and all that good stuff. If that has anything to do with it...

Best regards
Marcus
How to run the script YAML?
 
Hello,

I have a DL380 GEN8. I have install proxmox 8 et now I would like to install hp-ams and hp-health to silent fan.
But I can't install anything ... someone could explain ma how configure HP repo please
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!