Configuring Hawk Database Adapter
Configuring Hawk Database Adapter
Configuring Hawk Database Adapter
Revision History:
Version
1.0
Date
09-Nov-2012
Notes
Initial version
Table of Contents
Introduction............................................................................................................. 3
Required Tools......................................................................................................... 3
Prerequisites............................................................................................................ 3
Install Hawk Database Adapter...............................................................................3
Configuration........................................................................................................... 4
Running the service................................................................................................. 5
Troubleshooting....................................................................................................... 5
Introduction
This document will guide you through the pre-requisites and configuration of
Hawk Database Adapter with MS SQL Server 2008 R2.
Required Tools
TIB_hawkdbhma-simple_4.6.0_w32
Microsoft SQL Jar Files <MS SQL Jar>
- The JDBC JAR files contains three jar files
msbase.jar, msutil.jar, mssqlserver.jar
- It can be downloaded from Microsoft site or easier way is to get this file
from your colleagues who have already done the configuration.
Prerequisites
Configuration
TO
Edit tibhawkdbhma.tra
o
Add
'<tibcoHome>/hawk/4.9/adapters/dbhma/java;<tibcoHome>/hawk/4.9
/adapters/dbhma security/TIBCrypt.jar;<MS SQL jar file> ' to the end
of tibco.class.path.extended.
java.start.class
COM.TIBCO.hawk.agent.HawkAgent
java.start.class
COM.TIBCO.hawk.dbhma.DBHma
OLD
TIBHawkAgent
NEW
TIBHawkDBHMA
NEW
C:\\ProgramData\\amxbpm_1.3.1\\tibco\\cfgmgmt\\hawk\\\\bin\\\\ti
bhawkagent.exe
C:\\ProgramData\\amxbpm_1.3.1\\tibco\\cfgmgmt\\hawk\\\\bin\\\\ti
bhawkdbhma.exe
Edit sqlserverDBHma.xml:
o
PROPERT
Y
dbURL
dbUser
dbPasswo
rd
o
OLD
NEW
jdbc:microsoft:sqlserver://server
host:1433
sa
jdbc:microsoft:sqlserver://loca
lhosthost:1433
sa
<specify the password you set
for the sql server>
${hawk.hawk_root}
<tibcoHome>/hawk/4.9
Open cmd prompt , navigate <hawk_cfgmgmt >\bin and hit the following
command:
The above
script will
start the Hawk database adapter services. You can now monitor the database using
the Hawk Display.
tibcohawkdbhma.exe
Troubleshooting
If the microagents for the database are not available in the Hawk Display, check the
log file in the directory specified in the traceFile.
CHECK
MS SQL Server is up?
You are able to login to database: sa / <password>
The three sql jdbc jar files exist in the location < MS SQL Jar >
Yes/No