Giter VIP home page Giter VIP logo

Comments (8)

VM-Master avatar VM-Master commented on August 16, 2024 1

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.

roydebets avatar roydebets commented on August 16, 2024

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.

roydebets avatar roydebets commented on August 16, 2024

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.

VM-Master avatar VM-Master commented on August 16, 2024

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

[03:39:51] ..finished calculating Lost Access to Volume by Robert van den Nieuwendijk, Jonathan Medd v1.1 [32 of 89]
++++++++++++++++++++++++++++++++++++

from vcheck-vsphere.

roydebets avatar roydebets commented on August 16, 2024

from vcheck-vsphere.

TheGabeMan avatar TheGabeMan commented on August 16, 2024

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.

TheGabeMan avatar TheGabeMan commented on August 16, 2024

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.

TheGabeMan avatar TheGabeMan commented on August 16, 2024

Case can probably be closed now.

from vcheck-vsphere.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.