HPE OneView
1825105 Members
5218 Online
109679 Solutions
New Discussion

POSH-OneView | Retrieve server profile firmware install state

 
SOLVED
Go to solution
DavisGK
Occasional Contributor

POSH-OneView | Retrieve server profile firmware install state

Hi.

I'm working on a script which applies a firmware update through applying the server profile.  I can track the process through OV GUI by viewing the Firmware Install State value, which informs about when the server requires a reboot. Then I can manually reboot the server to apply the firmware. 

The issue here is that I cannot find the "firmware install state" value from the powershell module returned server profile or hardware objects. 

image.png

Is there a way to somehow retrieve this value using the powershell module? I know I can track the progress of the server profile alert which contains the update status, but I feel that thats not as robust. 

5 REPLIES 5
Rakesh0404
HPE Pro

Re: POSH-OneView | Retrieve server profile firmware install state

Hello Davis You may refer the following links:
1.API User guide link - https://support.hpe.com/hpesc/public/docDisplay?docId=a00118111en_us&page=GUID-4B5123A2-A300-44BF-A0CC-41E8DC66EA4B.html



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
DavisGK
Occasional Contributor
Solution

Re: POSH-OneView | Retrieve server profile firmware install state

Thanks. I already solved it by using serverSettings property of the ServerHardware object, which contains the firmware install state information

Rakesh0404
HPE Pro

Re: POSH-OneView | Retrieve server profile firmware install state

We are glad that your query has been is resolved. Your case will be closed now.



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Harini-Thenraj
New Member

Re: POSH-OneView | Retrieve server profile firmware install state

Hi,
In the API user guide https://support.hpe.com/hpesc/public/docDisplay?docId=a00118111en_us&page=GUID-4B5123A2-A300-44BF-A0CC-41E8DC66EA4B.html
I couldn't find the API for Firmware Install State that is shown in the GUI of the corresponding server profile. Can you point out the API?

Mr_Techie
Trusted Contributor

Re: POSH-OneView | Retrieve server profile firmware install state


@Harini-Thenraj wrote:

Hi,
In the API user guide https://support.hpe.com/hpesc/public/docDisplay?docId=a00118111en_us&page=GUID-4B5123A2-A300-44BF-A0CC-41E8DC66EA4B.html
I couldn't find the API for Firmware Install State that is shown in the GUI of the corresponding server profile. Can you point out the API?


It looks like the API for the Firmware Install State might not be explicitly listed in the user guide you referenced. However, you can find relevant information in the HPE OneView API documentation and the Redfish API documentation for HPE servers.

For HPE OneView, you can use the server-hardware and server-profiles endpoints to manage firmware updates. The firmware settings within a server profile can be accessed and modified through these endpoints.

For Redfish, the UpdateService schema provides a comprehensive way to manage firmware and software updates. This includes inventory management and update tasks. You can find more details in the Redfish documentation provided by HPE.

I hope it helps.