About this task
The following dimensions tables are created by this procedure:
- IBM_TRAM Schema
- TRAM stands for Tivoli Reporting
and Analytics Model, is the common data model used by Tivoli products.
Warning: When your site
changes either the IBM® Tivoli Monitoring data model
or the operating system agent reports, your updated data model and
reports are no longer supported. In addition, these updates can be
lost when you apply maintenance to Tivoli Monitoring or
move to a subsequent release.
- TIME_DIMENSION table
- Includes years of time dimensional data and granularity to a specified
number of minutes. Each row of this table is a unique minute key with
various dimensions related to it, such as hour, weekday, day of month,
and quarter.
- MONTH_LOOKUP table
- Globalizes the month names for Time Dimension.
- WEEKDAY_LOOKUP table
- Globalizes the weekday names for Time Dimension.
- Other dimensions
- Other dimensions conforming to the Tivoli Common Data Model, such as ComputerSystem,
BusinessService, and SiteInfo.
You will need the database scripts included in the
extracted reports package under the db_scripts directory.
If reports are distributed with an installer,
the following manual procedures can be handled automatically by the
report installer. See your agent-specific user's guide for information
on automated TRAM creation.
When installing multiple
report packages, the following steps need only be completed once.
When installing multiple report packages the same TIME_DIMENSION tables
are used. If you want to reset granularity or begin and end times,
you can repeat the procedure.
Results
The shared dimensions and time dimensions tables are complete.
Troubleshooting
If the DB2 commands are failing with the following error:
UDA-SQL-0107
A general exception has occurred during the operation "prepare".[IBM][CLI
Driver][DB2/NT64] SQL0551N "ITMUSER" does not have the required
authorization or privilege to perform operation "SELECT" on object
"IBM_TRAM......
Execute the following
commands to resolve the issue:
- Connect to the Tivoli Data Warehouse as
a user with DB2 privileges.
- Issue the following grants:
- Grant select on IBM_TRAM."ComputerSystem" to ITMUSER
- Grant select on IBM_TRAM.MONTH _LOOKUP to ITMUSER
- Grant select on IBM_TRAM.TIMEZONE_ DIMENSION to ITMUSER
- Grant select on IBM_TRAM.TIME_DIMENSION to ITMUSER
- Grant select on IBM_TRAM.WEEKDAY_LOOKUP to ITMUSER
- Grant execute on procedure IBM_TRAM.CREATE_TIME_DIMENSION to ITMUSER