Views:

Summary



Failure to inventory DB / FS

Symptoms



An attempt to inventory DB / FS fails with unformatted messages in a job log, Snippet of the log is following: 
 

Type	Time	Server Time	Task ID	Message													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:06 UTC		===== Starting job for policy DB180_inventory on Tuesday  November 7  2017 10:48:06 PM UTC.  id 1510094886098 =====													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:06 UTC		IBM Spectrum Copy Data Management version 2.2.6.0-74													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:06 UTC		This Application Inventory job will inventory applications from physical servers and virtual machines with assigned credentials. 													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:06 UTC		This job contains at least three types of tasks: job resolution  inventory virtual machines and inventory physical servers.													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:06 UTC		The Application inventorying task is performed for each Application Server													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:06 UTC		Connect: Application Catalog													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:06 UTC		Database Name :APPLICATION Type : VERSIONS													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:06 UTC		Job type is DB/FS Inventory.													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:06 UTC		Application type is sql.													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:06 UTC		----- Policy options: maxtasks = 0  retention = 3  -----													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:06 UTC		SessionManager: Creating new session with ID: b39bc37533a0ab2a													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:07 UTC		SessionManager: Destroying session with ID: b39bc37533a0ab2a													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:07 UTC	1	----- Policy resolution task 1 is starting. -----													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:07 UTC	1	----- Number of elements in policy 2 -----													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:07 UTC	1	----- Policy resolution task 1 completed in 126 ms with status COMPLETED. ----- 													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:07 UTC	2	----- Starting Application Catalog (SQL) task 2. -----													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:07 UTC	2	Finding servers that need to be inventoried													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:07 UTC	2	Finding application servers that need to be inventoried													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:07 UTC	2	Finding application servers based on policy selection(s)													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:07 UTC	2	Inventorying application server DB179													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:07 UTC	2	Discovering applications for DB179													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:07 UTC	2	ECX log dir=/data/log/ecxdeployer/2017-11-07/1510094887692/192.168.0.179													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:11 UTC	2	Guest agent is at latest version 2.6.0.68													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:15 UTC	2	Guest tools is at latest version 2.6.0.68													
INFO	1.51009E+12	Tue 7 Nov 2017 22:48:18 UTC	2	Guest hardware provider is at latest version 2.6.0.68													
ERROR	1.51009E+12	Tue 7 Nov 2017 22:48:49 UTC	2	Failed to install Hardware Provider. Error:Microsoft (R) Windows Script Host Version 5.812													
Copyright (C) Microsoft Corporation. All rights reserved.																	
																	
																	
REGISTER_APP.VBS version 1.5.2																	
Copyright (C) Microsoft Corporation 2002-2003. All rights reserved.																	
																	
Unregistering the existing application...																	
#NAME?																	
#NAME?																	
#NAME?																	
#NAME?																	
- Application IBM VSS HW Provider removed!																	
#NAME?																	
Done.																	
Creating a new COM+ application:																	
#NAME?																	
#NAME?																	
#NAME?																	
#NAME?																	
#NAME?																	
#NAME?																	
#NAME?																	
#NAME?																	
#NAME?																	
#NAME?																	
#NAME?																	
#NAME?																	
#NAME?																	
																	
ERROR:																	
- Error code: -2146368511 [0x80110401]																	
- Exit code: 113																	
- Description: 																	
- Source: 																	
- Help file: 																	
- Help context: 0																	
- COM+ Errors detected: (1)																	
   * (COM+ ERROR 0) on c:\program files\IBM\IBM Spectrum Copy Data Management\provider\catalogicvssprovider.dll																	
       ErrorCode: -2146368486 [0x8011041A]																	
       MajorRef: c:\program files\IBM\IBM Spectrum Copy Data Management\provider\catalogicvssprovider.dll																	
       MinorRef: <invalid>																	
																	
ERROR	1.51009E+12	Tue 7 Nov 2017 22:48:49 UTC	2	Failed to install HW provider. Error=java.lang.Exception: Failed to install Hardware Provider. Error:Microsoft (R) Windows Script Host Version 5.812													
Copyright (C) Microsoft Corporation. All rights reserved.




Resolution



This scenario can be observed for different versions of  ECX supporting application (MS SQL) and FS support. Check Volume Shadow Service to ensure it is not disabled. After the service was enabled, inventory completed successfully.
Related Products: ECX