...
Veeam ONE Reporter collects data from datastores using the SearchDatastoreSubFolders_Task tasks, which are pre-defined by vSphere. During that process, if a datastore becomes unavailable or experiences performance issues, Veeam ONE Reporter may be unable to complete data collection tasks against that datastore. The collection job in Veeam ONE Reporter will finish with a "Warning" status. Additionally, the session log may contain the following entry: There were errors while collecting VM files: Failed in retrieve some VM files because of the timeout is exceeded. When this occurs, the following error messages appear in the log file:C:\ProgramData\Veeam\Veeam ONE Reporter\Logs\Tasks\{hostname}.local.log Failed to collect VM files: Datastore [{datastore_name}] timeout is exceeded Unable to collect files information from datastore [{datastore_name}] in a timely manner due to high vCenter server load.
Veeam ONE Reporter uses a 900-second timeout to wait for 10 datastore search tasks (default number) to complete. Any performance or access issues affect the entire collection process, and the collection job finishes with a "Warning" status. The error messages above mean that some issues have occurred on datastores. Due to a lack of response, the datastore scan tasks have been marked as failed, and the data cannot be collected from some of the datastores. The problem lies either with the datastore or the vSphere environment. However, there are ways to work around these environmental performance issues by making the collection timeout within Veeam ONE Reporter high enough to allow all datastore tasks to be completed. Note: This workaround does not fix the underlying environmental issue; it simply changes the SearchDatastoreSubFolders_Task task timeout to ensure adequate time for the datastore collection process to complete.
To successfully tune the product to complete your datastore search tasks, you must first identify a suitable timeout value for completing all the “SearchDatastoreSubFolders_Task” tasks, then apply registry changes and set the new timeout value. Part 1: Identify Timeout Value Based on Environment Using the PowerCLI script below to simulate the “SearchDatastoreSubFolders_Task” tasks and determine how long it takes to complete all mentioned datastore tasks. Download the VMware vSphere PowerCLI package for free by the following link: https://developer.broadcom.com/powercli Or install the module using the following command: