Schlagwort: ESX

How to Fix “HPE Agentless Management Service Not Running” on HPE Gen12 with iLO 7

HPE Agentless Management Service (AMS) not running on an HPE Gen12 server with HPE iLO 7?

This guide explains why the issue occurs and how to configure communication among AMS, Smart Update Tools (SUT), and iLO.

Why This Happens

On HPE Gen12 servers with HPE iLO 7, the HPE Agentless Management Service uses the HPE iLO Virtual NIC (vNIC) to communicate with iLO. If iLO is configured in a high-security mode, AMS and SUT require an application account or valid iLO credentials. The application account is created once and stored securely in the system’s Trusted Platform Module (TPM).

Step 1: Check the AMS Service Status

Run the following command:

/etc/init.d/amsdv status

Example output showing that one AMS component is not running:

amsdv-smadvrev is not running
amsdv-ahsdv is running
amsdv-amsdv is running
amsdv-smadv is running

Step 2: Check the AMS Application Account

Check whether an AMS application account is already stored:

/opt/amsdv/bin/amsdCli appaccount check

If no valid account is found, create one with an authorized iLO user:

/opt/amsdv/bin/amsdCli appaccount create -u <ilo-username> -p <ilo-password>

Expected confirmation:

App account successfully created in iLO and stored in TPM.

For Windows use:

c:\Program Files\OEM\AMS\Service\amscli appaccount create -u <ilo-username> -p <ilo-password>

Step 3: Verify the AMS Application Account

Run the account check again:

/opt/amsdv/bin/amsdCli appaccount check

Successful validation should return:

App account for AMS is found in TPM.
App token is valid and active.

Step 4: Check the SUT Status

Check whether Smart Update Tools can communicate with iLO:

sut -status

If SUT reports that iLO is configured in a high-security mode and requires an application account, create the SUT application account:

sut appaccount create -u <ilo-username> -p <ilo-password>

Expected confirmation:

App account successfully created in iLO and stored in TPM. Use the command sut appaccount delete to delete the app account from TPM.

Step 5: Verify the Final SUT Configuration

Run the status command once more:

sut -status

A healthy configuration should display the update manager, task state, staging directory, operating mode, polling interval, queued-update setting, and iLO security mode without the previous application-account warning.

System Update Manager……………….: Compute Ops Management
Task Status………………………..: Bios:N/A; LocalStorage:N/A; Deploy:Idle
Staging Directory…………………..: /tmp/stagingdirectory
Baseline URI……………………….: None
Baseline Version……………………: Waiting for staging
Mode of Operation…………………..: autostage
Polling Interval In Minutes………….: 5
Force Deploy……………………….: No
Optional Components…………………: None
EnableiLOQueuedUpdates………………: true
iLO Security Mode…………………..: SecureStandard
iLO CAC Smartcard Authentication……..: Off
iLO CAC Strict Mode…………………: Off

Result

After the AMS and SUT application accounts have been created and validated, both tools can communicate with HPE iLO 7 over the Virtual NIC. The account information remains protected in the TPM, so this is usually a one-time configuration.

HPE SPP Update with COM and ESX

Here I will guide you to Install the HPE Service Pack for ProLiant (SPP) using Compute Ops Management (COM) on VMware ESX Server.
(Will work similarly with Windows Server also.)

There is a new Note in the Manual:
Compute Ops Management updates the iSUT mode from the default AutoStage mode to AutoDeploy mode after iSUT is installed or upgraded to version 2.9.3 or later. If a reboot is required during a firmware update, it will proceed regardless of the iSUT configuration.

Therefore, the following ESX settings are now only necessary for older versions:

Start the ESX Shell and SSH on the ESX Server:

Optional: Set ESX into Maintenance Mode

Activate the HPE Software Update Tool (SUT):
sut -set mode=AutoDeployReboot
To Check:
sut -status

To check above 2.9.3:

Set the iSUT enableiloqueuedupdates flag to true.
Use the following iSUT command to set this flag:
sut –set enableiloqueuedupdates=true

If you installed or updated the iSUT version or changed the mode, reset iLO or the server, and then wait for five minutes before initiating a firmware update through Compute Ops Management.

You only need to set this the first time for each server.

Go to https://common.cloud.hpe.com/ and start COM:

Now, it’s simple.
Select the Server, you want to Update and Actions > Update Firmware:
(It is currently a bit misleading, because this can also be used to update the drivers.)

Select your Setings:

In this case, the update will not be performed because we have also selected the drivers update, but for this the ESX server must be in maintenance mode.

Problem solved, now it works:

COM checks which firmware and possibly drivers are required and only these are transferred to the iLO board. This is different from before.

At one Point Firmware of the iLO itself is being Updated, and then iLO is offline for some minutes.

Attention: Do not click here! Lay back and Drink your ☕.

Now iSUT inside ESX (or Windows) should pick up the Driver:

Attention: Can be a long time until the Update starts, the default is 5 Min., don’t be nervous!

If you like, watch the Progress also here in iLO:

When everything is done, the Queue will be empty, and the Server reboots (If in Maintenance Mode).

During the Reboot, some post Firmware updates will be done (UEFI, PICs).

Complete!

Solve vCenter Host TPM attestation alarm with HPE ProLiant

If you get this Message on a HPE ProLiant Server

here is a way to solve it.

First, set the Host in Maintenance Mode.
Than open a CLI connection to the ESXi and Enter:

esxcli system settings encryption get
Mode: TPM Require Executables Only From Installed VIBs: false
Require Secure Boot: false

Set Secure Boot to true with:
esxcli system settings encryption set –require-secure-boot=T

Verify the change.
esxcli system settings encryption get
Mode: TPM Require Executables Only From Installed VIBs: false

Require Secure Boot: true

To save the setting, run the following command:
/bin/backup.sh 0

Now Reboot the Server and Enter the UEFI BIOS by pressing F9.
Change TPM Settings in
System Utilities screen, select System Configuration > BIOS/Platform Configuration (RBSU) > Server Security > Trusted Platform Module Options
as here:

Annotation:
VMware ESXi 7.0 cannot handle SHA386.
SHA386 only works with VMware ESXi 8.0.

F12: Save and Exit for Reboot

Maybe vCenter is now showing this

in that case, go back to CLI and enter
esxcli system settings encryption recovery list

Save the output in a secure, remote location as a backup, in case you must recover the secure configuration.
Now, Right-click on the alarm and select Reset to Green.

Done

Reference:
Enable or Disable the Secure Boot Enforcement for a Secure ESXi Configuration (vmware.com)

HPE SPP Update with SUM and ESX

Here I will guide you to Install the HPE Service Pack for ProLiant (SPP) using Software Update Manager (SUM) on VMware ESX Server.
(Will work similarly with Windows Server also.)

Let’s begin now.

Start the ESX Shell and SSH on the ESX Server:

Optional: Set ESX into Maintenance Mode

Activate the HPE Software Update Tool (SUT):
sut -set mode=AutoDeployReboot
To Check:
sut -status

Mount or extract the Service Pack ProLiant ISO File and start with launch_sum.bat on any Windows PC or Server on the Network.

Start the Service Pack ProLiant on any Windows PC or Server in the Network and choose Nodes:

Login to the iLO Web GUI  > The Installation Queue is empty

Now add the Server, since Gen10 (iLO5) Driver and Firmware were installed by iLO.

  • First, the Files were copied into the NVRAM of iLO.
  • Then the Installation Queue will be created.
  • Most of the Firmware is Installed direct.
  • For Driver, the SUT-Tool picks them from iLO and installs them in the OS.
  • If the Server is in Maintenance Mode, at the end an automatic reboot is triggered.
  • At the Reboot, Firmware is installed, which cannot be done Online.

In SUM add the Server(s) by „Add Node„:

Start the Inventory:

Now Deploy:

The Files will now be uploaded into the iLO NVRAM:
(Take a ☕, this needs some time.)

If everything is in the iLO Queue the Update starts:


At one Point Firmware of the iLO itself is being Updated, and then iLO is offline for some minutes.

Attention: Do not click here! Lay back and Drink your ☕.

Now SUT inside ESX (or Windows) should pick up the Driver:

Attention: Can be a long time until SUT starts, the default is 5 Min., don’t be nervous!

Watch the Progress here in iLO:

In the end, SUM says „Install done“, mostly it is only done for SUM.

Better to check in iLO for the state.

When everything is done, the Queue will be empty, and the Server reboots (If in Maintenance Mode).

During the Reboot, some Firmware updates will be done (UEFI, PICs).

Complete!

© 2026

Theme von Anders Norén — Hoch ↑