![]() |
![]() |
![]() |
![]() |
![]() |
The term connection is used for the TCP connection between GWSNAX and CRM, and the term link is used for the SNA connection between CRM and CICS.As shown in Figure 9‑1, one Tuxedo client calls a remote service, which maps to a CICS DPL program. The DPL program runs in two CICS regions – CICSA and CICSB. Meanwhile, two GWSNAX/CRM pairs are configured to avoid any single point of failure. Each CRM connects to both CICS regions.Table 9‑1 lists all the configurations required for making outbound calls of single connection and multiple links.
2 groups for 2 GWSNAX servers 2 GWADM/GWSNAX pairs 2 local domains: SNAX1, SNAX2 4 remote domains: CICSA1, CICSB1, CICSA2, CICSB2 2 CRMs: CRM1, CRM2 4 LINKs: CICSA1, CICSB2, CICSA2, CICSB2 2 CONNECTION/SESSION pairs for two LUs 2 CONNECTION/SESSION pairs for two LUs In the Tuxedo UBBCONFIG file, configure the following:
1. Add two GROUP entries:Listing 9‑1 Add Groups
2. Listing 9‑2 Add ServersIn the Tuxedo DMCONFIG file, configure the following:Listing 9‑3 Add Local DomainsListing 9‑4 Add Remote DomainsCICSA1 TYPE=SNAX DOMAINID="CICSA1"CICSA2 TYPE=SNAX DOMAINID="CICSA2"CICSB1 TYPE=SNAX DOMAINID="CICSB1"CICSB2 TYPE=SNAX DOMAINID="CICSB2"Listing 9‑5 Add CRMListing 9‑6 Add SNA StacksLOCALLU="CRMLU06" #NETNAME in VTAM CONNECTION definitionLOCALLU="CRMLU07" #NETNAME in VTAM CONNECTION definitionListing 9‑7 Add SNA LinksListing 9‑8 Define ServicesListing 9‑9 Define APPC LUsCRMLU06 APPL ACBNAME=CRMLU06,CRMLU07 APPL ACBNAME=CRMLU07,Define two CONNECTION/SESSION pairs for each LU. One CONNECTION/SESSION pair is used to connect to one CICS region. In Listing 9‑10, a CONNECTION/SESSION pair is defined:Listing 9‑10 Define ConnectionsDEFINE CONNECTION(CR06) GROUP(BEACON1)DEFINE CONNECTION(CR07) GROUP(BEACON1)
Note: Replace the value of GROUP, LIST, CONNECTION, NETNAME, SESSION, MODENAME, and MAXIMUM with your actual value.Install resource definition in both CICSA and CICSB region, and enter commands to install resource definitions:
1. Compile the MIRRDPLC program using following JCL:
2.
3. Figure 9‑2 Multiple Connections and Multiple LinksTable 9‑2 lists all the configurations required for making outbound calls of multiple connections and multiple links.
2 groups for 2 GWSNAX servers 2 GWADM/GWSNAX pairs 2 groups for 2 GWSNAX servers 2 GWADM/GWSNAX pairs 2 CONNECTION/SESSION pairs for two LUs 2 CONNECTION/SESSION pairs for two LUsThe configurations for multiple connections and multiple links are almost same as that of the single connection scenario and won’t be explained again. You can refer to the preceding configuration steps in Single Connection and Multiple Links. There are just some slight differences in the configuration of variables IPCKEY, APPDIR, TUXCONFIG, TLOGDEVICE in UBBCONFIG, and DMTLOGDEV in DMCONFIG.The term connection is used for the TCP connection between GWSNAX and CRM, and the term link is used for the SNA connection between CRM and CICS.As shown in Figure 9‑3, one CICS transaction links a remote program via DPL call, which maps to an Oracle Tuxedo service. The Tuxedo service is provided by one Tuxedo server and two GWSNAX/CRM pairs are configured to avoid any single point of failure.Figure 9‑3 Inbound Call (from CICS to Oracle Tuxedo)Dynamic routing can be configured in CICS to dispatch the request to two CRMs with load balance and failover automatically, and the default dynamic routing program, DFHDYP, should be customized accordingly.DFHDYP is a CICS-supplied, user-replaceable program for dynamic routing. For eligible DPL requests, it is invoked before a linked program is executed, to obtain the SYSID of the region where the link should be routed.Table 9‑3 lists all the configurations required for making inbound calls of single connection and multiple links.
2 groups for 2 GWSNAX servers 2 local domain: SNAX1, SNAX2 2 remote domains: CICSA1, CICSA2 2 CRM: CRM1, CRM2 2 LINK: CICSA1, CICSA2 2 CONNECTION/SESSION pairs for two LUs. DFHDYP program: DYPSAMP TRANSACTION/PROGRAM for DPLC DFHDYP initialization parameter: DTRPGM=DYPSAMPIn the Tuxedo UBBCONFIG file, configure the following:
1. Add two GROUP entries:Listing 9‑11 Add Groups
2. Listing 9‑12 Add ServersListing 9‑13 Add ServerIn the Tuxedo DMCONFIG file, configure the following:Listing 9‑14 Add Local DomainsListing 9‑15 Add Remote DomainsCICSA1 TYPE=SNAX DOMAINID="CICSA1"CICSA2 TYPE=SNAX DOMAINID="CICSA2"Listing 9‑16 Add CRMListing 9‑17 Add SNA StacksLOCALLU="CRMLU08" #NETNAME in VTAM CONNECTION definitionLOCALLU="CRMLU09" #NETNAME in VTAM CONNECTION definitionListing 9‑18 Add SNA LinksListing 9‑19 Define ServiceListing 9‑20 Define APPC LUsCRMLU08 APPL ACBNAME=CRMLU08,CRMLU09 APPL ACBNAME=CRMLU09,Define two CONNECTION/SESSION pairs for each LU. One CONNECTION/SESSION pair is used to connect to one CICS region. In Listing 9‑10, a CONNECTION/SESSION pair is defined:Listing 9‑21 Define ConnectionsDEFINE CONNECTION(CR08) GROUP(BEACON1)DEFINE CONNECTION(CR09) GROUP(BEACON1)
Note: Replace the value of GROUP, LIST, CONNECTION, NETNAME, SESSION, MODENAME, and MAXIMUM with your actual value.
1. Edit DYPSAMP to use specific connections defined before:01 RMT-SYS-1 PIC X(4) VALUE 'CR08'.01 RMT-SYS-2 PIC X(4) VALUE 'CR09'.
2. Comment SYSID in MIRRDPLC to use dynamic routing:* SYSID(REMOTE-SYSID)
3. Add the following definition in the CICS system initialization table, CICSTS42.CICS.CICSH.SYSIN(DFH¥SIPT):Figure 9‑4 Multiple Connections and Multiple LinksThe configurations for multiple connections and multiple links are almost same as that of the single connection scenario and won’t be explained again. You can refer to the preceding configuration steps in Single Connection and Multiple Links. There are just some slight differences in the configuration of variables IPCKEY, APPDIR, TUXCONFIG, TLOGDEVICE in UBBCONFIG, and DMTLOGDEV in DMCONFIG.