Load Commvault Simpana events
Commvault Simpana Historic Collection uses a JDBC connection to collect jobs data from the Commvault Simpana database for a given look back hours.
Configure COMMVAULT_OLDEST_JOB_HOURS parameter for historic data collection.
Note:
The allowed maximum number of hours to look back for historic data collection is 168 hours. Historic collection is normally used on first time collection. It retrieves the details of the backup jobs, restore jobs, and job failures from the database using the SQL queries.
Windows:
C:\Program Files\Aptare\mbs\bin\commvault\cvsimpanadetails.bat
Linux:
<APTARE HOME>/mbs/bin/commvault/cvsimpanadetails.sh
To capture data from a specific period, use the following utility:
cvsimpanadetails.{sh|bat} <output_dir> <cvdb_username> <cvdb_password>
<cvdb_hostname>[:port] [max_hours [cv_username cv_password [cv_hostname]]]Where:
This utility will write data to a set of files in the output directory specified in
output_dir.The cvdb_username, cvdb_password and cvdb_hostname refer to the CommServ database system (this is usually the same as the CommServ server) from which you are collecting data.
[Optional]Port Number can be appended to the cvdb_hostname, separated by a colon.
Note:
If a port number is not specified, default 1433 port is assigned.
[Optional]Maximum number of hours from which to start the collection can be specified. This value is used to calculate the current time minus the number of hours that was entered.
If you do not enter a maximum number of hours, then all details retained by the Commvault Simpana database will be retrieved.
The last set of cv_username, cv_password and cv_hostname are required only if you are collecting Skipped File Details from a Windows-based CommServ Server.