Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Version 4.0
Reference Guide
November 8, 2013
SC27-2703-07
Reference Guide
November 8, 2013
SC27-2703-07
Note
Before using this information and the product it supports, read the information in Notices and Trademarks, on page 51.
Edition notice
This edition (SC27-2703-07) applies to version 4.0 of IBM Tivoli Netcool/OMNIbus Gateway for TSRM and to all
subsequent releases and modifications until otherwise indicated in new editions.
This edition replaces SC27-2703-06.
Copyright IBM Corporation 2009, 2013.
US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract
with IBM Corp.
Contents
About this guide . . . . . . . . . . . v
Document control page . . . . . . . . . . . v
Conventions used in this guide . . . . . . . vii
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 1
. 3
. 4
. 5
. 6
. 6
. 9
. 10
. 10
. 10
. 11
. 26
. 29
. 30
. 31
. 36
. 36
37
38
39
40
42
42
43
43
44
45
46
46
49
49
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 51
. 53
iii
iv
Publication
date
Comments
SC27-2703-00
SC27-2703-01
June 4, 2010
Publication
date
Comments
SC27-2703-02
February 25,
2011
vi
SC27-2703-03
SC27-2703-04
March 2, 2012
Publication
date
Comments
SC27-2703-05
September 30,
2012
SC27-2703-06
November 30 ,
2012
SC27-2703-07
November 8,
2013
vii
Operating system
AIX systems
aix5
hpux11
hpux11hpia
linux2x86
viii
linux2s390
Solaris systems
solaris2
Windows systems
win32
Summary
Each gateway works in a different way to provide an interface with the
ObjectServer. Use this summary information to learn about the Gateway for TSRM.
The following table provides a summary of the gateway:
Table 3. Summary
Gateway target
omnibus-arch-gateway-nco_g_tsrm-version
Package version
4.0
Gateway supported on
$OMNIHOME/etc/NCO_GATE.props
$OMNIHOME/gates/tsrm/tsrm.map
$OMNIHOME/gates/tsrm/tsrm.script
$OMNIHOME/gates/tsrm/tools.sql
$OMNIHOME/gates/tsrm/tsrm.rdrwtr.tblrep.def
$OMNIHOME/gates/tsrm/create.xml.template
$OMNIHOME/gates/tsrm/journal.xml.template
$OMNIHOME/gates/tsrm/query.xml.template
$OMNIHOME/gates/tsrm/update.xml.template
Additional binaries
nco_g_tsrm.jar
Requirements
Available
For information about configuring multicultural support,
including language options, see the IBM Tivoli
Netcool/OMNIbus Installation and Deployment Guide.
Note: Installations of the gateway on Windows operating
systems do not support UTF-8 character encoding. For
some languages, such as Traditional Chinese, the gateway
is therefore unable to correctly pass events from the
ObjectServer to TSRM. UTF-8 character encoding is
available for installations of the gateway on UNIX and
Linux operating systems.
Federal Information
Processing Standards (FIPS)
Overview
IBM Tivoli Service Request Manager (TSRM) is an incident management system.
TSRM can function as a service desk for both internal IT assets and internal non-IT
assets (such as facilities or fleet). TSRM helps to improve IT performance by
providing automation of processes and better visibility of service support
functions, commitments, and measurements.
The Gateway for TSRM is a bidirectional gateway that allows you to create,
update, and close tickets (either incidents or service requests) in TSRM, using XML
over HTTP. The gateway allows you to create and maintain TSRM tickets from
Netcool/OMNIbus events, either manually (using a TSRM user interface within
Netcool/OMNIbus) or automatically (using scripts). There is a one-to-one mapping
between a single Netcool/OMNIbus event and a single TSRM ticket.
The gateway supports the following functions:
v Flexible filtering that allows you to specify which event details are sent from
Netcool/OMNIbus to TSRM.
v Mapping of Netcool/OMNIbus alerts.status fields to any fields in the TSRM
schema.
v Assignment of literal values (for example, varchar, int, date) to specified fields in
the TSRM schema.
v Conversion of data types.
v Failover between Netcool/OMNIbus and TSRM.
v Failback between Netcool/OMNIbus and TSRM can be configured using the
Gate.RdrWtr.FailbackEnabled property.
v Sub-object structures within TSRM.
v Reporting within Netcool/OMNIbus of TSRM operation failures.
v Separate URLs for creating new incidents and updating existing incidents.
v Mapping of Netcool/OMNIbus severities to any TSRM priorities, for more
information see Mapping attributes on page 27
v Closing tickets in TSRM when the associated event in Netcool/OMNIbus is
deleted can be configured by specifying the Gate.TSRM.CloseOnDeleteList
property.
v Creation of journal entries, for more information see Configuring TSRM to
receive journal entries from Netcool/OMNIbus events on page 37.
IBM Tivoli Netcool/OMNIbus Gateway for TSRM
To facilitate bidirectional operation, the gateway uses IBM Tivoli Maximo and the
Ticket Abstraction Layer (TAL) library. Maximo provides the integration framework
required to integrate TSRM with external applications. In the context of this
integration, the gateway is regarded as an external application. The TAL library is
supplied as a separate patch. It provides the infrastructure required to generate
TSRM tickets from Netcool/OMNIbus events and to exchange ticket data with
TSRM.
Note: Not all fields have bidirectional data flow enabled by default. You can add
bidirectional support to additional fields, for more information see Mapping
attributes on page 27 and Sending data from TSRM to the ObjectServer on page
29.
Note: The gateway can generate either incidents or service requests, but not both.
If you want to create both incidents and service requests from Netcool/OMINbus
events, you must run two instances of the gateway. The bidirectional transfer of
journals is not currently supported. Journal entries within the ObjectServer are
created in TSRM as work log entries, but work log entries are not forwarded from
TSRM to the ObjectServer as journals.
The gateway can create a TSRM ticket from an event in the Netcool/OMNIbus
Event List by mapping fields in the ObjectServer to fields in TSRM.
Once a ticket is created, you can add a journal to the original event in the
ObjectServer. The gateway passes the data to the TSRM where it is converted into
a work log.
If the status of the ticket within TSRM changes, the gateway passes the changed
status back to the ObjectServer.
Before you can use the XML template files, you must add the structure for incident
and work log objects to the TSRM object structure using Maximo. For details of
how to do this, see Configuring TSRM to receive journal entries from
Netcool/OMNIbus events on page 37.
If your implementation of TSRM uses sub-object structures (for example, to
associate one or more assets with a ticket), you can define the sub-object structure
that the gateway must add to incidents created within Netcool/OMNIbus by
customizing the map definition file. This adds the appropriate code to the XML
template files. For details, see Adding sub-object structures on page 28.
1. Download the installation package for the gateway from the Passport
Advantage Online Web site:
http://www-306.ibm.com/software/howtobuy/passportadvantage/
pao_customers.htm
2. Make a backup of any existing configuration files that you want to retain.
3. Extract the contents of the installation package to a temporary directory.
Now use one of the installation methods to install your gateway. In each case, the
gateway is installed in the following directory:
Linux
$NCHOME/omnibus/gates
UNIX
Windows
%NCHOME%\omnibus\gates
UNIX
$NCHOME/omnibus/install/nco_install_integration
%NCHOME%\omnibus\install\nco_install_integration
2. When the installation wizard starts, specify the extracted directory that contains
the README.txt file as the location of the gateway installation files.
3. Accept the license conditions.
Windows
Console mode
To install the gateway in console mode:
1. Run the installer for your operating system:
Linux
UNIX
$NCHOME/omnibus/install/nco_install_integration -i
console
%NCHOME%\omnibus\install\nco_install_integration -i console
2. When the text-based installer starts, specify the extracted directory that contains
the README.txt file as the location of the gateway installation files.
3. Accept the license conditions.
Windows
Silent mode
To install the gateway in silent mode:
1. Create a text file named reponse.txt and add the following entries:
PROBE_OR_GATE_LOCATION=README_directorypath
LICENSE_ACCEPTED=true
%NCHOME%\omnibus\install\nco_install_integration -i silent
-f response_path\response.txt
Windows
Windows
Extract the patch files for the gateway and its dependencies to the
following directory:
%OMNIHOME%
9.
10.
UNIX
Linux
UNIX
Install each patch, in the correct order, by running the
following command:
$OMNIHOME/install/nco_patch -install patch_path
where patch_path is the path to the extracted patch file.
Linux
UNIX
At any point in the installation process, you can see
Note:
what patches have been installed by running the following command:
$OMNIHOME/install/nco_patch -print=id
To install the TAL automations on Windows operating systems, copy the contents
of the following files into the Netcool/OMNIbus Administrator SQL interactive
interface window and click the Execute SQL button:
%OMNIHOME%\gates\tal\tal_automations.sql
%OMNIHOME%\gates\tsrm\tsrm.sql
Note: For information about using the Netcool/OMNIbus Administrator and SQL
interactive interface utility, see the IBM Tivoli Netcool/OMNIbus Administration
Guide.
10
Use the properties file to configure properties and the map definition and table
replication definitions to configure data processing.
Note: You must have write access permissions to the directory where you want to
run the gateway or you will get an error message referring to derby.log or
'FileNotFoundException', for more information see Known issues on page 49.
The following topics describe the configuration files and how to use them:
v Properties file
v Map definition file on page 26
v Table replication definition file on page 30
v Advanced properties on page 31
Properties file
The properties file is a text file that contains a set of properties and their
corresponding values. These properties define the operational environment of the
gateway, such as connection details and the location of the other configuration
files.
Value
MessageLog
$OMNIHOME/log/GAT_TSRM.log
Name
GAT_TSRM
PropsFile
$OMNIHOME/etc/GAT_TSRM.props
11
The following tables describe the properties available with the SNMP Writer
Gateway. For more information about generic and Inter-Process Communication
(IPC) properties and command line options, see the IBM Tivoli Netcool/OMNIbus
Probe and Gateway Guide (SC23-6387).
The following sections describe the properties used to configure the gateway:
v
v
v
v
v
v
v
Description
ConfigCryptoAlg string
-configcryptoalg string
ConfigKeyFile string
-configkeyfile string
Connections integer
-connections integer
Help boolean
-help boolean
MaxLogFileSize integer
-maxlogfilesize integer
12
Description
MessageLevel string
-messagelevel string
MessageLog string
-messagelog string
Name string
-name string
Props.CheckNames boolean
No command line
equivalent.
PropsFile string
-propsfile string
UniqueLog boolean
-uniquelog boolean
Version boolean
-version boolean
13
Description
Gate.CacheHashTblSize
integer
-cachehtblsize integer
Gate.MapFile string
-mapfile string
Gate.NGtkDebug boolean
-ngtkdebug boolean
Gate.PAAware integer
-paaware integer
Gate.PAAwareName string
-paname string
Gate.Transfer.
FailoverSyncRate integer
-fsyncrate integer
Gate.UnixAdminGrp string
-unixadmingrp string
14
Description
Gate.UsePamAuth boolean
-usepamauth boolean
Java properties
Table 6 lists the available Java properties.
Table 6. Java properties
Property name
Description
Gate.Java.Arguments string
-javaarguments string
Gate.Java.ClassPath string
-javaclasspath string
Gate.Java.Debug boolean
-javadebug boolean
Mapping properties
Table 7 lists the available mapping properties.
Table 7. Mapping properties
Property name
Description
Gate.Mapper.Debug boolean
-mapperdebug boolean
15
Description
Gate.RdrWtr.Debug boolean
-debug boolean
Gate.RdrWtr.Description
string
-description string
Gate.RdrWtr.
FailbackEnabled boolean
-readerfailbackenabled
boolean
Gate.RdrWtr.
FailbackTimeout integer
-readerfailbacktimeout
integer
16
Description
Gate.RdrWtr.IducFlushRate
integer
-iducflushrate integer
Gate.RdrWtr.Password string
-password string
Gate.RdrWtr.
ReconnectTimeout integer
-reconntimeout integer
17
Description
Gate.RdrWtr.Server string
-server string
Gate.RdrWtr.
TblReplicateDefFile string
-tblrepdeffile string
Gate.RdrWtr.Username string
-username string
Description
Gate.TAL.ForwardClear
UpdatesOnly boolean
-forwardclearupdates
boolean
Gate.TAL.NBScriptFileName
string
-nbscriptfilename string
18
Description
Gate.TAL.TTFilterClause
string
-ttfilterclause string
Gate.TAL.TTJournal
ChronoFieldName string
-ttjournalchronofieldname
string
Gate.TAL.TTNumber
FieldName string
-ttnumberfieldname string
Gate.TAL.TTStateFieldName
string
-ttstatefieldname string
19
Gateway-specific properties
Table 10 lists the available gateway-specific properties.
Table 10. Gateway-specific properties
Property name
Description
Gate.TSRM.Attribute
TokenSeparator string
-attributetokenseparator
string
Gate.TSRM.
CloseOnDeleteList string
-closeondeletelist string
Gate.TSRM.
CreateTicketTemplate string
-tsrmcreatetickettemplate
string
Gate.TSRM.DateTimeFormat
string
-tsrmdatetimeformat string
20
Description
Gate.TSRM.ErrorCode
FieldName string
-errorcodefieldname string
Gate.TSRM.
FilterRepeatedValues
boolean
-tsrmfilterrepeatedvalues
boolean
Gate.TSRM.
FilterExclusionList string
-tsrmfilterexclusionlist
string
21
Description
Gate.TSRM.JournalTemplate
string
Gate.TSRM.Language string
-tsrmlanguage string
Gate.TSRM.MapObject
StructureSeparator string
-mapobjectstructure
separator string
Gate.TSRM.NonApplication
ErrorTitles string
Gate.TSRM.Optional
UpdateURLList string
-optionalupdurllist string
22
Description
Gate.TSRM.Password string
-tsrmpassword string
Gate.TSRM.PollTime integer
-tsrmpolltime integer
Gate.TSRM.
PollTimeIntervalWindow
integer
-tsrmpolltime
intervalwindow integer
Gate.TSRM.
QueryRetrieveList string
-tsrmqueryretrievelist
string
Gate.TSRM.
QueryTicketTemplate string
-tsrmquerytickettemplate
string
Gate.TSRM.RetryInterval
integer
-tsrmretryinterval integer
23
Description
Gate.TSRM.SocketTimeout
integer
-tsrmsockettimeout integer
Gate.TSRM.SourceName string
-tsrmsourcename string
Gate.TSRM.StatusFieldName
string
Gate.TSRM.ThreadPoolSz
integer
-tsrmthreadpoolsz integer
24
Description
Gate.TSRM.
TicketObjectName string
-tsrmticketobjectname
string
Gate.TSRM.
TicketObjectType string
-tsrmticketobjecttype
string
Gate.TSRM.TimeZone string
-tsrmtzdiff string
Gate.TSRM.
UpdateTicketTemplate string
-tsrmupdatetickettemplate
string
Gate.TSRM.URLList string
-tsrmurllist string
25
Description
Gate.TSRM.UserName string
-tsrmusername string
Gate.TSRM.Version string
-tsrmversion string
Gate.TSRM.
WorkLogObjectName string
-tsrmworklogobjectname
string
Mapping syntax
You can configure the mapping functions of the gateway by using the mapper
attributes.
Mappings for use with the ObjectServer writer must use the following syntax:
26
where:
v mappingname is the name of the mapping to be created.
v dest_fieldname is the name of the field to be written in TSRM.
v src_fieldname is the name of a field in the ObjectServer alerts.status table.
v simple_expression is an integer or a set of integers and operators.
v attribute is an attribute name.
The ON INSERT ONLY command is optional and only applies when setting the value
of variables. It controls the updating of the field during the life of the alert. When
ON INSERT ONLY is included, the field is created once for the alert but is never
updated. When ON INSERT ONLY is omitted, the field is updated for any change in
the state of the alert.
The CONVERT TO type command enables forced conversion for situations where the
data type of a source field may not match the data type of a destination field. The
data type can be INTEGER, STRING, or DATE.
The NOT NULL command indicates that the mapping is only performed if the source
field is not null (it must have a value).
Mapping attributes
You use attribute names to include additional data in mapping definitions.
Mapping attributes and advanced mapping topics are explained in the following
sections:
v
v
v
v
Mapping example
Modifying the default mapping on page 28
Adding sub-object structures on page 28
Sending data from TSRM to the ObjectServer on page 29
Mapping example
The following example shows the mappings for the ObjectServer tables into which
the gateway writes:
CREATE
LOOKUP SeverityTable (
{3 , 3},
{4 , 2},
{5 , 1} )
DEFAULT = 4 ;
CREATE
LOOKUP StatusTable (
{0 , RESOLVED})
DEFAULT = ;
CREATE MAPPING StatusMap
(
CLASS = INCIDENT,
DESCRIPTION = @Node + ":" + @Summary ON INSERT ONLY,
REPORTEDBY = NETCOOL,
REPORTDATE = TO_TIME(@FirstOccurrence) ON INSERT ONLY,
REPORTEDPRIORITY = Lookup(@Severity,SeverityTable),
IBM Tivoli Netcool/OMNIbus Gateway for TSRM
27
Within this map, @TTNumber and @Chrono are used to provide ticket feedback and to
enable failover respectively. They also correspond to, and must be the same as, the
values set for the Gate.TAL.TTNumberFieldName and
Gate.TAL.TTJournalChronoFieldName properties. In most cases you will not need to
change these field names but if you do change them you must also change their
corresponding values in the properties file.
28
Note: The TicketStatus field is the only field enabled for bidirectional operation
by default. For further information on extending the availability of TSRM fields,
see Adding a TSRM field to the list of fields retrieved by the gateway on page
39.
29
You can specify the location of the startup command file using the generic
Netcool/OMNIbus Gate.StartupCmdFile property. The default startup command
file gw_name.startup.cmd is located in the following directory:
$OMNIHOME/gates/gw_name
Where the value for gw_name is found in the configuration files row of the gateway
guide summary table.
The default startup command file contains example commands. You should make a
copy of the default file for future reference.
You can use the following commands within the startup command file:
v GET PROPS | SHOW CONFIG - Use these commands to display the current
configuration of the gateway by listing all properties and their values.
v GET PROPERTY property - Use this command to display the gateway property
value, where property is the property value you wish to query.
v SET PROPERTY prop TO ( string | integer | TRUE | YES | FALSE | NO ); Use this command to specify the value of a gateway property in the properties
file.
v SET LOG LEVEL TO - Use this command to set the level of message logging. This
command can take the following values; FATAL, ERROR, WARNING, INFORMATION
or DEBUG. The default is DEBUG.
These commands can also be entered using the SQL interactive interface (nco_sql).
For more information about using the SQL interactive interface, see the IBM Tivoli
Netcool/OMNIbus Administration Guide.
For more information about the startup command file, see the IBM Tivoli
Netcool/OMNIbus ObjectServer Gateway guide
30
Note: You should use the REPLICATE command to replicate data from the primary
tables (alert.status, alert.journal, alert.details) and dynamic secondary tables
(if required).
You can add one or more optional clauses to the REPLICATE command to further
process the data during replication. The available commands are listed in the
following syntax example. Use the optional clauses in the order in which they are
listed in the syntax. For example, when using both the
FILTER WITH and AFTER IDUC DO clauses, the FILTER WITH clause must precede the
AFTER IDUC DO clause.
REPLICATE ALL | (INSERTS, UPDATES, DELETES)
FROM TABLE sourcetable
USING MAP mapname
[FILTER WITH filter]
[INTO targettable]
[ORDER BY order, ... ]
[AFTER IDUC DO afteriduc] ;
Table 11. Optional replication commands
Command
Description
ORDER BY order
Advanced properties
After configuring the basic property settings required to run the gateway, you
might have to specify some advanced properties to suit your operating
environment.
This section describes the property settings for the following functions:
v Failback on page 32
v Process Agent control on page 32
v Authentication on page 32
v Error handling on page 32
v Creating service requests and incidents on page 33
v Polling TSRM for unread tickets on page 34
IBM Tivoli Netcool/OMNIbus Gateway for TSRM
31
Failback
The failback function comes into operation when the gateway has lost its
connection to the primary ObjectServer and has failed over to the backup
ObjectServer. The backup ObjectServer is configured using the nco_xigen utility.
To enable failback, set the Gate.RdrWtr.FailbackEnabled property to TRUE. When
the reader has detected that it is now connected to a backup ObjectServer, it polls
for the return of the primary ObjectServer with the frequency specified by the
Gate.RdrWtr.FailbackTimeout property. When the primary ObjectServer is detected
again, the reader automatically fails back to the primary ObjectServer.
Authentication
Use the Gate.UsePamAuth property to specify how the gateway authenticates users.
Either standard UNIX authentication or Pluggable Authentication Modules (PAM)
authentication can be used with the Gateway for TSRM. By default, the gateway
uses standard UNIX authentication. To use PAM authentication, set the
Gate.UsePamAuth property to TRUE.
Note: To run the gateway in FIPS 140-2 mode, you must set the Gate.UsePamAuth
property to TRUE.
Error handling
Error reporting is provided by the Netcool/OMNIbus Gateway Toolkit (NGTK)
library. To specify that the NGTK library logs debug messages, set the
Gate.NGtkDebug property to TRUE.
The debug files provide information about errors in the following areas:
v mapper syntax
v ObjectServer communication failure
v invalid column references in the mapper
v attempts to update a field in the ObjectServer that does not exist
v TSRM communication failure
If there is a communication failure with TSRM, the gateway generates a
GatewayWatch message. The gateway then retries the connection to TSRM with the
frequency specified by the Gate.TSRM.RetryInterval property. If the gateway fails
to connect to TSRM after the number of times specified by the
Gate.TSRM.RetryInterval property, the gateway shuts down.
For communication problems with TSRM, the gateway sends a code back to the
ObjectServer to identify the error. The code is sent to the ObjectServer field
32
Value
Gate.TSRM.URLList
http://<targethost>/meaweb/os/MXINCIDENT
Gate.TSRM.TicketObjectName
MXINCIDENT
Gate.TSRM.TicketObjectType
INCIDENT
If you want the gateway to create and maintain TSRM service requests, specify the
following property values:
Property
Value
Gate.TSRM.URLList
http://<targethost>/meaweb/os/MXSR
Gate.TSRM.TicketObjectName
MXSR
33
Property
Value
Gate.TSRM.TicketObjectType
SR
34
Encryption
You can use encryption algorithms (for example, AES or DES) to secure the entries
made in the properties file.
Use the ConfigCryptoAlg property to specify the encryption method and the
ConfigKeyFile property to specify the encryption key data file.
XML templates
The gateway writes Netcool/OMINbus data to TSRM tickets by using predefined
XML templates.
The templates are supplied with the gateway as individual text files and are
specified using the following properties:
v Gate.TSRM.CreateTicketTemplate: the gateway uses this template to create
tickets in TSRM.
v Gate.TSRM.UpdateTicketTemplate: the gateway uses this template to update
TSRM ticket details.
v Gate.TSRM.JournalTemplate: the gateway uses this template to create work logs
in TSRM.
v Gate.TSRM.QueryTicketTemplate: the gateway uses this template to query ticket
details in TSRM.
35
Configuring TSRM
After installing the gateway, you must configure TSRM to run with the gateway.
The following sections explain how to configure TSRM to run with the gateway:
v Configuring TSRM to receive journal entries from Netcool/OMNIbus events
on page 37
v Retrieving additional fields from TSRM on page 38
v Configuring the TSRM event summary field on page 39
36
37
38
where FieldName is the name of the field that you are adding and typ indicates the
data type.
For example, run the following command to add the SLAApplied field to the
ObjectServer:
alter table alerts.status add column SLAApplied int;
go
39
To avoid possible problems with the creation of summary data, you must change
the description attributes of the TICKET, WORKVIEW, and WORKORDER objects
in TSRM. This will enable TSRM to process summary field lengths greater than 100
characters.
40
The gateway for TSRM uses direct HTTP posts to the object structure servelet in
TSRM to log Create, Update and Query incidents.
The Query response will be larger than necessary if you use the standard
MXINCIDENT object structure and configuration from Configuring TSRM to
receive journal entries from Netcool/OMNIbus events on page 37 because you
add the WORKLOG object to the MXINCIDENT object structure to enable the
journaling feature to work.
To enable the gateway for TSRM to receive the information it requires only, you
must create a new object structure and the configure the gateway to send
information to the HTTP servelet this creates.
The Gateway requires the following attributes to be sent to or received from TSRM
on the INCIDENT object:
v CHANGEDATE
v CLASS
v DESCRIPTION
v EXTERNALSYSTEM
v EXTERNALSYSTEM_TICKETID
v REPORTEDBY
v REPORTDATE
v REPORTEDPRIORITY
v STATUS
The gateway requires the following attributes for the create incident:
v CLASS
v CREATEDATE
v DESCRIPTION
v DESCRIPTION_LONGDESCRIPTION
To create the new object structure use the following example:
1. Login to TSRM and select: Integrations > Object Structures > New Object
Structure
2. Specify the following fields in the new object structure:
v Object Structure: OMNIINCIDENT
v Consumed By: INTEGRATION
3. Select New Row and specify Object: INCIDENT
4. Select New Row and specify the following:
v Object: WORKLOG
v Parent Object: INCIDENT
v Relationship: MODIFYWORKLOG
5. Click Save
6. Now you exclude the attributes you do not want to use. Click Select Action >
Exclude/Include Fields
7. Select the Incident Object and exclude all attributes except:
v CHANGEDATE
v CLASS
v DESCRIPTION
IBM Tivoli Netcool/OMNIbus Gateway for TSRM
41
v
v
v
v
v
8.
9.
10.
11.
12.
EXTERNALSYSTEM
EXTERNALSYSTEM_TICKETID
REPORTEDBY
REPORTDATE
REPORTEDPRIORITY
v STATUS
Select the WORKLOG object and exclude all attributes except:
v CLASS
v CREATEDATE
v DESCRIPTION
Select the Non-Persistent Field tab with WORKLOG still highlighted and
include the DESCRIPTION_LONGDESCRIPTION attribute.
Click OK then Save
Specify the following properties in the gateway properties file to configure
TSRM gateway to use this new servelet:
v Gate.TSRM.URLList : http://<servername>/meaweb/os/OMNIINCIDENT'
v Gate.TSRM.TicketObjectName : 'OMNIINCIDENT'
Restart the gateway.
Configuring Netcool/OMNIbus
After installing the gateway, you must configure Netcool/OMNIbus to run with
the gateway.
The following sections explain how to configure Netcool/OMNIbus to run with
the gateway:
v Configuring log ticketing functions in Netcool/OMNIbus on page 43
v Configuring the Netcool/OMNIbus Event List to use the launch-in-context
tool on page 43
42
10. In the SQL window, enter the following command from tools.sql:
update alerts.status set LogTicket=1 where Serial in
($selected_rows.Serial); flush iduc;
Note: The tools.sql file is supplied with the gateway installation package.
To add the tool to a menu, use the following steps:
1. Select Menus > AlertsMenu > <expand> > &Tools.
2. Right-click on &Tools.
3. Select Add Menu Item.
4. Enter the following field values:
Field
Value
Menu Item
Type Tool
Tool
Log Ticket
Title
Log Ticket
5. Select OK.
43
Adding the tool to the list that appear on the pop-up menu in the
Netcool/OMNIbus event list
To add the tool to the list that appears on the pop-up menu in the
Netcool/OMNIbus event list, use the following steps:
1. Log on to Netcool/OMNIbus Web GUI as an administrator.
2. Select Administration > Event Management Tools > Menu Configuration.
3. Select Alerts > Modify
Netcool/OMNIbus Web GUI displays the Menus Editor dialog box.
4. Right click on the selected event and select ViewTicket from available items.
5. Select the right-arrow button to add ViewTicket to the Current Items list.
6. Select Save.
44
To start the gateway on UNIX and Linux operating systems, run the following
command:
$OMNIHOME/bin/nco_g_tsrm -propsfile $OMNIHOME/etc/GAT_TSRM.props
To start the gateway as a process on Windows operating systems, run the
following command:
%OMNIHOME%\bin\nco_g_tsrm.exe -propsfile %OMNIHOME%\etc\GAT_TSRM.props
To start the gateway as a service on Windows operating systems, use the following
steps:
1. Run the ObjectServer as a service.
2. Register the gateway with the Service Control Manager.
3. If the gateway and the ObjectServer are running on the same host, run the
following command: %OMNIHOME%\bin\nco_g_tsrm.exe -install -depend
NCOObjectServer.
4. If the gateway and the ObjectServer are running on different hosts, run the
following command: %OMNIHOME%\bin\nco_g_tsrm.exe -install.
5. Start the gateway using the Microsoft Services Management Console.
45
Error messages
Error messages provide information about problems that have occurred during the
operation of the gateway. You can use the information that they contain to resolve
such problems.
The following table describes the error messages that the Gateway for TSRM
generates.
Table 12. Error messages
Error
Description
46
Action
Verify that the properties file
has correct permissions and
check the values set in the
properties file.
(continued)
Error
Description
Action
The Gate.TSRM.CloseOn
DeleteList property is
incorrectly specified.
Error processing
northbound script
error_message
EXTERNALSYSTEM_TICKETID
does not contain the
netcool alert keys !!
47
(continued)
Error
Description
Action
The exception_message
included in the error message
indicates the possible cause of
the error.
The most common of several
possible causes is that the
Gate.TAL.NBScriptFileName
property is not pointing to a
valid file. The default value of
the property is
$OMNIHOME/gates/tsrm/
tsrm.script.
Note: Specifying an empty
value for this property causes
the gateway to operate in
unidirectional mode.
48
A gateway-TSRM operation
has failed. The server_name
and server_serial_number
indicate which alert the error
applies to.
Error code 1 indicates that the
error is a connectivity issue.
Errors with error code 1 are
transient and the operation
can be retried.
Error code 2 indicates an
error where the operation
cannot be repeated (such as
invalid values for fields).
The exception_message
included in the error message
gives the description of the
error.
If the error code indicates a
type 2 error, examine the
tsrm.map file and verify that
the correct values are being
sent to the TSRM server.
It might also be the case that
some errors are transient but
do not result in a network
exception being thrown (such
as the shutting down of the
Maximo application in
Websphere). This can be dealt
with by using the
Gate.TSRM.NonApplication
ErrorTitles property to
specify a comma-delimited
list of application error titles
(sent by TSRM) that the
gateway should interpret as
connection errors. Errors in
this list are treated as type 1
errors and the operation is
retried.
(continued)
Error
Description
Action
GatewayWatch messages
GatewayWatch messages provide information about how the gateway is running.
The following table describes the GatewayWatch messages that the Gateway for
TSRM generates.
Table 13. GatewayWatch messages
GatewayWatch message
Description
Cause
Known issues
This section describes some known issues with the TSRM gateway.
49
at com.ibm.tivoli.netcool.integrations.tsrm.
TSRMNotificationProcessor.call_maximo_based_polling
Debug: D-ETC-004-051: THREAD MGR: thread _NGtkTransferRequestThread
(0x468248) stopped
50
Notices
This information was developed for products and services offered in the U.S.A.
IBM may not offer the products, services, or features discussed in this document in
other countries. Consult your local IBM representative for information on the
products and services currently available in your area. Any reference to an IBM
product, program, or service is not intended to state or imply that only that IBM
product, program, or service may be used. Any functionally equivalent product,
program, or service that does not infringe any IBM intellectual property right may
be used instead. However, it is the user's responsibility to evaluate and verify the
operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter
described in this document. The furnishing of this document does not grant you
any license to these patents. You can send license inquiries, in writing, to:
IBM Director of Licensing
IBM Corporation
North Castle Drive
Armonk, NY 10504-1785
U.S.A.
For license inquiries regarding double-byte (DBCS) information, contact the IBM
Intellectual Property Department in your country or send inquiries, in writing, to:
IBM World Trade Asia Corporation
Licensing 2-31 Roppongi 3-chome, Minato-ku
Tokyo 106-0032, Japan
The following paragraph does not apply to the United Kingdom or any other
country where such provisions are inconsistent with local law:
INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS
PUBLICATION AS IS WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS
FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or
implied warranties in certain transactions, therefore, this statement may not apply
to you.
This information could include technical inaccuracies or typographical errors.
Changes are periodically made to the information herein; these changes will be
incorporated in new editions of the publication. IBM may make improvements
and/or changes in the product(s) and/or the program(s) described in this
publication at any time without notice.
51
Any references in this information to non-IBM Web sites are provided for
convenience only and do not in any manner serve as an endorsement of those Web
sites. The materials at those Web sites are not part of the materials for this IBM
product and use of those Web sites is at your own risk.
IBM may use or distribute any of the information you supply in any way it
believes appropriate without incurring any obligation to you.
Licensees of this program who wish to have information about it for the purpose
of enabling: (i) the exchange of information between independently created
programs and other programs (including this one) and (ii) the mutual use of the
information which has been exchanged, should contact:
IBM Corporation
Software Interoperability Coordinator, Department 49XA
3605 Highway 52 N
Rochester, MN 55901
U.S.A.
Such information may be available, subject to appropriate terms and conditions,
including in some cases, payment of a fee.
The licensed program described in this information and all licensed material
available for it are provided by IBM under terms of the IBM Customer Agreement,
IBM International Program License Agreement, or any equivalent agreement
between us.
Any performance data contained herein was determined in a controlled
environment. Therefore, the results obtained in other operating environments may
vary significantly. Some measurements may have been made on development-level
systems and there is no guarantee that these measurements will be the same on
generally available systems. Furthermore, some measurements may have been
estimated through extrapolation. Actual results may vary. Users of this document
should verify the applicable data for their specific environment.
Information concerning non-IBM products was obtained from the suppliers of
those products, their published announcements or other publicly available sources.
IBM has not tested those products and cannot confirm the accuracy of
performance, compatibility or any other claims related to non-IBM products.
Questions on the capabilities of non-IBM products should be addressed to the
suppliers of those products.
All statements regarding IBM's future direction or intent are subject to change or
withdrawal without notice, and represent goals and objectives only.
All IBM prices shown are IBM's suggested retail prices, are current and are subject
to change without notice. Dealer prices may vary.
This information is for planning purposes only. The information herein is subject to
change before the products described become available.
This information contains examples of data and reports used in daily business
operations. To illustrate them as completely as possible, the examples include the
names of individuals, companies, brands, and products. All of these names are
fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.
52
COPYRIGHT LICENSE:
This information contains sample application programs in source language, which
illustrate programming techniques on various operating platforms. You may copy,
modify, and distribute these sample programs in any form without payment to
IBM, for the purposes of developing, using, marketing or distributing application
programs conforming to the application programming interface for the operating
platform for which the sample programs are written. These examples have not
been thoroughly tested under all conditions. IBM, therefore, cannot guarantee or
imply reliability, serviceability, or function of these programs.
Each copy or any portion of these sample programs or any derivative work, must
include a copyright notice as follows:
(your company name) (year). Portions of this code are derived from IBM Corp.
Sample Programs. Copyright IBM Corp. _enter the year or years_. All rights
reserved.
If you are viewing this information softcopy, the photographs and color
illustrations may not appear.
Trademarks
IBM, the IBM logo, ibm.com, AIX, Tivoli, zSeries, and Netcool are trademarks of
International Business Machines Corporation in the United States, other countries,
or both.
Adobe, Acrobat, Portable Document Format (PDF), PostScript, and all Adobe-based
trademarks are either registered trademarks or trademarks of Adobe Systems
Incorporated in the United States, other countries, or both.
Intel, Intel Inside (logos), MMX, and Pentium are trademarks of Intel Corporation
in the United States, other countries, or both.
Microsoft, Windows, Windows NT, and the Windows logo are trademarks of
Microsoft Corporation in the United States, other countries, or both.
Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the
United States, other countries, or both.
Linux is a trademark of Linus Torvalds in the United States, other countries, or
both.
UNIX is a registered trademark of The Open Group in the United States and other
countries.
53
54
Printed in USA
SC27-2703-07