HPE OneView
1825751 Members
2918 Online
109687 Solutions
New Discussion

New-HPOVSupportDump causes timeout

 
Lodewijk
Occasional Advisor

New-HPOVSupportDump causes timeout

Hello,

With a lot of oneview synergies and Oneview appliances I need to retrieve support dumps for HPE. When using the New-HPOVSupportDump cmd I got timeouts (Webexception) when it takes to long to create the dump. Creation can take up to 20 minutes.

Any idea how to solve this in the script? Script using csv to obtain oneview site, ip and if log is required:

# Create supportlog for each appliance
foreach ($OneViewAppliance in $OneViewAppliances) {
if ($OneViewAppliance.Enable -eq "Y") {
Write-Output $("Create SupportLog OneView System: " + ($OneViewAppliance.Name) + " (" + ($OneViewAppliance.Version) + ") from location " + ($OneViewAppliance.Domain))

# Run supportlog of appliance
Import-HPOVSslCertificate -ApplianceConnection $OneViewAppliance.FQDN
$OVConnection = Connect-HPOVMgmt -hostname $OneViewAppliance.FQDN -credential $credential
#Write-Output $($OneViewAppliance.Name + ": create log to " + $loglocation)
$NewOVSupportlog = New-HPOVSupportDump -Location $loglocation -Type Appliance
Disconnect-HPOVMgmt $OVConnection
}
}
else { Write-Output "Archiving: Archiving is disabled" }

 

Lodewijk

1 REPLY 1
ChrisLynch
HPE Pro

Re: New-HPOVSupportDump causes timeout

This question would be better served if you asked it on the project issue tracker.  Please provide more detail on what specific version of the PowerShell library you are trying to use.  Extending timeouts while waiting for the API to respond has been adjusted over several releases.

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