All at once I'm starting getting this error while using Get-vievent for querying the vcenter.
All seems to be running smootly and from VAMI I see no errors at all.
What can be the source of the problem ?
thanks
Get-VIEvent : 3/13/2024 2:54:37 PM Get-VIEvent Database temporarily unavailable or has network problems.
At line:1 char:1
+ Get-VIEvent -Start (Get-Date 03/01/2024) -Finish (Get-Date 03/13/2024 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-VIEvent], DatabaseError
+ FullyQualifiedErrorId : Client20_InventoryServiceImpl_GetEvent_ViError,VMware.VimAutomation.ViCore.Cmdlets.Commands.GetEvent
This can have many causes.
Which vSphere version are you using?
Is the VCSA using the built-in DB or an external one?
Have you already restarted the VCSA?
Do you see the events in the Web GUI?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
hello @LucD
Vcenter is a VCSA 8.02 with internal DB.
I did not restart the VCSA yet.
On the UI I see no errors or warning regarding the DB.
If possible, try restarting the VCSA.
See if that makes a difference.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference