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: 36
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
 
Hello i was trying to install on Dl160 Gen 10 and got the following error

/# apt update
Hit:1 http://ftp.ca.debian.org/debian bookworm InRelease
Hit:2 http://ftp.ca.debian.org/debian bookworm-updates InRelease
Ign:3 http://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current InRelease
Hit:4 http://security.debian.org bookworm-security InRelease
Hit:5 http://download.proxmox.com/debian/pve bookworm InRelease
Ign:3 http://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current InRelease
Ign:3 http://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current InRelease
Err:3 http://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current InRelease
Connection failed [IP: 16.230.112.82 80]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
87 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch http://downloads.linux.hpe.com/SDR/repo/mcp/dists/bookworm/current/InRelease Connection failed [IP: 16.230.112.82 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.

On checking further it seems HPE is no longer using http but an https link for the repos OR am I missing something?
 
Hello i was trying to install on Dl160 Gen 10 and got the following error

/# apt update
Hit:1 http://ftp.ca.debian.org/debian bookworm InRelease
Hit:2 http://ftp.ca.debian.org/debian bookworm-updates InRelease
Ign:3 http://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current InRelease
Hit:4 http://security.debian.org bookworm-security InRelease
Hit:5 http://download.proxmox.com/debian/pve bookworm InRelease
Ign:3 http://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current InRelease
Ign:3 http://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current InRelease
Err:3 http://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current InRelease
Connection failed [IP: 16.230.112.82 80]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
87 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch http://downloads.linux.hpe.com/SDR/repo/mcp/dists/bookworm/current/InRelease Connection failed [IP: 16.230.112.82 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.

On checking further it seems HPE is no longer using http but an https link for the repos OR am I missing something?
I just got it too, maybe their server is down or a DNS issue! Give it a day or 2




starting apt-get update
Hit:1 http://security.debian.org bookworm-security InRelease
Hit:2 http://ftp.uk.debian.org/debian bookworm InRelease
Get:3 http://ftp.uk.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:4 http://download.proxmox.com/debian/pve bookworm InRelease [2768 B]
Ign:5 http://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current InRelease
Ign:6 http://downloads.linux.hpe.com/SDR/repo/ilorest jammy/current InRelease
Ign:5 http://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current InRelease
Ign:6 http://downloads.linux.hpe.com/SDR/repo/ilorest jammy/current InRelease
Ign:5 http://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current InRelease
Ign:6 http://downloads.linux.hpe.com/SDR/repo/ilorest jammy/current InRelease
Err:5 http://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current InRelease
Connection failed [IP: 16.230.112.82 80]
Err:6 http://downloads.linux.hpe.com/SDR/repo/ilorest jammy/current InRelease
Connection failed [IP: 16.230.112.82 80]
Fetched 58.2 kB in 10s (5928 B/s)
Reading package lists...
W: Failed to fetch http://downloads.linux.hpe.com/SDR/repo/mcp/dists/bookworm/current/InRelease Connection failed [IP: 16.230.112.82 80]
W: Failed to fetch http://downloads.linux.hpe.com/SDR/repo/ilorest/dists/jammy/current/InRelease Connection failed [IP: 16.230.112.82 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
TASK OK
 
hi blah

Thanks for the response. here is what i tried and seems to work, i changed the entry for HPE in the sources list from http to https and got a successful run of apt update

root@SteadyProx1:/etc/apt# echo "# HP Agentless Management Service for iLO - added manually" | tee -a /etc/apt/sources.list
# HP Agentless Management Service for iLO - added manually
root@SteadyProx1:/etc/apt# echo "deb https://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current non-free" | tee -a /etc/apt/sources.list
deb https://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current non-free
root@SteadyProx1:/etc/apt# apt update
Hit:1 http://security.debian.org bookworm-security InRelease
Hit:2 http://ftp.ca.debian.org/debian bookworm InRelease
Hit:3 http://ftp.ca.debian.org/debian bookworm-updates InRelease
Ign:4 https://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current InRelease
Get:5 https://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current Release [6,053 B]
Get:6 https://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current Release.gpg [523 B]
Get:7 https://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current/non-free amd64 Packages [2,197 B]
Hit:8 http://download.proxmox.com/debian/pve bookworm InRelease
Fetched 8,773 B in 3s (3,379 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
87 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Repository 'Debian bookworm' changed its 'non-free component' value from 'non-free' to 'non-free non-free-firmware'
N: More information about this can be found online in the Release notes at: https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split
root@SteadyProx1:/etc/apt# apt install ssa ssacli ssaducli storcli amsd
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
amsd ssa ssacli ssaducli storcli
0 upgraded, 5 newly installed, 0 to remove and 87 not upgraded.
Need to get 27.7 MB of archives.
After this operation, 15.0 MB of additional disk space will be used.
Get:1 https://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current/non-free amd64 amsd amd64 3.3.0-1772.24-debian12 [1,124 kB]
Get:2 https://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current/non-free amd64 ssa amd64 6.15-11.0 [8,672 kB]
Get:3 https://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current/non-free amd64 ssacli amd64 6.15-11.0 [12.1 MB]
Get:4 https://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current/non-free amd64 ssaducli amd64 6.15-11.0 [3,081 kB]
Get:5 https://downloads.linux.hpe.com/SDR/repo/mcp bookworm/current/non-free amd64 storcli amd64 007.2207.0000.0000-1 [2,744 kB]
Fetched 27.7 MB in 16s (1,724 kB/s)
Selecting previously unselected package amsd.
(Reading database ... 45930 files and directories currently installed.)
Preparing to unpack .../amsd_3.3.0-1772.24-debian12_amd64.deb ...
Unpacking amsd (3.3.0-1772.24-debian12) ...
Selecting previously unselected package ssa.
Preparing to unpack .../ssa_6.15-11.0_amd64.deb ...
Unpacking ssa (6.15-11.0) ...
Selecting previously unselected package ssacli.
Preparing to unpack .../ssacli_6.15-11.0_amd64.deb ...
Unpacking ssacli (6.15-11.0) ...
Selecting previously unselected package ssaducli.
Preparing to unpack .../ssaducli_6.15-11.0_amd64.deb ...
Unpacking ssaducli (6.15-11.0) ...
Selecting previously unselected package storcli.
Preparing to unpack .../storcli_007.2207.0000.0000-1_amd64.deb ...
Unpacking storcli (007.2207.0000.0000-1) ...
Setting up ssaducli (6.15-11.0) ...
Setting up amsd (3.3.0-1772.24-debian12) ...
Created symlink /etc/systemd/system/multi-user.target.wants/amsd.service → /lib/systemd/system/amsd.service.
Created symlink /etc/systemd/system/multi-user.target.wants/smad.service → /lib/systemd/system/smad.service.
Created symlink /etc/systemd/system/multi-user.target.wants/ahslog.service → /lib/systemd/system/ahslog.service.
Created symlink /etc/systemd/system/multi-user.target.wants/mr_cpqScsi.service → /lib/systemd/system/mr_cpqScsi.service.
Created symlink /etc/systemd/system/multi-user.target.wants/cpqiScsi.service → /lib/systemd/system/cpqiScsi.service.
Created symlink /etc/systemd/system/multi-user.target.wants/cpqScsi.service → /lib/systemd/system/cpqScsi.service.
Created symlink /etc/systemd/system/multi-user.target.wants/cpqIde.service → /lib/systemd/system/cpqIde.service.
Setting up ssa (6.15-11.0) ...
Setting up ssacli (6.15-11.0) ...
Setting up storcli (007.2207.0000.0000-1) ...
Processing triggers for man-db (2.11.2-2) ...
root@SteadyProx1:/etc/apt#


Got the install working after changing to https.