11.3 Step 3: Configuring and Deploying TMA SNA
- Install Oracle TMA for SNA Gateway on open system and Oracle TMA for SNA CRM on z/OS. For more information, refer to Oracle Tuxedo Mainframe Adapter for SNA Overview.
- Add one line
SNAX::::to your$TUXDIR/udataobj/DMTYPE. - In Tuxedo
UBBCONFIG, configure the following:- Add two
GROUPentries and threeSERVERentries as shown in the following Listing.Listing UBBCONFIG Configuration
*GROUPS DMGRP GRPNO=**NN** LMID=**LMNAME** GWGRP1 GRPNO=**MM** LMID=**LMNAME** *SERVERS DMADM SRVID=**nnn** SRVGRP=DMGRP GWADM SRVGRP=GWGRP1 SRVID=**nnn** REPLYQ=N RESTART=Y GWSNAX SRVGRP=GWGRP1 SRVID=**nnn** RQADDR="**SNADOM**" REPLYQ=N RESTART=Y CLOPT="-A -- -b"Note:
-
GRPNOparameters are numeric and must be unique for all groups defined inubbconfig.LMNAMEparameter for theLMIDmust be one of theLMIDs defined in the*MACHINESsection of theubbconfig. In MP configuration with multipleLMIDs, it is recommended to define multiple groups — one perLMID— for the GWSNAX servers to be replicated across all machines in the cluster. -
**nnn**is the Server ID number that must be unique for each server in the group.RESTART=Yis recommended;-binCLOPTis recommended if there is a router or firewall between GWSNAX and CRM on z/OS periodically breaking the connection. This option activates a heartbeat mode that can help maintain the connectivity.After updating the
ubbconfig, ensure:- the Tuxedo domain is not running (otherwise run tmshutdown), and run tmloadcf to compile the updated ubbconfig;
-
BDMCONFIGenvironment variable points to the latest compiledbdmconfigfile; -
ULOGestablishes connections with the CRM after runningtmbootto bring up Tuxedo domain with GWSNAX; - logs on the CRM side are able to establish connections with the remote CICS region.
-
- (Optional) Enable service level security.
Listing Enabling service level security in UBBCONFIG
*RESOURCES SECURITY USER_AUTH *SERVERS AUTHSVR SRVGRP=GROUP0 SRVID=2 CLOPT="-A" - Add
ARTTCPL ARTADM ARTCNX ARTTSQ ARTSTRN ARTDPLto the*SERVERSsection.
- Add two
- Configure
DMCONFIG:Tuxedo
If you are building a newdmconfigfile is used to define the CRM parameters and services accessed through the TMA SNA connection. Some of these parameters are used locally and others are sent by GWSNAX to CRM on z/OS when the connection is established to dynamically configure the connection attributes. Some of the configuration parameters we have specified are used below in theDM_SNASTACKS,DM_SNALINKS, andDM_REMOTE_SERVICESsections of thedmconfig.dmconfig, the following listing may need to be adjusted to your mainframe connection. If it already exists for the same CRM connection, you only need to merge the relevant entries from theDM_SNASTACKS,DM_SNALINKS, andDM_REMOTE_SERVICESsections into the existing configuration. It is shown in bold typeface where you need to change according to your environment in the following listing:Listing Sample DMCONFIG Configuration
*DM_LOCAL_DOMAINS simpsnad GWGRP=GWGRP1 // same as GWSNAX group in ubbconfig TYPE=SNAX DOMAINID="simpsnad" DMTLOGDEV=**/tuxedo/path/to/DMTLOG** //GWSNAX domain TLOG file name *DM_REMOTE_DOMAINS MVSDOM TYPE=SNAX DOMAINID="MVSDOM" *DM_SNACRM simpcrm SNACRMADDR="//host.name:NNNN" //host:port of CRM NWDEVICE="/dev/tcp" LDOM="simpsnad" *DM_SNASTACKS stack1 SNACRM="simpcrm" STACKTYPE="VT210" LOCALLU="**LUNAME**" // NETNAME in VTAM CONNECTION definition LTPNAME="*" STACKPARMS="host.name" //same as CRM host name *DM_SNALINKS link1 STACKREF="stack1" //Reference to DM_SNASTACKS entry name RDOM="MVSDOM" //Reference to DOMAINID in DM_REMOTE_DOMAINS LSYSID="OT12" //VTAM connection name RSYSID="**CICX**" RLUNAME="**CICSAPPL**" //CICS APPLID of CICS region MODENAME="**SNANAME**" //MODE NAME in SESSION definition. SECURITY="LOCAL" //if you want to use security features, refer to documentation STARTTYPE="COLD" MAXSESS=20 MINWIN=20 MAXSYNCLVL=2 *DM_LOCAL_SERVICES *DM_REMOTE_SERVICES SVSN_**PROGY** AUTOTRAN=N LDOM="simpsnad" //Reference to DOMAINID in DM_LOCAL_DOMAINS RDOM=MVSDOM //Reference to DOMAINID in DM_REMOTE_DOMAINS CONV=N RNAME="**PROGY**" //Reference to program name defined in remote CICS region - Use
tmloadcfto loadUBBCONFIG.The application password must match that of ARTCICS.
- Use
dmloadcfto loadDMCONFIG. - Add Tuxedo user using Tuxedo-provided tools:
Replacetpgrpadd tuxgrp tpusradd -g tuxgrp tuxusrtuxgrpandtuxusrwith your own and three files —tpgrp,tpusr, andtpacl— will be generated. - Add user mapping in
dmadmin:addusr -d SNAXDOM -R MVSDOM -u “mfusr” -w addumap -d SNAXDOM -R MVSDOM -p “tuxusr” -u “mfusr” - If the service level security is enabled, logon CICS with
tuxusr/password.
Parent topic: ART CICS Calls Transaction in Z/CICS