HPE OneView
1823921 Members
3069 Online
109667 Solutions
New Discussion юеВ

Change Firmware Baseline in Server Profile Template

 
erki72
Frequent Advisor

Change Firmware Baseline in Server Profile Template

Hi

I want to change the firmware baseline from SPP2020.03 to version 2020.09.

it looks like this in our environment.
- We have created server hardware types for the different models
- Then we created a server profile template and used the the hardware type group
- The firmware baseline is attached to the server profile template > This is how it is applied to the servers

Am I correct: I change the hardware baseline on the server profile template. All servers turn yellow. Then I can say on the individual servers to standardize on the next reboot?

Thanks for help

20 REPLIES 20
Marcel_D
Advisor

Re: Change Firmware Baseline in Server Profile Template

After you attached a new Baseline to a Template, you have to Update the Server Profiles.

erki72
Frequent Advisor

Re: Change Firmware Baseline in Server Profile Template

I set the firmware profile to the new SPP in the server profile template?

Can I do this on the fly, ithout the risk of restarting the server?

I understand it like this: I have to update the server profile on each server after adjusting the basline on the server profile templates?

Marcel_D
Advisor

Re: Change Firmware Baseline in Server Profile Template

You need to have Smart Update Tools (SUT) running in the OS to communicate with OneView

You have to set SUT to sut -set mode=autodeploy to automatically install the Updates and prevent the Server from Rebooting.

Change Baseline in Server Template.

I personally Update the Server Profiles by Powershell Scripting, i.e

 

 

$server = Get-HPOVServerProfile | ?{$_.templateCompliance -like "NonCompliant"}

$server | %{Update-HPOVServerProfile -InputObject $_ -Async -Confirm:$false}

 

 

If Activate firmware: Immediately is set in the Template, the Profiles should Update and install the pending Updates.

When they finished, you have to manually Reboot the Server.

erki72
Frequent Advisor

Re: Change Firmware Baseline in Server Profile Template

Thanks for the answer.

We only use ESXi hosts

erki72
Frequent Advisor

Re: Change Firmware Baseline in Server Profile Template

Maybe it's easier with a screen short.

I want to select the new SSP where the arrow is.
I see it and I can change it. But I am not aware of what happens to my ESXi host

So I can do it for each host individually!
What happens if I make the same change in the server profile template?

2020-11-25 16_34_00-Window.png

2020-11-25 16_38_51-Window.png

ChrisLynch
HPE Pro

Re: Change Firmware Baseline in Server Profile Template

Firstly, changing any setting within a server profile template will NOT change anything or modify any setting within the associated server profile(s).  A compliance warning message will be displayed, which is the indication that the profile is not compliant with the template and inform you of what those changes are.  You would need to go to each server profile and perform "Update from Template" operation.  You can multi-select in the server profile inventory screen and do the same.  You can also use PowerShell to perform this operation en masse:

# Show all profiles that are not compliant
Get-OVServerProfile -NonCompliant

# Show all profiles that are not compliant based on the specific profile template resource
Get-OVServerProfileTemplate -Name "My Profile Template Name" | Get-OVServerProfile -NonCompliant

# Invoke the Update from Template operation, using the PowerShell -WhatIf common parameter
Get-OVServerProfileTemplate -Name "My Profile Template Name" | Get-OVServerProfile -NonCompliant | Update-OVServerProfile -WhatIf

 

As for the baseline itself, you will not be able to change the baseline within a profile ot Firmware Only without first powering off your servers.  Why?  This type of operation is an offline only, and OV will need to control the server to boot into the chosen baseline in order to install the components.

If you change the baseline activation type to one of the 2 available online options, you will need to have iSUT/SUT present to install the components.

I work at HPE
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
dviskoe
Regular Visitor

Re: Change Firmware Baseline in Server Profile Template

so I know this post is now over a year old, but still seems to be the most relevant from the google search results.

The root of the question, of course; is how to update firmware ? If I cannot update the template (without shutting down every server that's attached) and I would not want to create a new template ( and risk losing / moving all my connections).

what then is the 'Proper ' way to use OneView to update firmware ??

ChrisLynch
HPE Pro

Re: Change Firmware Baseline in Server Profile Template

I think you have it backwards here. Profile templates can be modified without powering off anything. They are software policies for profiles to be derived and inherited from.

If you are trying to install updates using offline then yes, that will require servers to be powered off for the server profile to be updated to that setting. Customers are advised to perform online updates where you can, as long as using Tier 1 operating systems that SUT supports.

This is also documented in the online help, here https://internal.support.hpe.com/hpesc/public/docDisplay?docId=sd00001276en_us&page=s_firmware-update-about-cic.html
I work at HPE
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
erki72
Frequent Advisor

Re: Change Firmware Baseline in Server Profile Template

We have a hypervisor in use.

It is important that iSUT is configured correctly. We now use the -autodiploy switch
Nevertheless, a little caution is required. We found that when we patch the hypervisor, sometimes the switch is changed.
We now check this with a script before we make changes to the profile template

ChrisLynch
HPE Pro

Re: Change Firmware Baseline in Server Profile Template

Prior to SUT 2.9, the operating mode would revert back to the default. Now, the default is changed to AutoStage and will not change if you modify it.
I work at HPE
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
dangar
Occasional Advisor

Re: Change Firmware Baseline in Server Profile Template

Hello.  I'm attempting to utilize powershell to change the server profile Firmware baseline, however the Set-OVServerProfile does not pop-up as a usable command.  I've installed and imported HPEOneView.800 (I had .550 installed) hoping it would help, but i get this "Set-OVServerProfile : The term 'Set-OVServerProfile' is not recognized"

What am I missing?

My goal is to perform SPP updates on ESXi hosts and utilize Powershell.

Thanks.

ChrisLynch
HPE Pro

Re: Change Firmware Baseline in Server Profile Template

We have a number of sample scripts on our GitHub publi repository, here.

You will find an example script you can use to then taylor for your environment, here.

I work at HPE
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
dangar
Occasional Advisor

Re: Change Firmware Baseline in Server Profile Template

Thanks for the reply and links!  I've discovered that PS 5.1 wasn't showing set-OVServerProfile, but PS7 does. 

 

 

dangar
Occasional Advisor

Re: Change Firmware Baseline in Server Profile Template

 Set-OVServerProfile is listed in HPEOneView.800, but when I run "Import-Module HPEOneView.800 -Verbose" the Set-OVServerProfile command does not show up on my machine.  Any thoughts?

Thanks

Dan

ChrisLynch
HPE Pro

Re: Change Firmware Baseline in Server Profile Template

Those Set Cmdlets have not been developed. Use the sample scripts I provided to accomplish hat you are trying to do.
I work at HPE
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
CadenLange
Regular Advisor

Re: Change Firmware Baseline in Server Profile Template

@ChrisLynch 

Hi Chris

Sorry to jump on the back of this thread - I'm just playing around with iSUT on VMware a little and just want to make sure I fully understand the different options.

Can you confirm my understanding.

With iSUT 2.9 or later the default mode is 'autostage' which will just stage the updates to the iLO installation queue and leave them in a 'pending' state?

You then change the mode to 'autodeploy' (sut -set mode=autodeploy) and, after a few minutes'  SUT will then start to install the updates and (in the server profile) will display the server 'requires a reboot'? A manual reboot will then activate\apply the updates and the server profile will show as consistent.

Do you then need to put SUT back into 'autostage' mode manually or will this happen automatically after the reboot? 

If SUT was left in 'autodeploy' mode is there any danger of this the VMware hosts rebooting themselves without warning? My understanding is that this mode just stages and then deploys the updates and waits for a reboot to be executed manually so they can be activated - This actually sounds a better default option that setting just 'autostage' - why is it not?

Will 'autodeployreboot' just arbitarily reboot the host? or will it only reboot if the host is in maintenance mode and therefore not running any active VMs? I think I read that somewhere.

many thanks

 

drehstrom79
Advisor

Re: Change Firmware Baseline in Server Profile Template

I have a similar problem. I edited the Template and now am trying to update the profiles for a bunch of servers. Unfortunately I can't find the mentioned option "update from template". Just using the "reapply"-button doesn't change anything. So I have to change every server manually by editing the firmware settings. This is quite annoying...

Where can I find the update option?

ChrisLynch
HPE Pro

Re: Change Firmware Baseline in Server Profile Template

Are these server profiles associated with the server profile template you updated?  When you view the Server Profile and the default Overview page, you will see Server profile template setting.  If it says "None" then the profile is not. 

When you do edit a server profile template and change it to a newer value, and as long as Compliance is set to Exact Match, then the associated server profile resources will report their consistency state is In-consistent.  When the server profile consistency state is this value, then the Update from Template option will be available in the Actions menu of the server profile.  If the consistency is not, then you will not see that option in the Actions menu.

I work at HPE
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
drehstrom79
Advisor

Re: Change Firmware Baseline in Server Profile Template

Thanks for helping me out here.

Yes the servers are associsted with the template and the consistency checking is set to "exact match". But after changing the baseline to another value the consitency state didn't change. So that explains why I couldn't see the "Update from template" option. So the problem seems to be that the profile doesn't realize a change in the template. But why ist that?

When I add a new server and subsequently create a profile associating the proper template, the server does recognise this and states "inconsistent" beside the baseline. Maybe there's a bug in OneView? By the way, I'm using version 8.60.00-0484297.

ChrisLynch
HPE Pro

Re: Change Firmware Baseline in Server Profile Template

Yes the servers are associsted with the template and the consistency checking is set to "exact match". But after changing the baseline to another value the consitency state didn't change. So that explains why I couldn't see the "Update from template" option. So the problem seems to be that the profile doesn't realize a change in the template. But why ist that?

Can you provide any screenshots showing this behavior?  I'd want to see the Overview screen of the server profiles in question, show the Firmware sub-view of the same server profile, and then the associated profile template and its assigned baseline settings.

When I add a new server and subsequently create a profile associating the proper template, the server does recognise this and states "inconsistent" beside the baseline. Maybe there's a bug in OneView? By the way, I'm using version 8.60.00-0484297.

There are no known compliance tracking issues/bugs with OneView. 

 

I work at HPE
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo