![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |
The Central Logger component audit logs the transactions in a database. Make sure to configure and setup a database server for the functionality of the Central Logger component. See Database Setup and Configuration for Central Logger
Task A Setup Database Driver
• Copy the appropriate JDBC driver jar file to the ASG_HOME/lib/ext/tpcl directory. See the product readme file for the supported versions of database drivers.For example, database jar file for MySql database is:For example, database jar file for Oracle database is:For example, database jar for SQL Server database is:For example, database jars for DB2 database is:Task B Create a DatabaseDepending on your environment, you might have to ask your database administrator to create a database or use an existing database. For example, for MySql database server, you can create a local database for your testing purposes.For production environments using Oracle, DB2 and MS SQL Server database server, ask your database administrator to create a database such as asgstat for the Central Logger component of TIBCO API Exchange Gateway.This section lists the steps to create a database for testing purposes using MySql database server. You must contact your database administrator to use appropriate database for production requirements.
1. Verify that the MySql database server is running.
5. Verify that the asgstat database is created.
• Task C Create a Database UserFor testing purposes, this section explains the steps required to create the database user with appropriate privileges in a database, using the MySql database server.
For production systems using Oracle, SQL Server and DB2 database server, work with your database administrator to create a database user in the appropriate database.
1. Verify that you are connected to the MySql database server as a root user. If not, type the command:Ask your database administrator to create a database user (for example asguser) and grant the connect,resource privileges to this user.Ask your database administrator to create a database user (for example asguser) and grant create,select,insert,update privileges to this user.Ask your database administrator to create a database user (for example asguser) and grant ALL,CONTROL,CONNECT,insert,SELECT privileges to this user.Task D Setup the Database Schemasqlplus asguser/asgpass@SID @createAsgKpis.sql
1. tibco.clientVar.CL/Database/Driver=database driver typetibco.clientVar.CL/Database/Url=database urltibco.clientVar.CL/Database/Username=database user nametibco.clientVar.CL/Database/Password=database passwordFor example, the values are shown for MySql database as follows:For example, the values are shown for Oracle database as follows:tibco.clientVar.CL/Database/Url=jdbc:oracle:thin:@localhost:For example, the values are shown for SQL Server database as follows:For example, the values are shown for DB2 database as follows:tibco.clientVar.CL/Database/Url=jdbc:db2://localhost:50000/asgstat
See Runtime Properties of Central Logger for details.
1.
3. To enable the reporting, set the value as: tibco.clientVar.ASG/Logging/reportingEnabled=true
2. ./asg-engine -u asg-cl -a ASG_Configuration_Namewhere ASG_Configuration_Name is the name of the configuration used by the Core Engine.
• The Core Engine is running in Cache Agent enabled mode. This means that the Core Engine is running with asg-caching-core processing unit.
• The Core Engine is running with the same project configuration as used by the Central Logger. This means that the Core Engine is running with ASG_Configuration_Name project configuration.
![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |