The section shows the details of how the sample site shown in
Figure 42-1 would be configured.
Configuration of the SNADS nodes.
ADD USERTYPE='REMOTE' DDN='APOLLO' SA='*' RGN=' ' REN='AMBROSIA'. ='REMOTE' DDN='BACCHUS' SA='*' RGN=' ' REN='AMBROSIA'. ADD USERTYPE='REMOTE' DDN='CUPID' SA='*' RGN=' ' REN='AMBROSIA'. ADD USERTYPE='REMOTE' DDN='DIANA' SA='*' RGN=' ' REN='AMBROSIA'.
ADD RGN=' ' REN='AMBROSIA' TRANSID='DSVE' SSL='*' QUEUE=AMBRHere AMBR is the CICS name for the LU for the AMBROSIA system, matching the name used during the CICS configuration step described below in step 3.
LKNECTAR PU ADDR=04, CPNAME=NECTAR XID=YES,RESSCB=2 NECTAR LU LOCADDR=0, DLOGMOD=#BATCH, LOGAPPL=CICAPPLE ... CICAPPLE APPL ACBNAME(CICAPPLE)here LKNECTAR is the PU name given to the node AMBROSIA (which need not match any definition on AMBROSIA itself). Other parameters may be specified, similar to those for a 3270 connection from AMBROSIA to APPLE. A corresponding CICS definition must be created with the commands
CEDA DEFINE GROUP(abc) CONNECTION(AMBR)and
CEDA DEFINE GROUP(abc) SESSION (xyz)yielding screens
CEDA DEFine AMBR Group DEscription ==> PARTNER LU CONNECTION IDENTIFIERS Netname ==> NECTAR INDsys ==> REMOTE ATTRIBUTES REMOTESystem ==> REMOTEName ==> ==> Vtam Vtam|IRc|INdirect|Xm Protocol ==> Appc Appc | Lu61 SInglesess ==> No Yes | No DAtastream ==> User User|3270|SCs|Strf|Lms RECordformat ==> U U | Vb ==> No No | Yes | All INService ==> Yes Yes | No ==> ATtachsec ==> Local Local|Identify|Verify |Persistent|Hixidpe BINDPassword ==> PASSWORD NOT SPECIFIED BINDSecurity ==> No No | Yesand
CEDA DEFine Sessions : xyz Group : abc DEscription ==> SESSIONS for PARTNER LU SESSION IDENTIFIERS Connection ==> AMBR SESSName ==> NETnameq ==> MOdename ==> #BATCH ==> Appc Appc | Lu61 MAximum ==> 002 , 000 0-999 RECEIVEPfx ==> RECEIVECount ==> 1-999 SENDPfx ==> SENDCount ==> 1-999 SENDSize ==> 1920 1-30720 RECEIVESize ==> 1920 1-30720 + AUtoconnect ==> No No | Yes | All INService ==> Yes Yes | No ==> ATtachsec ==> Local Local|Identify|Verify |Persistent|Hixidpe BINDPassword ==> PASSWORD NOT SPECIFIED BINDSecurity ==> No No | Yes
ADD USERTYPE='REMOTE' DDN='APOLLO' SA='*' RGN=' ' REN='AMBROSIA'. ='REMOTE' DDN='BACCHUS' SA='*' RGN=' ' REN='AMBROSIA'. ='REMOTE' DDN='CUPID' SA='*' RGN=' ' REN='AMBROSIA'. ='REMOTE' DDN='DIANA' SA='*' RGN=' ' REN='AMBROSIA'.
ADD RGN=' ' REN='APPLE' TRANSID='DSVE' SSL='*' QUEUE='QCOX'.then add a similar routing table entry:
ADD RGN=' ' REN='AMBROSIA' TRANSID='DSVE' SSL='*' QUEUE='QCOX'.
ADD NEW DIRECTORY ENTRY USER userid..................: *ANY address.................: APOLLO SYSTEM system name.............: AMBROSIA system group............: ........ Indirect user.............: N Print personal mail.......: N ---------------------------------------- *ANY address.................: BACHHUS SYSTEM system name.............: AMBROSIA system group............: ........ Indirect user.............: N Print personal mail.......: N ---------------------------------------- *ANY address.................: CUPID SYSTEM system name.............: AMBROSIA system group............: ........ Indirect user.............: N Print personal mail.......: N ---------------------------------------- *ANY address.................: DIANA SYSTEM system name.............: AMBROSIA system group............: ........ Indirect user.............: N Print personal mail.......: N ----------------------------------------
ROUTING TABLE ENTRY Destination system Name / Group............: APPLE Description...............: node adjacent to XGS bridge Service level Fast: Queue name............: FUJI Maximum hops..........: *DFT Status: Queue name............: FUJI Maximum hops..........: *DFT *DFT Data low: Queue name............: FUJI Maximum hops..........: *DFTThen on BANANA issue the command CFGDSTSVR, select Routing Table Entry and create the new routing table entry for routing to AMBROSIA:
ROUTING TABLE ENTRY Destination system Name / Group............: AMBROSIA Description...............: PMDF-XGS transport bridge Service level Fast: Queue name............: FUJI Maximum hops..........: *DFT Status: Queue name............: FUJI Maximum hops..........: *DFT Data high: Queue name............: FUJI Maximum hops..........: *DFT Data low: Queue name............: FUJI Maximum hops..........: *DFTSuppose that on the node DAMSON, which routes messages to APPLE by way of BANANA, that the existing routing table entry for routing to APPLE is:
ROUTING TABLE ENTRY Destination system Name / Group............: APPLE Description...............: node adjacent to XGS bridge Service level Fast: Queue name............: YELLOW Maximum hops..........: *DFT Status: Queue name............: YELLOW Maximum hops..........: *DFT *DFT Data low: Queue name............: YELLOW Maximum hops..........: *DFTThen on DAMSON issue the command CFGDSTSVR, select Routing Table Entry, and create the new routing table entry for routing to AMBROSIA:
ROUTING TABLE ENTRY Destination system Name / Group............: AMBROSIA Description...............: PMDF-XGS transport bridge Service level Fast: Queue name............: YELLOW Maximum hops..........: *DFT Status: Queue name............: YELLOW Maximum hops..........: *DFT Data high: Queue name............: YELLOW Maximum hops..........: *DFT Data low: Queue name............: YELLOW Maximum hops..........: *DFT
\mpts\etc\hosts
and if it is not already defined, define
the hostname localhost
as
127.0.0.1 localhostEdit the file
\mpts\bin\setup.cmd
and if it is not already
present, add the line
ifconfig lo 127.0.0.1Use the configuration notebook to configure adding and starting an SNMP daemon supporting the dpi interface; you want the line
start /min snmpd -dpi shm -dpi tcpadded to the
\mpts\bin\tcpstart.cmd
cmsetup.exe
. Assume that the
olympus.org site uses GROLY as the Network ID for (all) its SNADS
nodes. In the local node definition, enter GROLY
as the
Network ID, enter NECTAR
as the Local Node name, and enter
05D
and 00000
as the Local Node ID. Assume
that you are using a LAN connection between the PMDF-XGS transport
bridge and the adjacent SNADS node, and that the LAN address of that
adjacent SNADS node is 123456789012, and assume that the VTAM name of
the adjacent APPLE node is CPAPPLE. In the SNA connection definition,
enter GROLY
as the Partner Network ID,
CPAPPLE
as the Partner Node Name, and
123456789012
as the LAN Destination Address. In the
partner LU definition, enter CPAPPLE
as the Network ID,
CICAPPLE
as the LU Name, and LOCAL
as the
Alias. In the symbolic destination definition, enter LOCAL
as the Symbolic Destination Name and Partner LU Alias, enter
X'21'002
as the Partner TP, enter NONE
as the
Security, and enter #BATCH
as the Mode Name. In the
transaction program defaults definition, delete the *
value from Directory For Inbound Attaches. Having used Communications
Manager for this configuration, a Node Definition File should now be
present in Communications Manager's cmlib
directory,
looking like:
DEFINE_LOCAL_CP FQ_CP_NAME(GROLY.NECTAR ) CP_ALIAS(NECTAR) NAU_ADDRESS(INDEPENDENT_LU) NODE_TYPE(EN) NODE_ID(X'05D00000') NW_FP_SUPPORT(NONE) HOST_FP_SUPPORT(YES) MAX_COMP_LEVEL(NONE) MAX_COMP_TOKENS(0); DEFINE_LOGICAL_LINK LINK_NAME(LINK0001) FQ_ADJACENT_CP_NAME(GROLY.CPAPPLE ) ADJACENT_NODE_TYPE(LEARN) DLC_NAME(IBMTRNET) ADAPTER_NUMBER(0) DESTINATION_ADDRESS(X'12345678901204') ETHERNET_FORMAT(NO) CP_CP_SESSION_SUPPORT(NO) SOLICIT_SSCP_SESSION(NO) ACTIVATE_AT_STARTUP(YES) USE_PUNAME_AS_CPNAME(NO) LIMITED_RESOURCE(USE_ADAPTER_DEFINITION) LINK_STATION_ROLE(USE_ADAPTER_DEFINITION) MAX_ACTIVATION_ATTEMPTS(USE_ADAPTER_DEFINITION) EFFECTIVE_CAPACITY(USE_ADAPTER_DEFINITION) COST_PER_CONNECT_TIME(USE_ADAPTER_DEFINITION) COST_PER_BYTE(USE_ADAPTER_DEFINITION) SECURITY(USE_ADAPTER_DEFINITION) PROPAGATION_DELAY(USE_ADAPTER_DEFINITION) USER_DEFINED_1(USE_ADAPTER_DEFINITION) USER_DEFINED_2(USE_ADAPTER_DEFINITION) USER_DEFINED_3(USE_ADAPTER_DEFINITION); DEFINE_PARTNER_LU FQ_PARTNER_LU_NAME(GROLY.CICAPPLE ) PARTNER_LU_ALIAS(LOCAL) PARTNER_LU_UNINTERPRETED_NAME(CICAPPLE ) MAX_MC_LL_SEND_SIZE(32767) CONV_SECURITY_VERIFICATION(NO) PARALLEL_SESSION_SUPPORT(YES); DEFINE_PARTNER_LU_LOCATION FQ_PARTNER_LU_NAME(GROLY.CICAPPLE ) WILDCARD_ENTRY(NO) FQ_OWNING_CP_NAME(GROLY.CPAPPLE ) LOCAL_NODE_NN_SERVER(NO); DEFINE_DEFAULTS IMPLICIT_INBOUND_PLU_SUPPORT(YES) DEFAULT_MODE_NAME(BLANK) MAX_MC_LL_SEND_SIZE(32767) DEFAULT_TP_OPERATION(NONQUEUED_AM_STARTED) DEFAULT_TP_PROGRAM_TYPE(BACKGROUND) DEFAULT_TP_CONV_SECURITY_RQD(NO) MAX_HELD_ALERTS(10); DEFINE_CPIC_SIDE_INFO SYMBOLIC_DESTINATION_NAME(LOCAL ) PARTNER_LU_ALIAS(LOCAL ) MODE_NAME(#BATCH ) SNA_SERVICE_TP_NAME(X'21',002); START_ATTACH_MANAGER;
xgs.cmd
in accordance with your answers. Suppose that your
CD-ROM drive is D: and that you are running the PMDF-XGS transport
bridge installation procedure install.cmd
directly off the
PMDF distribution CD-ROM, and that you wish to install the PMDF-XGS
transport bridge programs in the directory C:\xgs
.
[D:\other\os2\xgs]install.cmd PMDF / SNADS server installation Where do you want the code installed [C:\XGS]? C:\XGS ... PMDF / SNADS server configuration tool configuring control element The active components introduce themselves to the control process using a TCP/IP conversation. What port is to be used for this conversation [9990]? 9990 The control process needs an SNMP community name to register the Gateway MIB. What community name is going to be used [public]? public [1]? 1 The receive processes need to connect to the PMDF MTA What is the TCP/IP hostname of the machine running PMDF? apollo.olympus.org What port is the SNADS receive process on the PMDF machine listening on Port number [9993]? 9993 What is the SNADS name of the Gateway? ambrosia What is the maximum document size to be accepted by the Gateway [10000000]? 10000 000 What is the TCP/IP host name of the syslog host [localhost]? localhost What directory is to be used to store captured SNADS distributions [.\capture]? .\capture There may be several SNADS send processes. Each listens on a separate port and is typically used to send to a different SNADS node. What port number should the first SNADS send process use [9994]? 9994 What port number should the next SNADS send process use? (press enter to end) make sure that c:\xgs is added to the libpath in config.sys [C:\other\os2\xgs]The resulting
xgs.cmd
file will be:
start xcontrol public 9990 start recvsrv apollo.olympus.org 9993 AMBROSIA 10000000 localhost 9990 .\capture start sendsrv 9994 localhost 9990 .\captureRun the
xgs.cmd
procedure. Shadow the xgs.cmd
icon to the system's "Startup" folder so that it will be
autostarted. $ PMDF CONFIGURE XGS PMDF-XGS configuration utility, Version 5.1 ... SNADS name of this PMDF system known to the SNADS world []? APOLLO TCP/IP name of the OS/2 system acting as the bridge []? ambrosia.olympus.org SNADS REN name of the OS/2 system acting as the bridge []? AMBROSIA TCP/IP port number the sendsrv on the OS/2 system listens on [9994]? 9994 TCP/IP port number the snads_slave program listens on [9993]? 9993 SNADS REN name of the SNADS system immediately adjacent to the OS/2 bridge []?APPLE Domain name corresponding to previous SNADS system []? apple.olympus.org SNADS RGN name of the SNADS system immediately adjacent to the OS/2 bridge [none ]? Name of a SNADS system to which PMDF will route mail [RETURN if no more]? CHERRY Domain name corresponding to previous SNADS system []? cherry.olympus.org Name of a SNADS system to which PMDF will route mail [RETURN if no more]? BANANA Domain name corresponding to previous SNADS system []? banana.olympus.org Name of a SNADS system to which PMDF will route mail [RETURN if no more]? DAMSON Domain name corresponding to previous SNADS system []? damson.olympus.org Name of a SNADS system to which PMDF will route mail [RETURN if no more]? RETURN Domain name of an SMTP system from which PMDF will route mail []? bachus.olympus.org Domain name of an SMTP system from which PMDF will route mail []?The resultingcupid.olypus.org
Domain name of an SMTP system from which PMDF will route mail []?diana.olympus.org
Domain name of an SMTP system from which PMDF will route mail []? RETURN ...
xgs.chans
file will have a channel definition
snads_local defragment 733 header_733 maxheaderaddrs 1 \ addrsperfile 256 charset7 US-ASCII charset8 ISO-8859-1 SNADS-DAEMON APOLLOand the
xgs.rules
file will have rewrite rules
CHERRY $U%cherry.olympus.org cherry.olympus.org $U%CHERRY@SNADS-DAEMON$E$F cherry.olympus.org $U%CHERRY@SNADS-DAEMON$Qsnads_local cherry.olympus.org $U%cherry.olympus.org@SNADS-DAEMON BANANA $U%banana.olympus.org banana.olympus.org $U%BANANA@SNADS-DAEMON$E$F banana.olympus.org $U%BANANA@SNADS-DAEMON$Qsnads_local banana.olympus.org $U%banana.olympus.org@SNADS-DAEMON DAMSON $U%damson.olympus.org damson.olympus.org $U%DAMSON@SNADS-DAEMON$E$F damson.olympus.org $U%DAMSON@SNADS-DAEMON$Qsnads_local damson.olympus.org $U%damson.olympus.org@SNADS-DAEMON APPLE $U%apple.olympus.org apple.olympus.org $U%APPLE@SNADS-DAEMON$E$F apple.olympus.org $U%APPLE@SNADS-DAEMON$Qsnads_local apple.olympus.org $U%apple.olympus.org@SNADS-DAEMON bacchus $U%bacchus.olympus.org$Msnads_local cupid $U%cupid.olympus.org$Msnads_local diana $U%diana.olympus.org$Msnads_localand the
snads_local_option.
file will be
ADJACENT_NODE_REN=APPLE BRIDGE_HOST=ambrosia.olympus.org BRIDGE_PORT=9994 BRIDGE_REN=AMBROSIAand the
dispatcher_xgs.cnf
file will be
[service=SNADS] port=9993 image=PMDF_EXE:SNADS_SLAVE.EXE logfile=PMDF_LOG:SNADS_SLAVE.LOGAs the
xgs.checklist
directs, edit your
pmdf.cnf
file to insert or activate references to
xgs.chans
and xgs.rules
and edit your
dispatcher.cnf
file to activate the reference to
dispatcher_xgs.cnf
and edit your PMDF alias file to insert
the alias to be directed to the addressing channel.