VSA discovery performance

Last post 08-12-2020, 11:08 AM by Liam. 1 replies.
Sort Posts: Previous Next
  • VSA discovery performance
    Posted: 08-10-2020, 6:16 AM

    Hi

    During backup of Hyper-V CSV it seems that the discovery phase is very slow. So I have had a look into the logfile and see the following entries:

    4324  3a48  07/23 09:01:01 6301 VSDisc::DiscoverVMs() - ---------------------------
    4324  3a48  07/23 09:01:01 6301 VSDisc::UpdateVMInfoListDetails() - Updating VM Details
    4324  3a48  07/23 09:03:43 6301 VSDisc::UpdateVMInfoListDetails() - Processed 10 of 137 VMs
    4324  3a48  07/23 09:06:24 6301 VSDisc::UpdateVMInfoListDetails() - Processed 21 of 137 VMs
    4324  3a48  07/23 09:09:05 6301 VSDisc::UpdateVMInfoListDetails() - Processed 32 of 137 VMs
    4324  3a48  07/23 09:11:49 6301 VSDisc::UpdateVMInfoListDetails() - Processed 44 of 137 VMs
    4324  3a48  07/23 09:14:25 6301 VSDisc::UpdateVMInfoListDetails() - Processed 77 of 137 VMs
    4324  3a48  07/23 09:16:56 6301 VSDisc::UpdateVMInfoListDetails() - Processed 105 of 137 VMs
    4324  3a48  07/23 09:19:41 6301 VSDisc::UpdateVMInfoListDetails() - Processed 123 of 137 VMs
    4324  3a48  07/23 09:21:18 6301 VSDisc::UpdateVMInfoListDetails() - Updated details for 137 VMs in the map

    Does anybody know what VSDisc::UpdateVMInfoListDetails() is doing and are there any options to improve performance of this process?

     

    Thanks

    Christoph

  • Re: VSA discovery performance
    Posted: 08-12-2020, 11:08 AM
    • Aplynx is not online. Last active: 09-11-2020, 4:24 PM Liam
    • Top 10 Contributor
    • Joined on 05-04-2010
    • New Jersey
    • Master
    • Points 1,881

    The discovery process uses WMI to query the VM list. It should take ~3 seconds to process each VM

    These commands should replicate the discovery process outside of CommVault. 

    $startTime=Get-Date

    $result = Get-WmiObject -Namespace ROOT\virtualization\v2 -Query "select * from Msvm_VirtualSystemSettingData"

    $endTime=Get-Date

    $duration = $endTime - $startTime

    write-host $result.Count

    Write-Host "Query completed in" $duration.TotalSeconds "seconds"

The content of the forums, threads and posts reflects the thoughts and opinions of each author, and does not represent the thoughts, opinions, plans or strategies of Commvault Systems, Inc. ("Commvault") and Commvault undertakes no obligation to update, correct or modify any statements made in this forum. Any and all third party links, statements, comments, or feedback posted to, or otherwise provided by this forum, thread or post are not affiliated with, nor endorsed by, Commvault.
Commvault, Commvault and logo, the “CV” logo, Commvault Systems, Solving Forward, SIM, Singular Information Management, Simpana, Commvault Galaxy, Unified Data Management, QiNetix, Quick Recovery, QR, CommNet, GridStor, Vault Tracker, InnerVault, QuickSnap, QSnap, Recovery Director, CommServe, CommCell, SnapProtect, ROMS, and CommValue, are trademarks or registered trademarks of Commvault Systems, Inc. All other third party brands, products, service names, trademarks, or registered service marks are the property of and used to identify the products or services of their respective owners. All specifications are subject to change without notice.
Close
Copyright © 2020 Commvault | All Rights Reserved. | Legal | Privacy Policy