Table of Contents Previous Next PDF


Business Transaction Management (BTM) Integration

Business Transaction Management (BTM) Integration
This chapter contains the following topics:
Overview
By integrating TSAM Plus and BTM, users are able to:
Figure 4‑1 describes a typical scenario of a BTM transaction across the JEE server and Tuxedo domains.
Figure 4‑1 Delegate Container
In this scenario, a Tuxedo BTM delegate observer runs in a JVM started in the /T domain gateway by JNI technology. When the /T domain gateway receives inbound/outbound messages, it sends BTM inbound/outbound requests to BTM delegate observer.
Prerequisite
The following prerequisites must be met before monitoring Tuxedo by BTM.
Enable BTM Monitoring from Tuxedo
BTM Discovery
BTM discovery is entirely traffic-based. If messages are not flowing through the observed endpoints, Business Transaction Management cannot discover any application components nor can it discover the dependencies between these components.
Before discovery is performed, following steps must be done.
1.
A delegate observer is included in $TUXDIR/udataobj after TSAM Plus installation. You do not need to install any observer for Tuxedo observe. For the WTC monitoring, you must install the JavaEE observer in Weblogic side. For more information, see Installing Observers Overview.
2.
From the Observer Communication Policy page in BTM Console, check the DELEGATE probe is enabled.
3.
From the Observer Communication Policy page in BTM Console, choose Use fully qualified name (FQN) for Observer Behavior -> Mapping Algorithm.
Discovery involves the following steps:
1.
2.
3.
4.
Check that measurements are being taken by looking at the Summary or Analysis tab for a service. Throughput, traffic, maximum response time, and average response time should be available for all the services involved in message traffic. If measurements are inaccurate or missing, it's possible that not enough time has elapsed for Business Transaction Management to calculate traffic measurements or perhaps monitoring was disabled.
Note:
5.
6.
Check the -m option for GWTDOMAIN is configured correctly, and "The BTM monitoring is enabled." is printed in ULOG.
Check the "DELEGATE" probe for the "Observer Communication Policy" is enabled.
Tuxedo Container in BTM
When BTM monitoring is enabled, GWTDOMIAN starts an embedded JVM and runs a BTM delegate observer to monitor bidirectional calls between WTC and itself. The Type for this container is "DELEGATE" and the address for this container is always "delegate://<Tuxedo host address>:11/"
Figure 4‑2 Delegate Container
All Tuxedo endpoints with the same base address belong to a same Tuxedo container. The address for this container is the endpoint's base address and the Type for this container is "TUXEDO/<Tuxedo version number>".
Figure 4‑3 Tuxedo Container
Dependency
For a service call through WTC and Tuxedo, no matter it is inbound or outbound call from Tuxedo, two services are defined in a BTM transaction to represent Tuxedo and WTC respectively.
The dependency between Tuxedo service and WTC service can be viewed in BTM console.
Figure 4‑4 Service Map
BTM Transaction for Tuxedo Operation
By use of the ECID (Execution Context ID) propagation feature introduced in Weblogic and Tuxedo, you can create the transaction in BTM console using ECID as Instance's message key. With the ECID, you can query the call path inner Tuxedo domain in the TSAM management console when the policy is configured.
All measurements based on the transaction can be shown in BTM console.
Note:
All BTM observers or BTM delegate observers (including the one embedded in GWTDOMAIN) must be located at machines with the same system time.
Following is the steps for creating a BTM Transaction based on Tuxedo operation.
1.
From BTM console, click Create -> Transaction in the up-left corner.
2.
3.
If the dependency is already discovered by BTM, the related operations are automatically added in the transaction. Otherwise, you need to manually add the operations you want to monitor in this transaction.
4.
Select Start message and End message.
5.
Click the Logging tab. Enable the instance and message logging. This step is required only if you want record every transaction instance.
Figure 4‑5 Enable the Instance and Message Logging
6.
Click the Message Keys tab.
7.
Select requestECID as Start key and End key for all operations.
8.
9.
Note:
Call Path in TSAM Console
When TSAM Plus is registered correctly and LMS server is configured in the Tuxedo domain, each call from the remote WTC monitored by BTM automatically initializes a TSAM call path from GWTDOMAIN. You can get the call path information from TSAM Plus console.
Tuxedo Service in BTM
Table 4‑1 lists the BTM property definitions for the Tuxedo service.
 
Table 4‑2 lists the BTM property definitions for the WTC services.
 
 

Copyright © 1994, 2017, Oracle and/or its affiliates. All rights reserved.