![]() |
![]() |
|
|
Configuring BEA eLink TCP for Tuxedo
The following configuration files must be set up prior to running BEA eLink for Mainframe TCP for Tuxedo (hereafter referenced as eLink TCP for Tuxedo):
This document explains the following tasks for configuring eLink TCP for Tuxedo:
Updating the BEA Tuxedo UBBCONFIG File
As with any Tuxedo server, you must establish a server group for eLink TCP for Tuxedo by adding entries for eLink TCP for Tuxedo gateway in the UBBCONFIG file for the local region. Specifically, you must add records to:
See the BEA Tuxedo Administrator's Guide for more information about the UBBCONFIG file. For information about the UBBCONFIG file specific to the gateway, refer to the Updating the GROUPS Section to Establish a Server Group and Updating the SERVERS Section sections.
Note: Lines beginning with an asterisk (*) indicate the beginning of a specification section. Each such line contains the name of the section immediately following the *. The asterisk is required when specifying a section name.
Updating the GROUPS Section to Establish a Server Group
To establish a server group for eLink TCP for Tuxedo, you must add the following items to the GROUPS section of the BEA Tuxedo UBBCONFIG file:
Note: For Windows NT, the LMID must be in uppercase
Syntax
The syntax of the configuration file entry is as follows.
Listing 5-1 Syntax for GROUPS Section of UBBCONFIG File
groupname LMID=logical_machine_identifier
GROUPNO=group_number
The variable definitions follow.
Example
Here is an example of a UBBCONFIG entry that establishes a server group.
Listing 5-2 Establishing a Server Group
NODE2GATE LMID=NODE2
GROUPNO=1
Updating the SERVERS Section
This section explains how to specify eLink TCP for Tuxedo servers in the BEA Tuxedo configuration.
The eLink TCP for Tuxedo product provides the gateway you need to list in the SERVERS section of the BEA Tuxedo UBBCONFIG configuration file.
For each eLink TCP for Tuxedo server group, you can specify one gateway. There must also be entries for domain administration (DMADM) and gateway administration (GWADM) servers.
Syntax
The syntax of each configuration file entry is as follows.
Listing 5-3 Syntax for SERVER Section of UBBCONFIG File
DMADM SVRGRP=groupname SRVID=integer
GWADM SVRGRP=groupname SRVID=integer
GWIDOMAIN SVRGRP=groupname SRVID=integer
CLOPT="-A -- -e<type> -r"
The following table describes the parts of the syntax.
For more information about BEA Tuxedo servers and related configuration parameters, see the BEA Tuxedo Administrator's Guide.
Using the Request Logging Option
Output from the -r command line option should be capable of being processed by txrpt command. The txrpt command analyzes the standard error output of a BEA Tuxedo server and provides a summary of service processing time within the server. The report shows the number of times each service was dispatched and the average amount of time it took for each service to process a request during the specified period. txrpt takes its input from the standard input or from a standard error file redirected as input.
Note: The process of gathering statistics creates overhead. Use this option selectively.
Other Options for Configuring Servers
As with other Tuxedo servers, you can use some of BEA Tuxedo system server boot options with eLink TCP for Tuxedo servers. Boot options must be specified with CLOPT parameter (before the CLOPT double-dash separator).
Note: Because eLink TCP for Tuxedo dynamically advertises services that are listed in its initialization file, you should not advertise services by using the -s option.
For more information about these and other boot options, see servopts(5) in the BEA Tuxedo Administrator's Guide.
Specifying Parameters in the GWICONFIG File
The GWICONFIG file is the mechanism that system administrators use to configure eLink TCP for Tuxedo. The particular file the gateway uses is determined by the environment variable GWICONFIG. The configuration file is similar to the Tuxedo Transaction Manager UBBCONFIG file, both in structure and in composition. This makes it possible for experienced BEA Tuxedo administrators to configure eLink TCP for Tuxedo without extensive training.
Note: GWICONFIG is a generic filename. You are free to choose other filenames just as with the Tuxedo UBBCONFIG file and DMCONFIG file. Be sure that the name of the GWICONFIG file is specified in the GWICONFIG environment variable. Also, the GWICONFIG file should be saved to the application directory.
The GWICONFIG file is divided into the following required sections:
Warning: The GWICONFIG file must contain the required sections in the order shown in Listing 5-4. Each section requires the asterisk (*) in the name.
Listing 5-4 Sample GWICONFIG File
*GLOBAL
NWDEVICE="/dev/tcp"
CONNECT_TIME=20
OUTREQ_TIME=20
LATENCY=-2
SECURE=N
MULTIPLEX=2
DFLTWRAP="TPS"
DFLTTYPE="MVS"
*NATIVE
LOCAL IPADDR="//beasun2"
TCP_PORT=9002
IDLE_TIME=20
*FOREIGN
RIGHTY WRAP="TPS"
TYPE="MVS"
IPADDR="//beasun2"
TCP_PORT=9004
MULTIPLEX=2
IDLE_TIME=30
RMTACCT="zeke"
PASSWORD="maple"
MIKE WRAP="TPS"
TYPE="MVS"
IPADDR="//dalvs3"
TCP_PORT=9001
MULTIPLEX=6
*LOCAL_SERVICES
TUXTOUPPER
ECHO
*REMOTE_SERVICES
TUXTOLOWER
OUTREQ_TIME=20
BEASVR07
OUTRECTYPE="VIEW:weird"
TST1V
Note: Changes to the GWCONFIG file must be made when upgrading from previous releases of eLink TCP. See the eLink for Mainframe TCP Release Notes for specific upgrade information.
Defining the GLOBAL Section of the GWICONFIG File
The following sections describe parameters that are associated with the GLOBAL section of the GWICONFIG file. These parameters describe global characteristics for the gateway.
The format of the GLOBAL section of the GWICONFIG file is shown in the following listing.
Listing 5-5 Syntax for GLOBAL Section of GWICONFIG File
[ # A comment (from "#" to end of line)]
*GLOBAL
[ NWDEVICE=TCP_device ]
[ CONNECT_TIME=n]
[ IDLE_TIME=n]
[ OUTREQ_TIME=n]
[ LATENCY=n|1 ]
[ SECURE=Y|N ]
[ MULTIPLEX=n|1 ]
[ DFLTWRAP=wrapper name ]
[ DFLTTYPE=translation type ]
The following table describes the parameters that are set in the GLOBAL section.
Defining the NATIVE Section of the GWICONFIG File
The following sections describe parameters that are associated with the NATIVE section of the GWICONFIG file. These parameters are specific to the local system. You can specify multiple native systems in the same configuration file allowing multiple gateway processes to access the same configuration file. This makes a single repository of connectivity services. The link between the gateway process and the native system entry is made through the GWINAME environment variable.
The format of the NATIVE section of the GWICONFIG file is illustrated in the following listing.
Listing 5-6 Syntax for NATIVE Section of GWICONFIG File
[ # A comment (from "#" to end of line)]
*NATIVE
<GATEWAY_NAME>
[ IPADDR=ip_address ]
[ TCP_PORT=port number ]
[ IDLE_TIME=n]
[ MULTIPLEX=n]
[ POLL_TIME=n]
[ MAXCONNECT=n]
The following table describes for each local system that are specified in the NATIVE section.
Defining the FOREIGN Section of the GWICONFIG File
The FOREIGN section of the GWICONFIG file contains parameters that collectively describe foreign systems.
The format of the FOREIGN section of the GWICONFIG file is illustrated in the following listing.
Listing 5-7 Syntax for FOREIGN Section of GWICONFIG File
[ # A comment (from "#" to end of line)]
*FOREIGN
<SYSTEM_NAME>
IPADDR=ip_address
[TYPE=system_type]
[WRAP=wrapper name]
[TCP_PORT=port number]
[MULTIPLEX=n sessions]
[IDLE_TIME=n seconds]
[RMTACCT="userid"]
[PASSWORD="password"]
[CICS=Y | N]
[CICSHAND=<name>]
[MAXCONNECT=n]
[CONNSYNC=Y|N]
[CONNECT_TIME=n]
[CICSDATA="string"]
The following table describes the parameters that are set for the each foreign system that you specify in the FOREIGN section.
The following table describes the parameters that are specified in the FOREIGN section.
Defining the LOCAL_SERVICES Section of the GWICONFIG File
The LOCAL_SERVICES section of the GWICONFIG file contains parameters for each local service specified in the DMCONFIG file. Each service entry name matches the remote name of the service in the DM_LOCAL_SERVICES section.
The format of the LOCAL_SERVICES section of the GWICONFIG file is illustrated in the following listing.
Listing 5-8 Syntax for LOCAL_SERVICES Section of GWICONFIG File
[ # A comment (from "#" to end of line)]
*LOCAL_SERVICES
<SERVICE_NAME>
[INRECTYPE="foreign_incoming_buffer_type"]
[OUTRECTYPE="foreign_outgoing_buffer_type"]
[SECURE=Y | N]
[CONV=Y | N]
The following section describes the parameters set for each service you specify in the LOCAL_SERVICES section.
Table 5-5 Parameters for LOCAL_SERVICES Section
Defining the REMOTE_SERVICES Section of the GWICONFIG File The REMOTE_SERVICES section of the GWICONFIG file contains parameters for each remote service specified in the DMCONFIG file. Each service entry name matches the remote name of the service in the DM_REMOTE_SERVICES section. The format of the REMOTE_SERVICES section of the GWICONFIG file is illustrated in the following listing. Listing 5-9 Syntax for REMOTE_SERVICES Section of GWICONFIG File The following table describes the parameters set for each service you specify in the REMOTE_SERVICES section. Table 5-6 Parameters for REMOTE_SERVICES section
[ # A comment (from "#" to end of line)]
*REMOTE_SERVICES
<SERVICE_NAME>
[INRECTYPE="foreign_outgoing_buffer_type"]
[OUTRECTYPE="foreign_incoming_buffer_type"]
[OUTREQ_TIME=n]
[SECURE=Y | N]
[CONV=Y | N]
Defining Domain Configurations in the DMCONFIG File
The domain configuration file (DMCONFIG) is made up of specification sections. Lines beginning with an asterisk (*) indicate the beginning of a specification section. Each such line contains the name of the section immediately following the *. The asterisk is required when specifying a section name. Allowable section names are: DM_LOCAL_DOMAINS, DM_REMOTE_DOMAINS, DM_LOCAL_SERVICES, DM_REMOTE_SERVICES, DM_ROUTING, and DM_ACCESS_CONTROL.
Note: The DM_LOCAL_DOMAINS section must precede the DM_REMOTE_DOMAINS.
The following paragraphs describe the significant parameters within specific sections of the DMCONFIG file that define new gateway configurations.
DM_LOCAL_DOMAINS Section
This section identifies local domains and their associated gateway groups. The section must have an entry for each gateway group (local domain). Each entry specifies the parameters required for the domain gateway processes running in that group.
The format of the DM_LOCAL_DOMAINS section of the DMCONFIG file is illustrated in the following listing.
Listing 5-10 Syntax for DM_LOCAL_DOMAINS Section of DMCONFIG File
LDOM required parameters [optional parameters]
LDOM is an identifier value used to name each local domain and must be unique within a particular configuration. In the description of the DM_LOCAL_SERVICES section, LDOM is the identifier that connects local services with a particular gateway group.
The following table describes the parameters that are set in the DM_LOCAL_SERVICES section.
Table 5-7 Parameters for theDM_LOCAL_SERVICES Section
DM_REMOTE_DOMAINS Section This section identifies the known set of remote domains and their characteristics. The format of the DM_REMOTE_DOMAINS section of the DMCONFIG file is illustrated in the following listing. Listing 5-11 Syntax for DM_REMOTE_DOMAINS Section of DMCONFIG RDOM is an identifier value used to identify each remote domain known to this configuration and must be unique within the configuration. The following table describes the parameters that are set in the DM_REMOTE_DOMAINS section. Table 5-8 Parameters for the DM_REMOTE_DOMAINS section
RDOM required parameters [optional parameters]
DM_ACCESS_CONTROL Section This section is optional in the DMCONFIG file and specifies the access control lists used by local domain. The format of the DM_ACCESS_CONTROL section of the DMCONFIG file is illustrated in the following listing. Listing 5-12 Syntax for DM_ACCESS_CONTROL Section of DMCONFIG ACL_NAME is a name (identifier) used to identify a particular access control list; it must be 15 characters or less in length. Table 5-9 Parameters for DM_ACCESS_CONTROL Section
ACL_NAME required parameters
DM_LOCAL_SERVICES Section This section provides information on the services exported by each local domain. This section is optional and if it is not specified then all local domains defined in the DM_LOCAL_DOMAINS section accept requests to all of the services advertised by the Tuxedo System/Domain application. If this section is defined then it should be used to restrict the set of local services that can be requested from a remote domain. The format of the DM_LOCAL_SERVICES section of the DMCONFIG file is illustrated in the following listing. Listing 5-13 Syntax for DM_LOCAL_SERVICES Section of DMCONFIG File service is the local name (identifier) of the exported service, and it must be 15 characters or fewer in length. This name corresponds to a name advertised by one or more servers running with the local Tuxedo System/Domain application. Notice that exported services inherit the default or special properties specified for the service in an entry in the SERVICES section of the TUXCONFIG file. Some of these parameters are: LOAD, PRIO, AUTOTRAN, ROUTING, BUFTYPE, and TRANTIME. Table 5-10 Parameters for DM_LOCAL_SERVICES section
service [optional parameters]
DM_REMOTE_SERVICES Section This section provides information on services "imported" and available on remote domains. The format of the DM_REMOTE_SERVICES section of the DMCONFIG file is illustrated in the following listing. Listing 5-14 Syntax for DM_REMOTE_SERVICES Section of DMCONFIG service is the name (identifier) used by the local Tuxedo System/Domain application for a particular remote service. Remote services are associated with a particular remote domain. Table 5-11 Parameters for the DM_REMOTE_SERVICES section
service [optional parameters]
DM_ROUTING Section This section is optional in the DMCONFIG file and provides information for data-dependent routing of service requests using FML, VIEW, X_C_TYPE, and X_COMMON typed buffers. The format of the DM_ROUTING section of the DMCONFIG file is illustrated in the following listing. Listing 5-15 Syntax for DM_ROUTING Section of DMCONFIG File CRITERION_NAME is the (identifier) name of the routing entry that was specified on the services entry. CRITERION_NAME must be 15 characters or less in length. Table 5-12 Parameters for DM_ROUTING Section
CRITERION_NAME required parameters
Sample DMCONFIG File Listing 5-16 is a sample DMCONFIG file and must be set up prior to running the eLink TCP for Tuxedo product. For a sample DMCONFIG file that uses alternate data mapping tools, refer to the Configuring BEA eLink TCP for Tuxedo for Data Mapping section. Listing 5-16 Sample DMCONFIG File#
# Copyright (c) 1996 BEA Systems, Inc
# All Rights Reserved
#
# THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF
# BEA Systems, Inc.
# The copyright notice above does not evidence any
# actual or intended publication of such source code.
#
#
*DM_LOCAL_DOMAINS
LOCAL GWGRP=GROUP
TYPE=IDOMAIN
DOMAINID="LOCAL"
#
*DM_REMOTE_DOMAINS
REMOTE TYPE=IDOMAIN
DOMAINID="REMOTE"
#
*DM_LOCAL_SERVICES
ECHOX RNAME="ZECHOSV4"
TOLOWER RNAME="TUXTOLOWER"
INBUFTYPE=string
OUTBUFTYPE=string
#
*DM_REMOTE_SERVICES
TOUPPER RDOM=REMOTE
LDOM=LOCAL
RNAME="TUXTOUPPER"
ECHOFAR RDOM=REMOTE
LDOM=LOCAL
RNAME="BEASVR07"
INBUFTYPE="VIEW:myview"
OUTBUFTYPE="FML"
NORMAL RDOM=REMOTE
LDOM=LOCAL
RNAME="TST1V"
![]() |
![]() |
![]() |
|
Copyright © 2001 BEA Systems, Inc. All rights reserved.
|