Complete the following steps to configure the Summarization and Pruning
agent.
- Log on to the computer where the Summarization and Pruning agent is installed
and begin the configuration:
- Open the Manage Tivoli Enterprise™ Monitoring Services window:
- Right-click Summarization and Pruning Agent.
- On Windows, click Configure Using Defaults. On Linux
or UNIX, click Configure. If you are reconfiguring,
click Reconfigure.
- Review the settings for the connection between the Summarization and Pruning
agent and the hub Tivoli Enterprise Monitoring server. These settings were
specified when the Summarization and Pruning agent was installed.
- When you are finished verifying or entering information about the hub
monitoring server:
- On Windows, click Yes on the message asking if you
want to configure the Summarization and Pruning agent.
- On Linux or UNIX, click the Agent Parameters tab.
A multi-tabbed configuration window is displayed with the Sources tab at the front.
Figure 56 shows
the configuration window for a Summarization and Pruning agent on Windows
(with values displayed for a DB2 warehouse database). The configuration window
for a Summarization and Pruning agent on Linux or UNIX is similar.
- Add the names and directory locations of the JDBC driver JAR files to
the JDBC Drivers list box:
- On Linux or UNIX, use the scroll bar at the bottom of the window to display
the Add and Delete buttons, which
are located to the right of the JDBC Drivers list box.
- Click Add to display the file browser window. Navigate
to the location of the driver files on this computer and select the Type 4
driver files for your database platform. See Table 99 for
the names and default locations of the driver files to add.
- Click OK to close the browser window and add the
JDBC driver files to the list.
If you need to delete an entry from the list, select the entry and
click Delete.
- In the Database field, select the database platform
you are using for the Tivoli Data Warehouse from the drop-down list: DB2, SQL Server, or Oracle.
The default values for the database platform you selected are displayed in
the other text fields on the Sources tab.
- Change the default value displayed in the Warehouse URL field if it is not correct. The following table lists the default Tivoli® Data Warehouse URLs for the different database platforms:
Table 100. Tivoli Data Warehouse URLs
Database platform |
Warehouse URL |
IBM® DB2® |
jdbc:db2://localhost:60000/WAREHOUS |
Oracle |
jdbc:oracle:thin:@localhost:1521:WAREHOUS |
Microsoft SQL Server 2000 or SQL Server 2005 |
jdbc:sqlserver://localhost:1433;databaseName=WAREHOUS |
- If the Tivoli Data Warehouse is installed on a remote computer, specify the
host name of the remote computer instead of localhost.
- Change the port number if it is different.
- If the name of the Tivoli Data Warehouse database is not WAREHOUS, replace
WAREHOUS with the actual name.
- Verify the JDBC driver name, which is displayed in the Warehouse Driver field. (Note that the Warehouse Driver field displays the driver name, in contrast
to the driver files that are listed in the JDBC Drivers field.)
The following table lists the JDBC Type 4 driver
names for each database platform:
Table 101. JDBC driver names
Database platform |
JDBC driver name |
IBM DB2 |
com.ibm.db2.jcc.DB2Driver |
Oracle |
oracle.jdbc.driver.OracleDriver |
Microsoft® SQL Server |
com.microsoft.sqlserver.jdbc.SQLServerDriver
Note:
This is the name of the 2005 SQL Driver. Do not use the SQL Server
2000 JDBC driver, even if the Tivoli Data Warehouse was created in Microsoft
SQL 2000. (The name of the 2000 SQL driver was com.microsoft.jdbc.sqlserver.SQLServerDriver.
Note the reversal of the string jdbc.sqlserver.) |
- If necessary, change the entries in the Warehouse User and Warehouse Password fields to match the user
name and password that were created for the Tivoli Data Warehouse. The default user name
is itmuser and the default password is itmpswd1.
- In the TEP Server Host and TEP
Server Port fields, enter the host name of the computer where the Tivoli
Enterprise Portal Server is installed and the port number that it uses to
communicate with the Tivoli Data Warehouse server.
- Click Test database connection to ensure you can
communicate with the Tivoli Data Warehouse database.
- Select the Scheduling tab to specify when you want
summarization and pruning to take place. You can schedule it to run on a fixed
schedule or on a flexible schedule:
- Fixed
- Flexible
- Schedule the Summarization and Pruning agent to run every x minutes.
- Optionally, specify the times when the agent should not run, using the format HH:MM-HH:MM. Press Add to
add the text. For example, to block the agent from running between 00:00 and
01:59 and between 04:00 and 04:59, type 00:00-01:59, click Add, type 04:00-04:59 and click Add. Do not use
the Add button unless you are adding a blackout period.
All values must be between 00:00 and 23:59 and the end time must be greater
than start time.
Note:
If you select Fixed, the Summarization and Pruning agent
does not immediately perform any summarization or pruning when it starts. It performs summarization and pruning when it runs. It runs according to the schedule you specify on the Scheduling tab. If you select Flexible, the Summarization and Pruning
agent runs once immediately after it is started and then at the interval you
specified except during any black out times.
- Specify shift and vacation settings in the Work Days tab:
When you enable and configure shifts, IBM Tivoli Monitoring produces
three separate summarization reports:
- Summarization for peak shift hours
- Summarization for off-peak shift hours
- Summarization for all hours (peak and off-peak)
Similarly, when you enable and configure vacations, IBM Tivoli Monitoring
produces three separate summarization reports:
- Summarization for vacation days
- Summarization for non-vacation days
- Summarization for all days (vacation and non-vacation)
Complete the following steps to enable shifts, vacations, or both:
- Select when the beginning of the week starts.
- To configure shifts:
- Select Specify shifts to enable shifts.
- Optionally change the default settings for peak and off peak hours by
selecting and moving hours between the Peak Shift Hours box and the Off Peak Shift Hours box using the
arrow buttons.
Note:
Changing the shift information after data has
been summarized creates an inconsistency in the data. Data that was previously
collected is not summarized again to account for the new shift values.
- To configure vacation settings:
- Select Specify vacation days to enable vacation
days.
- Select Yes in the drop down list if you want to
specify weekends as vacation days.
- Select Add to add vacation days.
- Select the vacation days you want to add from the calendar.
On UNIX® or Linux®, right-click,
instead of left-click, to select the month and year.
The days
you select are displayed in the list box.
If you want to delete any
days you have previously chosen, select them and click Delete.
Notes:
- Add vacation days in the future. Adding vacation days in the past creates
an inconsistency in the data. Data that was previously collected is not summarized
again to account for vacation days.
- Enabling shifts or vacation periods can significantly increase the size
of the warehouse database. It will also negatively affect the performance
of the Summarization and Pruning Agent.
- Select the Log Parameters tab to set the intervals
for log pruning:
- Select Keep WAREHOUSEAGGREGLOG data for, select the unit of time (day,
month or year), and the number of units for which data should be kept.
- Select Keep WAREHOUSLOG data for, select the unit of time (day, month
or year), and the number of units for which data should be kept.
- Specify additional summarization and pruning settings in the Additional Parameters tab:
- Specify the number of additional threads you want to use for handling
summarization and pruning processing. The number of threads should be 2 *
N, where N is the number of processors where the Summarization and Pruning
agent is running. A higher number of threads can be used, depending on your
database configuration and hardware.
- Specify the maximum rows that can be deleted in a single pruning transaction.
Any positive integer is valid. The default is 1000. There is no
value that indicates you want all rows deleted.
If you increase the number
of threads, you might consider increasing this value if your transaction log
allows for it. The effective number of rows deleted per transaction is based
on this value divided by the number of worker threads.
- Indicate a time zone for historical data from the Use
timezone offset from drop down list.
This field indicates which time
zone to use when a user specifies a time period in a query for monitoring
data.
- Select Agent to use the time zone (or time zones)
where the monitoring agents are located.
- Select Warehouse to use the time zone where the
Summarization and Pruning agent is located.
Note:
- Skip this field if the Summarization and Pruning agent and the monitoring
agents that collect data are all in the same time zone.
- If the Tivoli Data Warehouse and the Summarization and Pruning agent are
in different time zones, the Warehouse choice indicates
the time zone of the Summarization and Pruning agent, not the warehouse.
- Specify the age of the data you want summarized in the Summarize hourly data older than and Summarize daily
data older than fields. The default is 1 for hourly data and 0 for daily data.
- Save your settings and close the window. Click Save to
save your settings. On Windows, click Close to close
the configuration window.
- On Windows, click Save and then click Close.
- On Linux or UNIX, click Save and then click Cancel.