Professional Documents
Culture Documents
7/19/2011
Introduction
Abstract:
Objectives
1. Experiences of Configuring the Omnibus Gateway for
TSRM
2. TSRM / Maximo Integration Framework concepts and
configuration
3. Use, troubleshooting and tuning tips.
2
7/19/2011
Agenda:
Overview
Omnibus Gateway for TSRM configuration
Maximo Integration Framework concepts
Maximo Integration Framework configuration
Performance Tuning Tips
Common problems
Future Enhancements
Questions
7/19/2011
Overview
Facilitates 2-way communication from Omnibus to
TSRM/Maximo
Creating, Updating Tickets from Omnibus into
TSRM
Updates Omnibus with changes made to these
Tickets in TSRM
7/19/2011
Overview
7/19/2011
Gateway Configuration
Listed below are the TSRM specific Properties from the GAT_TSRM.Props
file:
Gate.TSRM.TicketObjectName
Gate.TSRM.TicketObjectType
Gate.TSRM.WorkLogObjectName
Gate.TSRM.URLList
: 'MXINCIDENT
: 'INCIDENT
: 'WORKLOG
: http://tsrm_server/meaweb/os/MXINCIDENT
Gate.TSRM.ThreadPoolSz
: 15
Gate.TSRM.NonApplicationErrorTitles
Gate.TSRM.NonApplicationErrorTitles
user.*'
Gate.TSRM.ErrorCodeFieldName
: 'TSRMErrorCode'
Gate.TAL.NBScriptFileName
: '$OMNIHOME/gates/tsrm/NBScriptFile'
Gate.Java.Arguments
: '-Xmx2048m' (example for debugging: 'Xmx2048m -Xrunhprof:heap=sites,file=/log/hprof.log')
7/19/2011
7/19/2011
7/19/2011
7/19/2011
Object Structures
Common Data Layer for all Inbound and Outbound
processing
Consists of One or more Business objects
Contains a Java definition class for outbound or
inbound processing outside of the standard
operations / actions.
10
7/19/2011
Object Structures
INCIDENT
WORKLOG
11
7/19/2011
Object Structures
12
7/19/2011
Synchronous Integration
Maximo/TSRM supports both Synchronous and
Asynchronous Transactions
Synchronous Transactions are done via Web
Services or directly to the Object Structure HTTP
Servelet
Asynchronous Transactions use a variety of
methods to place messages on a JMS Queue
Once a Synchronous Transaction is processed a
Response is sent to the External System
13
7/19/2011
Operations
Incoming Transactions can have any of the
following operations:
Create
Delete
Invoke
Query
Sync
Update
14
7/19/2011
Operations
The following Operations are used by the Gateway
Create: This will create a record and will fail if a
matching record already exists
Update: This will updated a pre-existing record and fail
if there is no matching record
Query: Will return a response based on a SQL where
clause in the incoming message
15
7/19/2011
16
7/19/2011
17
7/19/2011
18
7/19/2011
19
7/19/2011
Gateway Triggers
In order to pick up the TTState changes a FILTER WITH:
LogTicket=1 and TTState=1' will need to be set.
This is different to the default one of LogTicket=1.
This is not the Default setting as TTState was originally meant for the
Resync Functionality, it now has additional use preventing unneccessary
updates being sent to TSRM.
By default we set the TTState to 1 when any operation occurs on the alert.
AFTER IDUC we set TTState=0 - this means we have seen the update.
So if in the next IDUC no one changes the Alert we will not process it given
the above filter
20
7/19/2011
21
7/19/2011
22
7/19/2011
Limitations
This solution does not cover a situation where the following
severity changes have occurred 3->4->3 in a single iduc cycle.
In this case the gateway will assume the alert has changed and
send it over to TSRM.
Therefore the intermediate updates are of no interest. In that case
we can check if the ticket number is not populated in order to
create the ticket and check that the severity is 0 in order to send
the clear update. This could reduce the load on TSRM. So in this
case we would have the following if clause in the trigger:
if ((new.Severity=0 or new.TTNumber='') and new.LogTicket=1)
23
7/19/2011
24
7/19/2011
INCIDENT.CLASS
INCIDENT.CHANGEDATE
INCIDENT.DESCRIPTION
INCIDENT.REPORTEDBY
INCIDENT.REPORTEDPRIORITY
INCIDENT.EXTERNALRECID
INCIDENT.EXTERNALSYSTEM_TICKETID
INCIDENT.STATUS
WORKLOG.CLASS*
WORKLOG.CREATEDATE*
WORKLOG.DESCRIPTION*
WORKLOG.DESCRIPTION_LONGDESCRIPTION*
25
7/19/2011
26
7/19/2011
27
7/19/2011
Troubleshooting
Logging in TSRM
In the Logging Application set the following two
loggers
log4j.logger.maximo.sql to INFO
log4j.logger.maximo.integration to DEBUG
If possible set these to log to a separate File Appender
28
7/19/2011
Common Problems
Multiple Tickets created in TSRM for a single Alert
in the Gateway.
This would suggest that the Gateway has not
received or processed the Response from TSRM
when the Create Message was received. Potential
causes if SSL is used in TSRM but has not been
configured on the Gateway then the response
could not be interpreted.
29
7/19/2011
30
7/19/2011
Future Enhancements
TSRM is able to send outbound messages when an Event
occurs on a given record.
The Gateway will in a future release be able to receive
updates from TSRM when a change to a Ticket it owns has
been done by a user.
Publish Channels in TSRM are used to configure and control
these outbound messages.
Rules can be configured to only send data to the Gateway
regarding Tickets created By the Gateway.
Also only certain updates on this Tickets could be sent i.e.
only send a message to the GW when the Status of the
Ticket changes.
31
7/19/2011
Thanks and . . . . .
Any Questions?
32
7/19/2011