- Community Home
- >
- Servers and Operating Systems
- >
- HPE BladeSystem
- >
- BladeSystem - General
- >
- Re: Issue Using HPILO Powershell CMDLets
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
тАО05-16-2017 01:28 PM
тАО05-16-2017 01:28 PM
Issue Using HPILO Powershell CMDLets
Hi,
I am using the HPILO Cmdlets on a list o iLO's that I got from the Find-HPILO cmdlets. However, as the script loops through it will process a series of 9 Get-HPiLO CmdLets successfully in a single C7000 enclosure. But between the 3rd to 5th iLO the CmdLets start erroring out saying they are "unable to connect to the remote server" The error reads as follows:
$iLOnet = Get-HPiLONetworkSetting -DisableCertificateAuthentication -Password $Password -Server $iLOs[$i].IP -Username $UserName
Get-ErrorDetail : Error - 192.168.0.67 - server.fqdn - Retrieving information from iLO.
Exception calling "UploadString" with "3" argument(s): "Unable to connect to the remote server"
At C:\Program Files\Hewlett-Packard\PowerShell\Modules\HPiLOCmdlets\HPiLOCmdlets.psm1:16523 char:25
+ throw $retobject.err
+ ~~~~~~~~~~~~~~~~~~~~
+CategoryInfo :OperationStopped: (Exception calli...remote server"
:String) [], RuntimeException
+FullyQualifiedErrorId :Exception calling "UploadString" with "3" argument(s): "Unable to connect to the remote server"
At C:\Program Files\Hewlett-Packard\PowerShell\Modules\HPiLOCmdlets\HPiLOCmdlets.psm1:16615 char:17
+ Get-ErrorDetail $ErrorMsg
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-ErrorDetail
$iloFIPS = Get-HPiLOFIPSStatus -DisableCertificateAuthentication -Password $Password -Server $iLOs[$i].IP -Username $UserName
Get-ErrorDetail : Error - 192.168.0.67 - server.fqdn - Retrieving information from iLO.
Exception calling "UploadString" with "3" argument(s): "Unable to connect to the remote server"
At C:\Program Files\Hewlett-Packard\PowerShell\Modules\HPiLOCmdlets\HPiLOCmdlets.psm1:13374 char:21
+ throw $retobject.err
+ ~~~~~~~~~~~~~~~~~~~~
+CategoryInfo :OperationStopped: (Exception calli...remote server"
:String) [], RuntimeException
+FullyQualifiedErrorId :Exception calling "UploadString" with "3" argument(s): "Unable to connect to the remote server"
At C:\Program Files\Hewlett-Packard\PowerShell\Modules\HPiLOCmdlets\HPiLOCmdlets.psm1:13465 char:17
+ Get-ErrorDetail $ErrorMsg
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-ErrorDetail
$iLOgbl = Get-HPiLOGlobalSetting -DisableCertificateAuthentication -Password $Password -Server $iLOs[$i].IP -Username $UserName
Get-ErrorDetail : Error - 192.168.0.67 - server.fqdn - Retrieving information from iLO.
Exception calling "UploadString" with "3" argument(s): "Unable to connect to the remote server"
At C:\Program Files\Hewlett-Packard\PowerShell\Modules\HPiLOCmdlets\HPiLOCmdlets.psm1:13988 char:21
+ throw $retobject.err
+ ~~~~~~~~~~~~~~~~~~~~
+CategoryInfo :OperationStopped: (Exception calli...remote server"
:String) [], RuntimeException
+FullyQualifiedErrorId :Exception calling "UploadString" with "3" argument(s): "Unable to connect to the remote server"
At C:\Program Files\Hewlett-Packard\PowerShell\Modules\HPiLOCmdlets\HPiLOCmdlets.psm1:14084 char:17
+ Get-ErrorDetail $ErrorMsg
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-ErrorDetail
However, when the scrfipt finishes, I can run the samed cmmands on the iLO's interactively and they work perfectly. What am I missing or how can I fix this? When I put sleep statements in between processing iLO's it will process more iLO's before getting this error. Could really use some help or advice on this.
Thanks,
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2017 01:40 PM
тАО05-16-2017 01:40 PM
Re: Issue Using HPILO Powershell CMDLets
Also, aftre I get these errors if I try to open the iLO Web Mnagement page it errors out and says page cnnot be displayed.
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2017 02:04 AM
тАО05-24-2017 02:04 AM
Re: Issue Using HPILO Powershell CMDLets
Hi,
The error message for the not working iLO's clearly says its the problem with the server connectivity. At that moment when cmdlet gets exeuted the network may not be accessible immediately or its slow.
I have one suggestion you can try to increase the session timeout of the cmdlets by executing below cmd and set the value higher than default (60000msecs which is equal to 60 seconds). You need to increase it to 120 seconds (you need to provide 120000) and see if that helps or increament it slowly to verify if your problem gets a solution.
Set-HPiLOSessionTimeOut -TimeOut 120000 -Verbose
If the above session timeout does not work and if iLO is still accessible after script execution then you might need to check your LAN network for more troubleshooting.
Thanks,
Gokul
HPE PowerShell Team
I am a HPE Employee