Load IBM Spectrum Protect (TSM) events
TSM Historic collection uses dsmadmc command with SQL query as one of the parameters to collect all historic data.
Windows:
C:\Program Files\Tivoli\TSM\baclient\dsmadmc -id= <userId> -password= <password> -tcpserveraddress= <server> -tcpport= <serverPort> -DISPLaymode=LIst -noconfirm <query>
Linux:
C:\Program Files\Tivoli\TSM\baclient\dsmadmc -id= <userId> -password= <password> -se= <configInstanceName> -DISPLaymode=LIst -noconfirm <query>
SQL queries utilizes the following database tables:
sessions
EVENT
actlog
summary
summary_extended
Windows:
C:\Program Files\Aptare\mbs\bin\tsm\tsmhistoricevents.bat
Linux:
<APTARE HOME>/mbs/bin/tsm/tsmhistoricevents.sh
To capture data from a specific period, use the following utility:
tsmhistoricevents.{sh/bat} <MetadataCollectorID> <ServerID> ["<Start Date>" "<End Date>" [verbose]]
Where:
The MetadataCollectorID and the ServerID can be found by executing the following utility:
For Windows: C:\opt\Aptare\mbs\bin\listcollectors.bat
For Linux: /opt/aptare/mbs/bin/listcollectors.sh
yyyy-mm-dd hh:mm:ss date format.
Specifying verbose will log the IBM Spectrum Protect (TSM) commands called to the
metadata.logfile.
Note:
If the Start and End Dates are not specified, the utility will capture events that occurred in the previous 24 hours.