Comments (8)
Hi,
yes, the DB optimizations seems to be helpful --> https://kb.vmware.com/s/article/87837?lang=en_US
It's officially recommended for everyone who upgraded the VCSA from 7.0U2 to U3.
from vcheck-vsphere.
Hi,
We experience the same thing, but not with al vCenters on 7.0U3c.
It started with one vCenter which did not complete the vCheck, but today a 2nd vCenter does not complete the vCheck as well.
Also, it seems that it's not always the same plugin which takes too much time to complete. This seems random and even multiple plugins take long completion time.
If anyone has a solution, please share!
from vcheck-vsphere.
I found that for a specific vCenter the vCheck used to complete in 5 minutes and now takes 67 minutes.
Also, it lists the plugins that take longer than 60 seconds to complete.
09 Created or cloned VMs.ps1 1285.52
96 VMWare Replication Check.ps1 1189.46
77 Lost access to volume.ps1 655.85
01 General Information.ps1 629.19
Just collecting general info already takes more than 10 minutes.
Our vChecks do not complete since we run the via scheduled task and it is set to abort of the task runs for more than 1 hour.
I will extend that time now, but still strange that it takes more than 10x longer to complete.
from vcheck-vsphere.
I don't have plugin "96" and "09" enabled in my environment.
Plugin 01 took on vCenter 7 U1 100seconds, now on 7U3c it takes 210 seconds.
Plugin "77" seems to have an issue in my environment...
++++++++++++++++++++++++++++++++++++
[03:39:51] ..start calculating Lost Access to Volume by Robert van den Nieuwendijk, Jonathan Medd v1.1 [32 of 89]
PS>TerminatingError(Get-VIEvent): "Cannot validate argument on parameter 'MaxSamples'. The argument is null, empty, or an element of the argument collection contains a null value. Supply a collection that does not contain any null values and then try the command again."
Get-VIEvent : Cannot validate argument on parameter 'MaxSamples'. The argument is null, empty, or an element of the
argument collection contains a null value. Supply a collection that does not contain any null values and then try the
command again.
At D:\Scripts\vCheckVDI\Plugins\30 Host\77 Lost Access to Volume.ps1:9 char:83
- ... .AddDays(-$LostAccessVolumeAge) -MaxSamples $MaxSampleVIEvent | Where ...
-
~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidData: (:) [Get-VIEvent], ParameterBindingValidationException
- FullyQualifiedErrorId : ParameterArgumentValidationError,VMware.VimAutomation.ViCore.Cmdlets.Commands.GetEvent
Get-VIEvent : Cannot validate argument on parameter 'MaxSamples'. The argument
is null, empty, or an element of the argument collection contains a null
value. Supply a collection that does not contain any null values and then try
the command again.
At D:\Scripts\vCheckVDI\Plugins\30 Host\77 Lost Access to Volume.ps1:9 char:83
- ... .AddDays(-$LostAccessVolumeAge) -MaxSamples $MaxSampleVIEvent | Where ...
-
~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidData: (:) [Get-VIEvent], ParameterBinding
ValidationException - FullyQualifiedErrorId : ParameterArgumentValidationError,VMware.VimAutom
ation.ViCore.Cmdlets.Commands.GetEvent
- CategoryInfo : InvalidData: (:) [Get-VIEvent], ParameterBinding
[03:39:51] ..finished calculating Lost Access to Volume by Robert van den Nieuwendijk, Jonathan Medd v1.1 [32 of 89]
++++++++++++++++++++++++++++++++++++
from vcheck-vsphere.
from vcheck-vsphere.
Same here.
Measure-Command{ Get-VIEvent -MaxSamples 100 -Start (get-date).AddDays(-1) }
Eventually I then get an error:
Get-VIEvent : 23-3-2022 09:59:10 Get-VIEvent The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.
Always after 10 minutes.
But we're also seeing impact on backups wanting to create snapshots and time out waiting. Other processes also have issues, like gathering licenses via Cloud Usage Meter.
from vcheck-vsphere.
Solved by performing two actions:
- set tasks and events history in vCenter to 1 day, reboot (in two days you can set it back to 25 again)
- VMware Support gave instructions how to "vacuum" the postgres database.
from vcheck-vsphere.
Case can probably be closed now.
from vcheck-vsphere.
Related Issues (20)
- What Makes The PSObject In Each Plugin Display HOT 1
- Somebody was able to run vCheck on latest powershell core with powercli, in linux?
- Add the option to store plugin variables in an external CSV file HOT 6
- Get-vCheckSetting The term 'Get-vCheckSetting' is not recognized as the name of a cmdlet, function, script file, or operable program HOT 2
- Get ESXI host cpu and memory usage
- Alans vCheck script on Centos fails to run via cron
- Not a issue but few queries
- 无法获取vcenter
- Error launching vCheck HOT 2
- sendmail timeout with Powercli 12.3.0.17860403
- vCheck Hangs after vCenter Upgrade to ver 7.0.3 HOT 11
- License Report Blank Expiration Date Fields HOT 3
- 74 Host - Network Redundancy lost - obsolete command HOT 1
- REVIVE vCheck? HOT 19
- Plugin 123 "VMs Exposed to Spectre Vulnerability" - override $VM variable and breaks subsequent plugins HOT 1
- Plugin 200 - VMs on Ephemeral Portgroup not showing results HOT 1
- How to schedule vCheck for multiple vCenters in single job? HOT 1
- Run Non Interactively or Silently
- VM Check for Spectre Mitigation Plugin False-Positives
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vcheck-vsphere.