Installing an ODBC client on Windows systems involves the following steps:
ODBC access to the event log store is available only in CA User Activity Reporting Module r12.1 and later releases. See the ODBC data source considerations for needed information before you begin the installation.
Users of this feature must belong to a user group that has the dataaccess privilege in the Default Data Access Policy (in the CALM access policies).
For an ODBC client, the following prerequisites apply:
See the CA User Activity Reporting Module Support Certification Matrix on http://www.ca.com/Support for details on the specific platforms supported for use with the ODBC and JDBC feature.
You can configure ODBC and JDBC access to the CA User Activity Reporting Module event log store using this procedure.
To configure ODBC and JDBC access
Note: The Service Port and SSL Enabled settings must match on both the server and the ODBC client. The default value for port is 17002, and SSL encryption is enabled. If these settings do not match the settings on the ODBC client, connection attempts fail.
Use this procedure to install the ODBC client on a Windows system.
Note: You need a Windows Administrator account to install the ODBC client.
To install the ODBC client
The Choose Destination Location panel appears.
The Select Program Folder panel appears.
The Start Copying Files panel appears.
The Setup Status panel displays the progress of the installation. When the installation finishes copying files, the InstallShield Wizard Complete panel appears.
Use this procedure to create the required ODBC data source on Windows systems. You can create the data source as either a user DSN or a System DSN.
To create the data source
The CA User Activity Reporting Module ODBC Driver Setup window appears.
The following are the descriptions of the ODBC data source fields as they relate to CA User Activity Reporting Module:
Create a name for this data source. Client applications that want to use this data use this name to connect to the data source.
Specifies the name of the CA User Activity Reporting Module server which the client connects. You can use either a hostname or an IPv4 address.
Specifies the TCP service port on which the CA User Activity Reporting Module server listens for ODBC client connections. The default value is 17002. The value you set here must match the setting for the ODBC Server service or the connection fails.
Leave this field blank, otherwise the connection attempt fails.
Specifies whether to use encryption on the communications between the client and the CA User Activity Reporting Module server. The default value is to have SSL enabled. The value you set here must match the setting for the ODBC Server service or the connection fails.
Specifies the connection properties for use with the event log store. The delimiter between the properties is a semi-colon with no space. The recommended default values include the following:
Specifies the timeout value in seconds with no data returned after which the query is closed. The following is the syntax for this property:
querytimeout=300
Specifies whether to perform a federated query. Setting this value to false performs a query only on the CA User Activity Reporting Module server to which the database connection is made. The following is the syntax for this property:
queryfederated=true
Specifies how many rows to retrieve in a single fetch operation, if the query is successful. The minimum value is 1, and the maximum value is 5000. The default value is 1000. The following is the syntax for this property:
queryfetchrows=1000
Specifies the offset for the timezone for this ODBC client. A value of 0 uses GMT. You can use this field to set your own timezone offset from GMT. The following is the syntax for this property:
offsetmins=0
Indicates the Interface Provider’s behavior in case of noncritical errors such as a database not responding or a host not responding.
The following is the syntax for this property:
suppressNoncriticalErrors=false
The ODBC client is installed with a command line interactive SQL Query tool, ISQL. You can use this tool for testing your configuration settings and the connectivity between the ODBC client and the CA User Activity Reporting Module event log store.
To test the client connection to the database
connect User*Password@DSN_name
Use the data source name you created for this ODBC connection to the database for the DSN_name value. If your connection parameters are correct, you see a return message similar to following:
SQL: connecting to database: DSN_name Elapsed time 37 ms.
Note:If your password contains the @ symbol, the iSQL utility fails to run properly, reading everything after the "@" as the DSN name. To avoid this problem, enter the password in quotes:
Connect User*"Password"@DSN_name
Use this test query to determine whether an ODBC client application is able to retrieve data from a CA User Activity Reporting Module event log store using the established database connection. This procedure uses the same ISQL utility you used to test the ODBC connection.
Note: Do not copy and use the SQL queries provided in the CA User Activity Reporting Module queries and reports to test your ODBC connection. Those SQL statements are only for the CA User Activity Reporting Module server to use with the event log store. Build your ODBC SQL queries using standard constructs according to the ANSI SQL standard.
To test the server component data retrieval
select top 5 event_logname, receiver_hostname, SUM(event_count) as Count from view_event where event_time_gmt < now() and event_time_gmt > timestampadd(mi,-15,now()) GROUP BY receiver_hostname, event_logname;
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|