- Community Home
- >
- Software
- >
- HPE OneView
- >
- Re: Changing multiple ILO password on Proliant ser...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2019 08:34 AM
тАО07-25-2019 08:34 AM
Changing multiple ILO password on Proliant servers
Can multiple ILO passwords get changed within HPOneView? Can it be done with XML or a powershell script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2019 02:01 AM
тАО07-26-2019 02:01 AM
Re: Changing multiple ILO password on Proliant servers
You can manage the iLO users with a server profile template. You change the administrator account, add more local accounts, connect to LDAP/AD and set up LDAP/AD groups with various access levels. Is that what you were after?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2019 04:11 AM
тАО07-26-2019 04:11 AM
Re: Changing multiple ILO password on Proliant servers
I was really wanting some kind of script because I don't have OneView license for all my servers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2019 08:42 AM
тАО07-26-2019 08:42 AM
Re: Changing multiple ILO password on Proliant servers
Well, not from one place, but from each host, you can use hponcfg to change user password in iLO. hponcfg is available for both Linux, Windows, and ESXi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2019 09:45 AM
тАО07-26-2019 09:45 AM
Re: Changing multiple ILO password on Proliant servers
I have almost 400 Servers I really don't want to chance each host manually
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2019 01:38 AM
тАО07-29-2019 01:38 AM
Re: Changing multiple ILO password on Proliant servers
Do you have salt or ansible setup on your servers? If so, you can use that to run hponcfg on each server from a central location. You would have to consult with HPE. I'm not sure you need licensed mode to change iLO passwords, but you might? Note with hponcfg, if your iLO is running in production mode, then you can run it from the root account without having to know the current iLO administrator password. If your iLO is one of the higher security modes, then you will need to know the current iLO administrator password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2019 12:29 PM
тАО08-14-2019 12:29 PM
Re: Changing multiple ILO password on Proliant servers
Import-Module HPEiLoCmdlets
$iLo_Inventory_File = "iLo-Inventory.txt"
$Results_File = "pswd-change-results.txt"
IF (Test-Path $Results_File)
{ Remove-Item $Results_File }
$Target_List = Get-Content $iLo_Inventory_File
ForEach ($Target_iLo in $Target_List)
{
$Connected_iLo = Connect-HPEiLO -IP $Target_iLo -Username 'localAdminIDgoeshere' -Password 'pswdgoeshere' -DisableCertificateAuthentication
IF ($Connected_iLo -eq $null) # -ErrorAction Stop was not capturing this situation!
{
$Text_Line = $Target_iLo + ';DID NOT ACCEPT THE CONNECTION REQUEST'
Out-File -FilePath $Results_File -Encoding ascii -InputObject $Text_Line -Append
Continue
}
$Result1 = Set-HPEiLoUser -Connection $Connected_iLo -LoginName TargetID -NewPassword "newPSWDhere" `
-OutputType Object -ErrorAction Stop
$Text_Line = $Target_iLo + ';' + $Result1.Hostname + ';' + $Result1.Status + ';' + $Result1.StatusInfo.Message + ';' + $Result1.StatusInfo.AffectedAttribute
Out-File -FilePath $Results_File -Encoding ascii -InputObject $Text_Line -Append
Write-Host $Text_Line -ForegroundColor Cyan
$null = Disconnect-HPEiLO -Connection $Connected_iLo
}
Write-Host "Execution has completed. Please press ENTER to exit the script" -ForegroundColor DarkYellow
Read-Host