16 IBM Tivoli Netcool Service Quality Manager Data Mediation Gateway Development
to Service Quality Manager. The gateway configuration files are installed in the
config sub-directory of $GATEWAY_ROOT.
More details about the IBM Tivoli Netcool Performance Manager for Wireless
product can be found at the following URL:
http://www-01.ibm.com/software/tivoli/products/netcool-performance-mgr-
wireless/
Technology Packs are discussed at the following URL:
http://www-01.ibm.com/software/tivoli/products/netcool-performance-mgr-
wireless-techpacks/
2.1.2 Gateway operation
The gateway is invoked using the script gateway_start.sh from the vstart
directory in Gateway Framework. The vendor gateway configuration is provided
as the relevant vendor, sub-system, and version arguments to this script. The
vendor, sub-system, and version arguments are used to qualify the directory in
the {GATEWAY_ROOT}/config directory.
The overall operation of a gateway executable is shown in Figure 2-2. It provides
details about the processing of the gateway.
Figure 2-2 Gateway processing characteristics
The gateway requires a specific version of the Perl modules. The version that we
use requires Perl 5.6.1. You can find instructions for using Perl in your platform at
the following URL:
http://www-01.ibm.com/support/docview.wss?uid=swg27011991
Gateway process
Perl 5.6.1
gateway-framework/perl_extensions/lib/site_perl/5.6.1
TransferConfig.pm EngineConfig.pm UserConfig.pm TransferConfig.pm
Transfer
inbound
Parser engine Post parser
Transfer
outbound
IN_DIR
INT_DIR
(PIF)
OUT_DIR
input output
local input
Chapter 2. Gateway concepts and processing 17
The next section goes through each stage and module of the data mediation
process for the gateway process. Note that we use the terminology IN_DIR,
INT_DIR, and OUT_DIR as variables that are specified from the gateway
properties file.
Inbound transfer
Depending on whether the data extraction is push or pull, as explained in
“Extract” on page 7, this optional stage enables the configuration of the transfer
of data from the source. It supports the SFTP, SCP, FTP, RCP, and local CP
(copy) file transfer mechanisms. The transfer rule allows the configuration of
multiple instances, so extraction of files from different source locations are
possible. However, these rules are executed in sequence, not in parallel.
Configuration of this stage is optional when data is pushed to the gateway or
provided by another external tool. The configuration file for this stage is in
TransferConfig.pm.
Parser engine
In this stage, the engine parses the raw data source file, which could be either in
a vendor specific data format, or a third-party data format, to produce the data in
Parser Intermediate Format (PIF). It picks up the raw data source file from
IN_DIR, and temporarily stores it as a PIF file in INT_DIR.
The parser engine executes based on a specific vendor specific engine rule.
Each vendor gateway provides its own configuration module. For example, to
parse Nokia NSS format data, the NOKIA_XML engine rule is used. Another rule
uses the CSV_GATEWAY that we use for parsing Motorola GPRS CSV format
data. The configuration file for this stage is in EngineConfig.pm.
Post parser
The post parser stage further processes the data through multiple standard and
vendor specific post parser rules, transforming data into the final desired output
format for successful loading that conforms to the system requirements.
There are several transformation functions possible in this stage. These rules are
implemented in the gateway framework, so it is available for all vendors. The
following are some of the common rules:
򐂰 Joining different PIF files using the JOIN rule.
򐂰 Accumulate.
򐂰 CVAL_MANIP.
򐂰 INFOINSERT.
򐂰 Removing entire data records with the DATALINE_WHERE rule.

Get IBM Tivoli Netcool Service Quality Manager Data Mediation Gateway Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.