![]() |
![]() |
|
|
Understanding the Communications Resource Manager
This section discusses the following topics:
Note: All references to Application-to-Transaction Monitor Interface (ATMI) files, functions, and documentation apply to Tuxedo files, functions, and documentation.
About the Communications Resource Manager
The Communications Resource Manager (CRM) is the component of the eLink Adapter for Mainframe that manages communications resources. The CRM coordinates the flow of data between applications running on an ATMI platform and applications running on a mainframe. The mainframe applications may use the following protocols:
The CRM runs as a separate native process providing emulation that allows CICS/ESA and IMS protocols to flow into and out of the ATMI environment.
The CRM uses both SNA and TCP communication protocols. TCP protocols always flow between the eLink Adapter for Mainframe Gateway and CRM. SNA protocols always flow from the CRM to the mainframe and from either an SNA stack or VTAM on the mainframe to the CRM, depending upon the configuration option.
If the CRM is not running on a mainframe, it must run on the same platform as the SNA stack, but it may run on a different platform from the ATMI system and the eLink Adapter for Mainframe Gateway. For a complete list of supported operating systems, refer to the BEA eLink Adapter for Mainframe Release Notes.
The eLink Adapter for Mainframe Gateway provides the configuration for the CRM. The CRM should always be started and monitoring the address specified in the eLink Adapter for Mainframe Gateway configuration before the Gateway is brought up.
System Configuration
The eLink Adapter for Mainframe system may be configured as either a local configuration or a distributed configuration running on a combination of two operating systems: UNIX, Windows, or a mainframe operating system. For a complete list of operating systems, refer to the eLink Adapter for Mainframe Release Notes. If the CRM is not run on a mainframe, it must run on the same platform as the SNA stack. For this version of eLink Adapter for Mainframe, Solaris 8 is the only non-mainframe platform for which the CRM is available.
Local Configuration
The local configuration combines the eLink Adapter for Mainframe Gateway and the CRM with the stack (PU2.1 server) on the same UNIX machine. It employs the IBM proprietary SNA protocol for transactions with the mainframe via the stack.
Figure 1-1 eLink Adapter for Mainframe Local Configuration
Distributed Configurations In one type of distributed configuration, the CRM is installed on the mainframe. If the CRM is installed on the mainframe, there is no need to install a third-party SNA stack. However, you must specify your Virtual Telecommunications Access Method (VTAM) in the eLink Adapter for Mainframe Gateway configuration file. Figure1-2 illustrates the distributed configuration architecture. Figure 1-2 eLink Adapter for Mainframe Distributed Configuration
Another type of distributed configuration separates the CRM from the eLink Adapter for Mainframe Gateway on different UNIX or Windows machines. It employs Transmission Control Protocol/Internet Protocol (TCP/IP) connectivity between the eLink Adapter for Mainframe Gateway and the CRM, as well as SNA connectivity to the mainframe environment(s). This configuration gives you the flexibility to deploy the Tuxedo server separately from the CRM for installations that require the Tuxedo server on a platform other than the one on which the SNA stack is running. Note that this configuration requires a one-to-one relationship between the local eLink Adapter for Mainframe Gateway and the remote CRM. Figure 1-3 Non-Mainframe eLink Adapter for Mainframe Distributed Configuration
Preparing Mainframe Configurations for CRM Requirements
The CRM runs as a separate native process that provides an emulation allowing CICS/ESA and IMS protocols to flow into and out of the ATMI environment. After you install the eLink Adapter for Mainframe product, you must set up your mainframe configurations to allow the CRM to access your CICS or IMS systems.
If the CRM runs on the mainframe, it uses the native SNA networking product, Virtual Telecommunications Access Method (VTAM), to establish its SNA connectivity to the CICS or IMS application environments. If the CRM runs on a UNIX platform, a third-party SNA stack must also be installed on this platform and configured to establish SNA connections with the CRM and target mainframe.
The topics in the following sections cover mainframe configuration requirements for the CRM.
Requirements for Establishing a VTAM Configuration
The following requirements should be considered for establishing a VTAM configuration:
Consult with your CICS/ESA remote domain administrator to obtain key parameters in the VTAM definition that must be included in the SNA stack configuration, as well as in other configuration files in the eLink Adapter for Mainframe local domain.
Configuring the CRM for a Third-Party Stack
A basic understanding of the mainframe configuration requirements provides a context for understanding the CRM functions and configuration requirements. The following sections discuss the various configuration considerations and give examples of those configurations.
Note: Consult with your local mainframe system administrator for specific information about your system. The examples in the following sections illustrate a starting point for configuring your system and do not represent all possibilities. The examples represent one way a mainframe can be configured to work in an Advanced Peer-to-Peer Networking (APPN) Local Area Network (LAN) environment on a SNAP-IX stack for Solaris 8.
Third-Party Stack Configuration
Third-party stack configurations may be set up using stack-specific configuration utilities or by manually creating a configuration file with any text editor. Listing1-1 shows an example of an SNA node configuration file. The configuration file is divided into sections for various components of the configuration. Each section defines a component using parameters (or keywords) and values. Some of these keywords and values will affect how your eLink Adapter for Mainframe configuration is defined.
Listing 1-1 SNA Node Configuration File
[define_node_config_file]
major_version = 5
minor_version = 1
update_release = 1
revision_level = 25
[define_node]
cp_alias = dalsun8
description = ""
fqcp_name = BEALAN.DALSUN8
node_type = LEN_NODE
mode_to_cos_map_supp = YES
mds_supported = YES
node_id = <bea08276>
max_locates = 1500
dir_cache_size = 255
max_dir_entries = 0
locate_timeout = 0
reg_with_nn = YES
reg_with_cds = YES
mds_send_alert_q_size = 100
cos_cache_size = 24
tree_cache_size = 40
tree_cache_use_limit = 40
max_tdm_nodes = 0
max_tdm_tgs = 0
max_isr_sessions = 1000
isr_sessions_upper_threshold = 900
isr_sessions_lower_threshold = 800
isr_max_ru_size = 16384
isr_rcv_pac_window = 8
store_endpt_rscvs = NO
store_isr_rscvs = NO
store_dlur_rscvs = NO
cos_table_version = VERSION_0_COS_TABLES
send_term_self = NO
disable_branch_awareness = NO
cplu_syncpt_support = NO
cplu_attributes = NONE
dlur_support = NO
pu_conc_support = YES
nn_rar = 128
max_ls_exception_events = 0
ptf_flags = NONE
[define_ethernet_dlc]
dlc_name = ETHER0
description = ""
neg_ls_supp = YES
initially_active = NO
adapter_number = 0
lan_type = 802_3_DIX
[define_ethernet_port]
port_name = ETSAP0
description = ""
dlc_name = ETHER0
port_type = PORT_SATF
port_number = 0
max_rcv_btu_size = 1033
tot_link_act_lim = 64
inb_link_act_lim = 0
out_link_act_lim = 0
ls_role = LS_NEG
implicit_dspu_services = NONE
implicit_dspu_template = ""
implicit_ls_limit = 0
act_xid_exchange_limit = 9
nonact_xid_exchange_limit = 5
ls_xmit_rcv_cap = LS_TWS
max_ifrm_rcvd = 7
target_pacing_count = 7
max_send_btu_size = 1033
mac_address = <000000000000>
lsap_address = 0x04
implicit_cp_cp_sess_support = NO
implicit_limited_resource = NO
implicit_deact_timer = 30
implicit_hpr_support = NO
implicit_link_lvl_error = NO
implicit_uplink_to_en = NO
effect_cap = 3993600
connect_cost = 0
byte_cost = 0
security = SEC_NONSECURE
prop_delay = PROP_DELAY_LAN
user_def_parm_1 = 128
user_def_parm_2 = 128
user_def_parm_3 = 128
initially_active = YES
window_inc_threshold = 1
test_timeout = 10
test_timer_retry = 5
xid_timer = 10
xid_timer_retry = 5
ack_timeout = 5000
p_bit_timeout = 5000
t2_timeout = 100
rej_timeout = 10
busy_state_timeout = 30
idle_timeout = 30
max_retry = 3
[define_ethernet_ls]
ls_name = DV10QSN8
description = ""
port_name = ETSAP0
adj_cp_name = P390.DALVS10
adj_cp_type = END_NODE
mac_address = <0200bea07004>
lsap_address = 0x04
auto_act_supp = NO
tg_number = 0
limited_resource = NO
solicit_sscp_sessions = YES
pu_name = DV10QSN8
disable_remote_act = NO
default_nn_server = NO
dspu_services = NONE
dspu_name = <0000000000000000>
dlus_name = <0000000000000000000000000000000000>
bkup_dlus_name = <0000000000000000000000000000000000>
hpr_supported = NO
hpr_link_lvl_error = NO
link_deact_timer = 30
use_default_tg_chars = YES
ls_attributes = SNA
adj_node_id = <00000000>
local_node_id = <00000000>
cp_cp_sess_support = NO
effect_cap = 3993600
connect_cost = 0
byte_cost = 0
security = SEC_NONSECURE
prop_delay = PROP_DELAY_LAN
user_def_parm_1 = 128
user_def_parm_2 = 128
user_def_parm_3 = 128
target_pacing_count = 7
max_send_btu_size = 1033
ls_role = USE_PORT_DEFAULTS
max_ifrm_rcvd = 0
dlus_retry_timeout = 0
dlus_retry_limit = 0
branch_link_type = NONE
adj_brnn_cp_support = ALLOWED
dddlu_offline_supported = NO
initially_active = NO
restart_on_normal_deact = NO
react_timer = 30
react_timer_retry = 65535
test_timeout = 10
test_timer_retry = 5
xid_timer = 10
xid_timer_reVTAM Cross Platform Definitions
The examples of cross platform definitions discussed in the following sections allow the VTAM network to communicate with your stack using the SNA protocol.
XCA Major Node Defines the LAN Adapter for SYS1
This definition is set up for use with an emulated IBM 3172 Interconnect Controller for connecting an APPN network node to another APPN node. Note that the definition is for an Ethernet LAN, and the SAPADDR specified must be the same as the LSap specified for the local link station.
Listing 1-2 XCA Major Node
XETH2LP1 VBUILD TYPE=XCA ** EXTERNAL COMMUNICATION ADAPT**
PORTE2 PORT ADAPNO=1, ** 3172 RELATIVE ADAPTER NUMBER**
CUADDR=E22, ** CHANNEL UNIT ADDRESS **
MEDIUM=CSMACD, ** LAN TYPE=ETHERNET **
SAPADDR=8, ** SERVICE ACCESS POINT ADDRESS**
TIMER=120 ** CHANNEL ACTIVATE RESP TIME **
*
G1ETH2 GROUP DIAL=YES, ** YES required for putype 2 **
DYNPU=YES,
CALL=INOUT,
ANSWER=ON,
ISTATUS=ACTIVE
LETH20 LINE
PETH20 PU
LETHE3 LINE
PETHE3 PU
LETHF3 LINE
PETHF3 PUSwitched Network (SWNET) Definitions
VTAM Switched Major Node (SWNET) definitions define and link together physical units (PU) and logical units (LU). Each workstation connected to a network must be represented on the network as a PU and each PU can have one or more LUs. The VTAM SWNET definition defines how the PUs and LUs communicate with a server.
The switched network definition example in this section (Listing1-3) specifies the VTAM PU, representing the local link stations that expect to connect with the host machine. The IDBLK and IDNUM definitions are provided to support 3270 traffic and must be unique, as well as match the values specified in the local link definition.
Listing 1-3 SWNET Major Node
SWNETH2 VBUILD TYPE=SWNET,MAXNO=3,MAXGRP=3
P390ETH2 PU ADDR=04,
IDBLK=019,
IDNUM=10092,
PUTYPE=2,
NETID=BEALAN,
CPNAME=SUN2,
MAXPATH=3,
DWACT=YES,
CONNTYPE=APPN,
CPCP=YES,
DYNLU=YES
* -------------------------------------------------
* SNA SAP & SUN2 MAC ADDRESS BIT REVERSED FOR TRFMT
* -------------------------------------------------
PATH01 PATH DIALNO=00081000043EE20A,
GRPNM=G1ETH2
LUSUN2A LU LOCADDR=0
LUSUN2B LU LOCADDR=0
LUSUN2C LU LOCADDR=0Configuring the CRM for z/OS or OS/390 Platforms
VTAM must be configured to allow the CRM to communicate with CICS or IMS using the SNA protocol.
The APPLID definition shown in Listing1-4 shows an example of a VTAM stack configuration to run the CRM on z/OS or OS/390.
Listing 1-4 APPLID Definition (z/OS or OS/390)
BEASNA VBUILD TYPE=APPL
BEAAPPL1 APPL ACBNAME=BEAAPPL1,
AUTH=(ACQ,PASS),
APPC=YES,
SYNCLVL=SYNCPT,
PARSESS=YESConfiguring the CICS/ESA LU
Before you can connect the CRM to the remote stack, the CICS/ESA LU (logical unit) configuration must be established. To establish the configuration, create connection definitions, create session definitions, and install resource definitions.
Creating Connections at the Remote Host
If a remote connection definition file is not already in place, work with the mainframe support personnel to create one. When placed on the remote host, the definition provides a connection with the local domain. Note the following example of an eLink Adapter for Mainframe connection definition file:
DEFINE CONNECTION(BEA) GROUP(BEACONN)
DE(EAM EXAMPLE RDO CONNECTION)
ACCESSMETHOD(VTAM) PROTOCOL(APPC)
NETNAME(**VTAM NETWORK NAME OF REMOTE SYSTEM**)
ATTACHSEC(LOCAL) AUTOCONNECT(NO)Defining the Session at the Remote Host
If a session definition is not already in place, work with the mainframe support personnel to create one. When placed on the remote host, the session definition defines the logical links by which the local domain communicates with the remote host. Note the following example of an eLink Adapter for Mainframe session definition:
DEFINE SESSION(BEATEST) GROUP(BEACONN)
CONNECTION(BEA)
DE(EAM EXAMPLE RDO SESSION)
PROTOCOL(APPC) AUTOCONNECT(YES)
MODENAME(**MODE**) MAXIMUM(**SESSNBR**,**WINNER**)The arguments and options in this example are defined in the following way:
AUTOCONNECT
- Indicates how the activation of the session is negotiated.
YES
- Enables the CICS/ESA host to negotiate its own winner sessions when a conversation is allocated.
MODENAME
- Indicates either a CICS/ESA-supplied mode name, such as SMSNA100, or your own defined mode name. If another set of session definitions exists for the BEA connection, this mode name must be unique among all sets defined to the connection. The mode name corresponds to the VTAM LOGMODE name.
MAXIMUM
- Defines the total number of sessions in the set and the total number of winner sessions. The total number of winner sessions must include those for the host and the remote stack. The WINNER number plus the number of remote sessions should equal the SESSNBR.
Installing Resource Definitions
To install the resource definitions, put them on the host in a separate group. Use the CEDA INSTALL command.
For example:
CEDA INSTALL GROUP(BEACONN)Viewing Connection and Session Status
After you have installed the resource definitions, you can view the status of connections and sessions using the following CICS/ESA system commands:
CEMT I CONN(BEA) **view the status of the connection
CEMT I NET(**NETNAME**) **View the status of the sessions
CEMT I MODENAME(**MODE**) **View the status of the mode
Putting It All Together
The topics in the following sections cover examples of configurations for cross-platform definitions. These examples are for reference only and do not represent all configuration possibilities. Consult with your system administrator for specific information about your system.
Example of Windows or UNIX Cross-Platform Definitions
Before installing eLink Adapter for Mainframe software, review Table 1-1 for an example of Windows or UNIX cross-platform definitions. Consult with your VTAM system administrator to obtain the value indicated in the Name column and make the corresponding entries shown in the Needed In column.
Note: The DCL-based stack referred to in Table 1-1 is the Solaris SNAP-IX stack.
Listing1-5 shows the corresponding eLink Adapter for Mainframe Gateway configuration file. Refer to the BEA eLink Adapter for Mainframe User Guide for information about setting up the Gateway configuration.
.
Listing 1-5 Corresponding DMCONFIG File
#================================================================
*DM_LOCAL_DOMAINS
simpsnad GWGRP=GROUP2
TYPE=SNAX
DOMAINID="simpsnad"
BLOB_SHM_SIZE=1000000
DMTLOGDEV=/home/qctest/dmlog
*DM_REMOTE_DOMAINS
SIMPSNAG TYPE=SNAX
DOMAINID="SIMPSNAG"
*DM_SNACRM
simpcrm SNACRMADDR="//myhost:6000
NWDEVICE="/dev/tcp"
LDOM="simpsnad"
*DM_SNASTACKS
simpstk SNACRM="simpcrm"
STACKTYPE="SPX70"
LOCALLU="L0F0024A"
LTPNAME="*"
STACKPARMS="myhost"
*DM_SNALINKS
simplk1 STACKREF="simpstk"
RDOM="SIMPSNAG"
LSYSID="BEA"
RSYSID="TEST"
RLUNAME="CICSSYN"
MODENAME="SNA62"
SECURITY="LOCAL"
STARTTYPE="COLD"
MAXSESS=10
MINWIN=5
MAXSYNCLVL=2
*DM_LOCAL_SERVICES
DPL1SVR LDOM="simpsnad"
CONV=N
RNAME="DPL1SVR"
INBUFTYPE="STRING"
OUTBUFTYPE="STRING"
*DM_REMOTE_SERVICES
TOUPPER AUTOTRAN=N
LDOM="simpsnad"
RDOM=SIMPSNAG
CONV=N
RNAME="TOUPPER"
INBUFTYPE="STRING"
OUTBUFTYPE="STRING"
FUNCTION="DPL"
*DM_ROUTINGExample of z/OS or OS/390 Definitions
Before installing eLink Adapter for Mainframe software, review Table 1-2 for an example of SNA definitions when the CRM runs on z/OS or OS/390 platforms. Consult with your system administrator to obtain the value indicated in the Name column and make the corresponding entries shown in the Needed In column.
Listing1-6 shows the corresponding eLink Adapter for Mainframe configuration file. Refer to the BEA eLink Adapter for Mainframe User Guide for information about setting up the Gateway configuration.
.
Listing 1-6 Corresponding DMCONFIG File
#================================================================
*DM_LOCAL_DOMAINS
simpsnad GWGRP=GROUP2
TYPE=SNAX
DOMAINID="simpsnad"
BLOB_SHM_SIZE=1000000
DMTLOGDEV=/home/qctest/dmlog
*DM_REMOTE_DOMAINS
SIMPSNAG TYPE=SNAX
DOMAINID="SIMPSNAG"
*DM_SNACRM
simpcrm SNACRMADDR="//mymainframe:6000
NWDEVICE="/dev/tcp"
LDOM="simpsnad"
*DM_SNASTACKS
simpstk SNACRM="simpcrm"
STACKTYPE="VTM28"
LOCALLU="BEAAPPL1"
LTPNAME="*"
STACKPARMS="mymainframe"
*DM_SNALINKS
simplk1 STACKREF="simpstk"
RDOM="SIMPSNAG"
LSYSID="BEA"
RSYSID="TEST"
RLUNAME="CICSSYN"
MODENAME="SMSNA100"
SECURITY="LOCAL"
STARTTYPE="COLD"
MAXSESS=10
MINWIN=5
MAXSYNCLVL=2
*DM_LOCAL_SERVICES
DPL1SVR LDOM="simpsnad"
CONV=N
RNAME="DPL1SVR"
INBUFTYPE="STRING"
OUTBUFTYPE="STRING"
*DM_REMOTE_SERVICES
TOUPPER AUTOTRAN=N
LDOM="simpsnad"
RDOM=SIMPSNAG
CONV=N
RNAME="TOUPPER"
INBUFTYPE="STRING"
OUTBUFTYPE="STRING"
FUNCTION="DPL"
*DM_ROUTING
![]()
![]()
![]()
Copyright © 2001 BEA Systems, Inc. All rights reserved.
Required browser: Netscape 4.0 or higher, or Microsoft Internet Explorer 4.0 or higher.