Use this procedure to configure a Warehouse Proxy Agent
on Linux or UNIX to connect to a Microsoft SQL Server data warehouse.
Procedure
- Log on to the computer where the Warehouse Proxy Agent
is installed and begin the configuration.
- Change to the install_dir/bin directory
and run the following command:
./itmcmd manage [-h install_dir]
where install_dir is
the installation directory for IBM® Tivoli® Monitoring. The default
installation directory is /opt/IBM/ITM. The Manage Tivoli Enterprise Monitoring Services window
is displayed.
- Right-click Warehouse Proxy and
click Configure. The Configure Warehouse
Proxy window is displayed.
Figure 1. Configure Warehouse Proxy window
(Database Type)
- Select Microsoft SQL
Server from the list of selectable databases, and click Next. The following configuration window is displayed.
Figure 2. Configure
Warehouse Proxy window (Agent Parameters tab)
- Review the settings for the connection between the Warehouse
Proxy Agent and the hub monitoring server. Correct the settings if
necessary. The Warehouse Proxy Agent
must use the same protocols used by the application agents and by
the hub monitoring. If the proxy agent does not have the same protocol
as the hub monitoring server, it cannot register with the hub. If
the proxy does not have the same protocol as the application agents,
then the application agents cannot communicate with the proxy when
they to create a route to it.
- Add the name and directory location of the JDBC driver
JAR file to the JDBC Drivers list box:
- Click Add to display the file browser window.
Navigate to the location of the JDBC driver JAR file on this computer
and select the sqljdbc4.jar file.
Important: Use the latest SQL Server JDBC driver from Microsoft, which supports SQL Server 2008,
2005 and 2000.
- Click OK to close the browser window and
add the driver file to the list.
If you need to delete an entry from the list, select the entry
and click Remove.
- Change the default value displayed in the Warehouse
URL field if it is not correct. The Warehouse URL for Microsoft SQL Server 2005 is
as follows:
jdbc:sqlserver://localhost:1433;databaseName=WAREHOUS;SelectMethod=cursor
- 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. (See Table 1.)
- Verify the JDBC driver name, which is displayed in the JDBC
Driver field. (Note that the JDBC Driver field
displays the driver name, in contrast to the JDBC JARS that
are listed in the JDBC JARS field.) The Microsoft SQL Server Driver
name is:
com.microsoft.sqlserver.jdbc.SQLServerDriver
- If necessary, change the entries in the Username and Password fields
to match the user name and password that were created for the Tivoli Data Warehouse. (See Step 1: Create the Tivoli Data Warehouse database.) The default user
name is ITMUser and the default password is itmpswd1.
- Click Test connection to ensure
you can communicate with the Tivoli Data
Warehouse database.
- A Tivoli Enterprise
Monitoring Server name in the Warehouse TEMS List field
indicates that all the agents connected to this Tivoli Enterprise Monitoring Server will have
its historical data sent to this Warehouse Proxy Agent. This variable
is used when the IBM Tivoli Monitoring environment
contains multiple Warehouse Proxy Agents and the workload has to be
balanced using specific Warehouse Proxy Agents.
- Select the Use Batch check box if
you want the Warehouse Proxy Agent to submit multiple execute statements
to the Tivoli Data Warehouse
database for processing as a batch. In some situations,
such as crossing a network, sending multiple statements as a unit
is more efficient than sending each statement separately. Batch processing
is one of the features provided with the JDBC 2.0 API.
- Select the Database Compression check
box for the Warehouse Proxy Agent to create all tables and indexes
in the Tivoli Data Warehouse
with compression enabled, if the database compression mode is supported
by the database. This option reduces the storage costs of the Tivoli Data Warehouse.
- Select the Warehouse Compression for Z/OS Sources check
box for the Warehouse Proxy server to allow clients installed on Z/OS
machines to send compressed data.
- Select the Warehouse Compression for Distributed
Sources check box for the Warehouse Proxy server to allow
clients installed on distributed machines to send compressed data.
- Click Save to save your settings
and close the window.