Onesait Ecosystems ·
Editran
Documentación Técnica
Manual usuario IMS
Septiembre 2019
Onesait Ecosystems Editran
Indice
2
Índice
1 Introducción ........................................................................................................................................................ 3
2 Descripción de la implantación TCP/IP ................................................................................................................. 4
2.1 Descripción de la arquitectura ........................................................................................................................ 4
3 Recursos TCP/IP ................................................................................................................................................... 6
3.1 Fichero TCPIP.PROFILE.................................................................................................................................. 6
3.2 Fichero TCPIP.DATA ...................................................................................................................................... 6
4 Operaciones de administración y configuración ................................................................................................... 7
4.1 JCL de arranque de los procesos ..................................................................................................................... 7
4.2 Parada de los procesos ................................................................................................................................... 7
4.3 Modificación de entorno ................................................................................................................................ 8
4.4 Modificación de sesiones ................................................................................................................................ 9
4.5 Adaptación del JCL de arranque del Listener ................................................................................................ 10
5 Anexos............................................................................................................................................................... 12
5.1 Lista de módulos .......................................................................................................................................... 12
5.1.1 Ejecutables .......................................................................................................................................... 12
5.1.2 Fuentes de DLI..................................................................................................................................... 12
5.1.3 JCLs ..................................................................................................................................................... 12
5.2 Definiciones TCP/IP ...................................................................................................................................... 12
5.2.1 Procedimiento de arranque de TCP ..................................................................................................... 12
5.2.2 Fichero TCPIP.PROFILE ....................................................................................................................... 14
5.2.3 Fichero TCPIP.DATA ........................................................................................................................... 18
Onesait Ecosystems Editran
1. Introducción
3
1 Introducción
El presente documento detalla los elementos que han de desarrollarse para la implantación de editran TCP/IP IMS.
Se pretende exponer:
Una breve descripción de la implantación TCP/IP en editran,
Las generaciones TCP a realizar,
Las operaciones necesarias para el establecimiento de una Sesión.
Onesait Ecosystems Editran
2. Descripción de la implantación TCP/IP
4
2 Descripción de la implantación TCP/IP
Dentro de las distintas alternativas de acceso a TCP/IP desde IMS, editran ha seguido el modelo de ‘Cliente-Servidor explícito’ que utiliza programas propios que acceden a la interfaz extendida (‘Socket Extended API’) proporcionada por IBM. No se utilizará ITOC (‘IMS TCP/IP OTMA Connectionn’), ni soporte implícito mediante el ‘Assist module’.
2.1 Descripción de la arquitectura
El gestor de conexiones TCP/IP desarrollado para editran pretende conceder acceso a la red con el menor impacto posible en la arquitectura actual del producto.
El Gestor está compuesto por dos procesos.
El primer proceso realiza la función de escucha permanente de peticiones de conexión al que llamamos Listener. Tan sólo se encarga de aceptar y trasladar al siguiente proceso las conexiones que realizan las instalaciones remotas que le llegan desde la red. Un Listener escucha por un puerto TCP y por una o varias direcciones IP.
El segundo proceso realiza la gestión completa de la conexión y la transmisión de datos, es el Cliente-Servidor (CS). Se encarga de gestionar las peticiones de conexión y de envío de datos que recibe de editran, y procesa los datos y las indicaciones de conexión recibidos del remoto. La relación con editran se realiza mediante el envío de mensajes entre la transacción del Núcleo de editran y una transacción que el Cliente-Servidor tiene asignada.
Los dos procesos se ejecutan permanentemente mientras dure la transmisión editran. El proceso de escucha permanece arrancado mientras se quieran recibir indicaciones de conexión. El programa del Cliente-Servidor no puede desplanificarse mientras tenga una conexión activa. Esto lleva a dos procesos BMP sin límite de tiempo de proceso que deberán hacer ‘WAIT’ implícitamente (mediante llamadas a la interfaz de ‘socket’) o explícitamente (mediante macro). El Cliente-Servidor podría ejecutarse en una región MPP siempre y cuando se le permita una ejecución indefinida.
Editran puede funcionar con varios Clientes-Servidores y varios Listener. Cada CS puede recibir indicaciones de conexión de varios Listener pero cada Listener trabajará con un único CS. Incluso el CS puede trabajan sin Listener si no va a procesar llamadas remotas. El número de CS se adaptará a la carga de transmisión de nuestra instalación. La asignación de una trasmisión a un cliente se realiza en base a la definición del perfil de la sesión de editran/P. En el entorno principal de editran/P se dan de alta varios CS (hasta 6), a modo de ejemplo, que se expanden a las sesiones. En cada sesión se particularizan los clientes que se esta trasmisión puede, alterando el orden o dando de alta otros nuevos. Editran intentará la conexión por cada uno de ellos, haciendo back-up en la lista si no lo consigue. En el caso
ZTBO ZTBPOOPE
ZTBT ZTBPOTIM
STP
X00 X11
E00 E11 E33
Sxx
RED SXX TCP ZTB1
ZTBPOSS1
ZTT
ZTBPETC3
ZTBPETC2
ZTBPETCP
ZTBPETC1
ZTBPELIS
CONNECT
TCP
E00 E11 E33
CONNECT TCP Sxx
Sxx
EOT EOI INC
Onesait Ecosystems Editran
2. Descripción de la implantación TCP/IP
5
de llamadas entrantes el cliente que se utilizará será el asignado al Listener pero este cliente debe estar en la lista consignada para esa sesión. Esta funcionalidad permite balancear la carga y disponer de líneas alternativas de conexión.
Onesait Ecosystems Editran
3. Recursos TCP/IP
6
3 Recursos TCP/IP
Se modificarán los ficheros de configuración del TCP/IP de la instalación para incluir la conexión a editran. Se crearán o modificarán los TCPIP.PROFILE y TCPIP.DATA y se habilitará una región TCP accesible desde IMS.
3.1 Fichero TCPIP.PROFILE
Opcionalmente puede reservarse el puerto de editran, para su uso exclusivo, mediante la macro PORT. Para ello se asigna el nombre de JOB del Listener, que se arranca mediante el JCL ZTBPJLIS, al puerto de editran (generalmente 7777). Esto permite que ninguna otra aplicación realice escuchas sobre ese puerto.
PORT
7777 TCP KI1056EI ; IMS Socket
3.2 Fichero TCPIP.DATA
Se podrá tomar el nombre del procedimiento de arranque del ‘address space’ del TCP/IP para incluirlo en el Perfil de entorno de editran/P como REGION TCP/IP y en el fichero de configuración del Listener como TCPNAME. En este caso los procesos TCP se ejecutan en esa pila IP. Si no consignamos nada, cada proceso TCP se ejecutaría sobre la pila IP que por defecto le correspondiese a esa región (ficha SYSTCPD). En cualquier caso, el Listener y el Cliente-Servidor deben ejecutarse en la misma pila IP.
;
TCPIPJOBNAME TCPIPB2
Onesait Ecosystems Editran
4. Operaciones de administración y configuración
7
4 Operaciones de administración y configuración
4.1 JCL de arranque de los procesos
Las BMPs que forman el Listener y el Cliente-Servidor se ejecutarán mediante dos JCLs (ZTBPJLIS y ZTBPJTCP) que se arrancarán manualmente y permanecerán siempre activos.
El nombre del JOB asociado al Listener (KI1056E) puede ser definido en el fichero de configuración TCP ‘PROFILE’ asignado al puerto de escucha para editran.
//KI1056EI JOB (SNIM,KIT,,99),LISTENER,MSGCLASS=H,CLASS=A,
// MSGLEVEL=1
//TCPI EXEC IMSBATCH,MBR=ZTBPELIS,PSB=ZTBPELIS,IMSID=IMSP,
// PREFIX=IMS510P,REGION=6M
//STEPLIB DD DSN=IMS510P.RESLIB,DISP=SHR
// DD DSN=KI.EGDI.LOAD,DISP=SHR
//ZTBPFLIS DD DSN=KI.EGDI.ZTBP.JCLS(ZTBPFLIS),DISP=SHR
//SYSOUT DD SYSOUT=*
//
//KI0E8A2S JOB (SNIM,KIT,,99),CLIENTE-SERVIDOR,MSGCLASS=H,CLASS=A,
// MSGLEVEL=1
//ZTBPEBDA EXEC IMSBATCH,MBR=ZTBPEBDA,PSB=ZTBPBDDA,PREFIX=IMS510P
//STEPLIB DD DSN=IMS510P.RESLIB,DISP=SHR
// DD DSN=IMS510P.PGMLIB,DISP=SHR
// DD DSN=KI.EGDI.LOAD,DISP=SHR
//DFSVSAMP DD DSN=IMS510P.PROCLIB(DFSVSAMP),DISP=SHR
//SYSOUT DD SYSOUT=H
//SYSPRINT DD SYSOUT=H
//PRINTDD DD SYSOUT=H
//TCPIP EXEC IMSBATCH,MBR=ZTBPETCP,PSB=ZTBPETCP,IMSID=IMSP,IN=ZTCP,
// PREFIX=IMS510P,REGION=6M
//STEPLIB DD DSN=IMS510P.RESLIB,DISP=SHR
// DD DSN=KI.EGDI.LOAD,DISP=SHR
//SYSTCPD DD DSN=TCPIP.SEZAINST(TCPDATB2),DISP=SHR
//SYSOUT DD SYSOUT=*,OUTLIM=999999
//
4.2 Parada de los procesos
El Cliente-Servidor y el Listener pueden ser parados mediante comandos MODIFY o STOP de consola.
F nnnnnnnn,STOP o bien P nnnnnnn.
El Cliente-Servidor puede detenerse enviándole el mensaje
ZTCx FIN
Donde ZTCx es el nombre de la transacción asignada al cliente.
Como BMP también pueden ser parados con el comando IMS /STO REG n ABDUMP
Onesait Ecosystems Editran
4. Operaciones de administración y configuración
8
4.3 Modificación de entorno
En primer lugar, se modificará el Entorno Local.
La transacción o transacciones asociadas al Cliente Servidor (ZTC* asociadas al programa ZTBPETCP), se dan de alta como CLIENTE SERVIDOR TCP/IP.
La REGION TCP/IP es el nombre del TCP definido en el fichero TCPIP.DATA. Podemos dejarlo en blanco para que lo asuma por defecto
El INTERVALO T/O es el tiempo máximo en milisegundos que editran utilizará para completar una conexión, para esperar la llegada o el envío de un dato a través de un ‘socket’. Se modificará en la instalación para adaptarlo a la velocidad de respuesta de las instalaciones remotas. Largos intervalos ralentizan la trasmisión mientras que intervalos pequeños pueden aumentar el consumo de CPU
El LIMITE CHKP (límite de ‘check-point’) regula la ejecución de puntos de sincronismo en el Cliente-Servidor. El valor de ‘mensajes’ indica el número de llamadas al DLI a partir del cual se genera ‘check-point’. Deberá aproximarse al número máximo de mensajes por transacción permitido en la instalación para otras aplicaciones. El valor de ‘minutos’ señala el tiempo máximo entre dos ‘check-point’. Sirve para evitar que el Cliente esté largos intervalos de tiempo sin hacer sincronismos.
El INTERVALO T/O es el tiempo máximo en milisegundos que editran utilizará para completar una conexión o para esperar la llegada o el envío de un dato a través de un ‘socket’. Se modificará en la instalación para adaptarlo a la velocidad de respuesta de las instalaciones remotas. Largos intervalos ralentizan la trasmisión mientras que intervalos pequeños pueden aumentar el consumo de CPU.
T/O LLAMADA ENTRANTE: indica el tiempo de espera para la recepción de datos de conexión en una llamada entrante. Generalmente es suficiente un intervalo del orden de 1 o 2 segundos, pero en caso de redes o máquinas sobrecargadas o en caso de remotos con incidencias de programación no corregidas es necesario alargar este tiempo al orden de decenas de segundos.
El BUFFER DE ENVIO y BUFFER DE RECEPCION permiten modificar el ‘buffer’ TCP asignado a cada ‘‘socket’’ cuando no es posible hacerlo en las definiciones TCP. Modifican los valores asignados por defecto en la macro TCPCONFIG del fichero PROFILE.TCPIP (parámetros TCPSENDBfrsize y TCPRCVBufrsize). El valor del buffer nunca debe sobrepasar los máximos permitidos en la macro TCPCONFIG. Este valor se tomará como base para las sesiones donde podrá particularizarse.
El PROXY EDITRAN indica la dirección IP donde se encuentra instalado el producto editran/Px. Esta facilidad permite el filtrado de peticiones de conexión entrantes o salientes y el control de tráfico. Generalmente se ejecuta en una máquina situada en la DMZ para servir de pantalla entre Internet, o una extranet, y nuestra red interna. El PUERTO se refiere al puerto por el que editran/Proxy escucha nuestras peticiones de conexión. Para utilizar esta facilidad, en llamadas salientes, hay que indicarlo en la sesión editran (parámetro USAR PROXY). Las peticiones entrantes pueden entrar, indistintamente, a través del Proxy o bien directamente, de formar transparente.
Onesait Ecosystems Editran
4. Operaciones de administración y configuración
9
Estos valores serán arrastrados a todas las Sesiones de editran.
4.4 Modificación de sesiones
Se pondrá en las Sesiones TIPO CONEXION ‘I’. Las direcciones IP remotas se consignan como DIRECCIÓN IP REMOTA en formato numérico (999.999.999.999) o como nombres de un DNS (WWW.INDRA.ES). El PUERTO se refiere al puerto por el que escucha el editran remoto (generalmente 07777). Si se dispone de Proxy editran, podemos indicar ‘USAR PROXY TCP/IP= S’ para que las llamadas salientes se dirijan a través del Proxy.
En la siguiente pantalla se indican los PROXY a emplear en la sesión.
24/01/17 11:03:23 MODIFICACION DE ENTORNO (1) IPVAR005 EDITRAN/P 5.2
------------------------------------------------------------------------------
CODIGO LOCAL: 0 0009998 0 VERSION EDITRAN: 5.2 FASE: 00
ALIAS : L00 NOMBRE INSTALACION : INDRA IMS DESARROLLO
NOMBRE IMS : IMSPRUE TERMINAL OPERADOR :
NRO MAX CONEXIONES: 999 REGION TCP/IP :
CLIENTE SERVIDOR : ZTCP ZTC1
LIMITE CHKP : 0200 mensajes 010 minutos
INTERVALO T/O TCP : 000200 mlseg. T/O LLAMADA ENTRANTE: 30 seg.
BUFFER DE ENVIO : 262144 bytes BUFFER DE RECEPCION : 262144 bytes
DIRECCION IP PROXY PUERTO
editran.indra.es 07778
172.026.210.177 07778
172.022.241.001 07778
24/01/17 11:06:16 MODIFICACION DE SESION (1) IPVAR005 EDITRAN/P 5.2
------------------------------------------------------------------------------
LOCAL : 000099980 NOMBRE: INDRA IMS DESARROLLO TERMINAL OPERADOR:
REMOTO : 000099990 NOMBRE: 172.022.242.194 VERSION REMOTO : 5.1
APLICACION: PRUEBA NOMBRE:
TIPO DE CONEXION : I (I=TCP/IP)
USAR PROXY TCP/IP (S/N) : S
SESION HABILITADA (S/N) :
EXTREMO LLAMANTE (L/R/X) : X VALIDAR DIRECCION IP (S/N) : N
SENTIDO DEL TRAFICO (L/R/X): X ROTAR DIRECCIONES (L/R/X/N): X
CONEXION AUTOMATICA (S/N) : S DESCONEXION AUTOMATICA(S/N): S
DIRECCION IP REMOTA (TCP/IP) PUERTO
editran.indra.es 07779
24/01/17 11:07:50 MODIFICACION DE SESION (2) IPVAR005 EDITRAN/P 5.2
CODIGO LOCAL: 000099980 CODIGO REMOTO: 000099990 APLICACION: PRUEBA
DIRECCION IP PROXY PUERTO
proxy.indra.es 07778
172.022.241.001 07778
Onesait Ecosystems Editran
4. Operaciones de administración y configuración
10
En CLIENTE SERVIDOR TCP/IP se especifican las transacciones de los clientes para esta sesión.
En BUFFER DE ENVIO y BUFFER DE RECEPCION podemos cambiar el valor del entono para los buffer TCP.
4.5 Adaptación del JCL de arranque del Listener
El proceso del Listener se apoya en un fichero de configuración para adaptar ciertos valores en la instalación.
//KI1056EI JOB (SNIM,KIT,,99),LISTENER,MSGCLASS=H,CLASS=A,
// MSGLEVEL=1
//TCPI EXEC IMSBATCH,MBR=ZTBPELIS,PSB=ZTBPELIS,IMSID=IMSP,
// PREFIX=IMS510P,REGION=6M
//STEPLIB DD DSN=IMS510P.RESLIB,DISP=SHR
// DD DSN=KI.EGDI.LOAD,DISP=SHR
//ZTBPFLIS DD *
NOMBRE DEL TCP, TCPNAME=TCPIPB2
NOMBRE DE LAM TRANSACCION CLIENTE/SERVIDOR, SERVER=ZTCP
NUMERO DE CONEXIONES QUE ACEPTA EL LISTENER, CON-PTE=0050
INTERVALO DE TIME-OUT PARA PASAR CONEXIONES, SEG:MSG-TO=030:000
PUERTO POR EL QUE VOY A ESCUCHAR, PUERTO=7777
TIEMPO ENTRE 'CHECK-POINT' (MINUTOS), CHKP=060
Como TCPNAME se consigna el nombre de la región TCP que se da de alta en Perfiles. Si lo dejamos a espacios se tomará el valor por defecto para ese JCL (ficha SYSTCPD). El Listener y su Cliente-Servidor deben ejecutarse en la misma región TCP.
EL SERVER se corresponde a la transacción del Cliente-Servidor (ZTCP).
CON-PTE indica el número de peticiones de conexión pendientes que el Listener puede acumular sin ser procesadas.
SEG:MSG-TO señala en segundos y milisegundos el tiempo máximo que el Listener esperará para que el Cliente-Servidor procese una petición de conexión del remoto. Estos intervalos se alargarán si se producen tiempos de respuesta grandes en el Cliente-Servidor.
PUERTO apunta el puerto local por el que editran recibirá las conexiones. Tradicionalmente se asigna el 7777. Este valor es el que puede apuntarse en el fichero. PROFILE como puerto de EDITRAN. Los editranes remotos reseñarán este puesto en las sesiones que tengan definidas con nosotros. No es necesario que un extremo y otro escuchen por el mismo número de puerto. Basta con que se asocie correctamente el puerto de la sesión local con el puerto de escucha remoto y viceversa.
CHKP limita el intervalo máximo de tiempo (en minutos) para realizar ‘check-point’. Es análogo al parámetro LIMITE CHKP definido en el Entorno para el Cliente Servidor. Garantiza que el LISTENER ejecute un sincronismo cada cierto tiempo.
24/01/17 11:09:23 MODIFICACION DE SESION (3) IPVAR005 EDITRAN/P 5.2
------------------------------------------------------------------------------
CODIGO LOCAL: 000099980 CODIGO REMOTO: 000099990 APLICACION: PRUEBA
CLIENTE SERVIDOR TCP/IP: ZTCP ZTC1
BUFFER ENVIO : 262144 BUFFER RECEPCION: 262144
CRC (S/N) : S TRANSACCION NUCLEO : ZTB1
NUM. REG. SINCRONISMO : 025 TRAZA (S/C/N) : C
TIME - OUT (MSS) : 015 NUM. MAX. REINTENTOS : 3
TIME - OUT DATOS (MSS) : 100 ENVIO POR SWIFT (S/N) : N
LONG MENSAJE (0252-4050): 4050 EXIT DE USUARIO :
HORA INICIO (HHMMSS) : 000000 HORA FIN (HHMMSS) : 000000
ENVIO AUTOMATICO (S/N) : N COMPRESION (S/N/V) : N
TRANSACCION EDITRAN/TR : TERMINAL EDITRAN/TR :
Onesait Ecosystems Editran
4. Operaciones de administración y configuración
11
BUFFER sirve para modificar el valor del buffer de envío y recepción asignado al ‘socket’, para todas las llamadas entrantes. Tiene el mismo significado que el parámetro BUFFER DE ENVIO y RECEPCION de entorno.
Onesait Ecosystems Editran
5. Anexos
12
5 Anexos
5.1 Lista de módulos
5.1.1 Ejecutables
ZTBPBCDA ZTBPBCSO ZTBPBSTO ZTBPEBDA ZTBPELIS
ZTBPETCP
5.1.2 Fuentes de DLI
ZTBPBCDA ZTBPBCSO ZTBPDDAD ZTBPDDAI ZTBPDSOD
ZTBPDSOI ZTBPEBDA ZTBPELIS ZTBPETCP ZTBPFDAD
ZTBPFDAI ZTBPFSOD ZTBPFSOI
5.1.3 JCLs
ZTBPFLIS ZTBPFLI1 ZTBPJBDA ZTBPJCDA ZTBPJCSO
ZTBPJLIS ZTBPJLI1 ZTBPJTCP ZTBPJTC1
5.2 Definiciones TCP/IP
5.2.1 Procedimiento de arranque de TCP
000001 //TCPIPB2 PROC PARMS='CTRACE(CTIEZB00)'
000003 //* Communication Server/390
000004 //* SMP/E Distribution Name: EZAEB01G
000006 //* 5647-A01 (C) Copr. IBM Corp. 1991,1997.
000007 //* All rights reserved.
000008 //* US Government Users Restricted Rights -
000009 //* Use, duplication or disclosure restricted
000010 //* by GSA ADP Schedule Contract with IBM Corp.
000011 //* See IBM Copyright Instructions
000014 //TCPIP EXEC PGM=EZBTCPIP,
000015 // PARM='&PARMS',
000016 // REGION=32M,TIME=1440
000018 //* The C runtime libraries should be in the system's link list
000019 //* or add them via a STEPLIB definition here. If you add
000020 //* them via a STEPLIB, they must be APF authorized with DISP=SHR
000022 //STEPLIB DD DSN=TCPIP.SEZALINK,DISP=SHR
000023 // DD DSN=TCPIP.SEZALNK2,DISP=SHR
000025 //* SYSPRINT contains run-time diagnostics from TCPIP. It may be
000026 //* a data set or SYSOUT.
000027 //* ALGPRINT contains run-time diagnostics from TCPIP's Autolog
000028 //* task. It should be SYSOUT.
000029 //* SYSERROR contains error messages from TCPIP that occurred
000030 //* while processing the PROFILE.
Onesait Ecosystems Editran
5. Anexos
13
000031 //*
000032 //SYSPRINT DD SYSOUT=*,DCB=(RECFM=FB,LRECL=137,BLKSIZE=137)
000033 //ALGPRINT DD SYSOUT=*,DCB=(RECFM=FB,LRECL=137,BLKSIZE=137)
000034 //SYSOUT DD SYSOUT=*,DCB=(RECFM=FB,LRECL=137,BLKSIZE=137)
000035 //CEEDUMP DD SYSOUT=*,DCB=(RECFM=FB,LRECL=137,BLKSIZE=137)
000036 //SYSERROR DD SYSOUT=*
000037 //*
000038 //* TNDBCSCN is the configuration data set for TELNET DBCS
000039 //* transform mode.
000040 //*
000041 //*TNDBCSCN DD DSN=TCPIP.SEZAINST(TNDBCSCN),DISP=SHR
000043 //* TNDBCSXL contains binary DBCS translation table codefiles
000044 //* used by TELNET DBCS Transform mode.
000045 //*
000046 //*TNDBCSXL DD DSN=TCPIP.SEZAXLD2,DISP=SHR
000048 //* TNDBCSER receives debug output from TELNET DBCS Transform
000049 //* mode, when TRACE TELNET is specified in the PROFILE data set.
000050 //*
000051 //*TNDBCSER DD SYSOUT=*
000053 //* TCPIP reads the parameters from a data set with name
000054 //* TCPIP.nodename.TCPIP or with name TCPIP.PROFILE.TCPIP.
000055 //* See the chapter on "Configuring the TCPIP Address Space" in
000056 //* the Configuration Guide for more information. A sample of
000057 //* such a profile is included in member SAMOPROF of the
000058 //* SEZAINST data set.
000059 //*
000060 //PROFILE DD DISP=SHR,DSN=TCPIP.SEZAINST(CPUBPRO2)
000062 //* SYSTCPD explicitly identifies which data set is to be
000063 //* used to obtain the parameters defined by TCPIP.DATA.
000064 //* The SYSTCPD DD statement should be placed in the TSO logon
000065 //* procedure or in the JCL of any client or server executed
000066 //* as a background task. The data set can be any sequential
000067 //* data set or a member of a partitioned data set (PDS).
000068 //*
000069 //* For more information please see "Understanding TCP/IP Data
000070 //* Set Names" in the Configuration Guide.
000071 //*
000072 //SYSTCPD DD DSN=TCPIP.SEZAINST(TCPDATB2),DISP=SHR
****** **************************** Bottom of Data ****************************
Onesait Ecosystems Editran
5. Anexos
14
5.2.2 Fichero TCPIP.PROFILE
; TCPIP.PROFILE.TCPIP
; ===================
;
; COPYRIGHT = NONE.
;
; This is a sample configuration file
; for the TCPIP address space.
;
; NOTES:
;
; The device configuration statements MUST be changed to match your
; hardware and software configuration.
;
; The BEGINVTAM section must be changed to match your VTAM
; configuration.
;
;
; For more information about this file, see "Configuring the TCPIP
; Address Space" and "Configuring the Telnet Server" in the
; Configuration Guide.
;
; ----------------------------------------------------------------------
;
;
; Flush the ARP tables every 20 minutes.
;
ARPAGE 20
;
; You can specify DATASETPREFIX in the PROFILE.TCPIP but it no longer
; has any affect on the TCP/IP stack.
;
; ----------------------------------------------------------------------
;
; Set Telnet time-out to 10 minutes.
;
TELNETPARMS
PORT 23
INACTIVE 600
TIMEMARK 600
SCANINTERVAL 120
SMFINIT STD
SMFTERM STD
WLMCLUSTERNAME TN3270E ENDWLMCLUSTERNAME
ENDTELNETPARMS
; ----------------------------------------------------------------------
;
; AUTOLOG the following servers.
;
AUTOLOG 5
; FTPD JOBNAME FTPD1 ; FTP Server
; FTPDB ; FTP Server de la CPU-B
; LPSERVE ; LPD Server
; NAMESRV ; Domain Name Server
; NCPROUT ; NCPROUTE Server
; PORTMAP ; Portmap Server
; OROUTED ; RouteD Server
; RXSERVE ; Remote Execution Server
; SMTP ; SMTP Server
; OSNMPD ; SNMP Agent Server
; SNMPQE ; SNMP Client
; TCPIPX25 ; X25 Server
ENDAUTOLOG
;
; ----------------------------------------------------------------------
Onesait Ecosystems Editran
5. Anexos
15
;
; Reserve ports for the following servers.
;
; NOTES:
;
; A port that is not reserved in this list can be used by any user.
; If you have TCP/IP hosts in your network that reserve ports
; in the range 1-1023 for privileged applications, you should
; reserve them here to prevent users from using them.
;
; The port values below are from RFC 1060, "Assigned Numbers."
;
PORT
7 UDP MISCSERV ; Miscellaneous Server
7 TCP MISCSERV
9 UDP MISCSERV
9 TCP MISCSERV
19 UDP MISCSERV
19 TCP MISCSERV
20 TCP OMVS NOAUTOLOG ; FTP Server
21 TCP FTPD1 ; FTP Server
23 TCP OMVS ; TELNET SERVER
25 TCP SMTP ; SMTP Server
53 TCP NAMESRV ; Domain Name Server
53 UDP NAMESRV ; Domain Name Server
111 TCP PORTMAP ; Portmap Server
111 UDP PORTMAP ; Portmap Server
135 UDP LLBD ; NCS Location Broker
161 UDP OSNMPD ; SNMP Agent
162 UDP SNMPQE ; SNMP Query Engine
512 TCP RXSERVE ; Remote Execution Server
514 TCP RXSERVE ; Remote Execution Server
515 TCP LPSERVE ; LPD Server
520 UDP OROUTED ; RouteD Server
580 UDP NCPROUT ; NCPROUTE Server
750 TCP MVSKERB ; Kerberos
750 UDP MVSKERB ; Kerberos
751 TCP ADM@SRV ; Kerberos Admin Server
751 UDP ADM@SRV ; Kerberos Admin Server
3000 TCP CICSTCP ; CICS Socket
7777 TCP KI1056EI ; IMS Socket
;
; ----------------------------------------------------------------------
;
; Hardware definitions:
;
; NOTE: To use these device and link statements, update the statements
; to reflect your installation configuration and remove the semicolon
;
;
; LOSAB4 osa2 with a Token-Ring and Ethernet adapter.
;
DEVICE LOSAB4 LCS 1004
LINK OSAB4TCP IBMTR 0 LOSAB4
;LINK ETH1 ETHERNET 1 LCS1
;
; LCS2 is a 3172 Model 2 with a FDDI adapter.
;
;DEVICE LCS2 LCS BE0
;LINK FDDI1 FDDI 0 LCS2
;
; SNALU0 is an SNA Link.
;
;DEVICE SNALU0 SNAIUCV SNALINK LU000000 SNALINK
;LINK SNA1 IUCV 1 SNALU0
;
Onesait Ecosystems Editran
5. Anexos
16
; ----------------------------------------------------------------------
;
; HOME Internet (IP) addresses of each link in the host.
;
; NOTE: To use this home statement, update the ipaddress and linknames
; to reflect your installation configuration and remove the semicolon
;
HOME
192.168.172.089 OSAB4TCP
;
; ---------------------------------------------------------------------
;
; The PRIMARYINTERFACE statement is used to specify which interface
; is the primary interface.
;
; If PRIMARYINTERFACE is not specified, then the first link in the HOME
; statement is the primary interface, as usual.
;
; NOTE: To use this primary statement, update the and linkname
; to reflect your installation configuration and remove the semicolon
;
PRIMARYINTERFACE OSAB4TCP
;
; ----------------------------------------------------------------------
;
; IP routing information for the host. All static IP routes should
; be added here.
;
; NOTE: To use this GATEWAY statement, update the addresses and links
; to reflect your installation configuration and remove the semicolon
;
GATEWAY
;
; Direct Routes - Routes that are directly connected to my interfaces.
;
; Network First Hop Link Name Packet Size Subnet Mask Subnet Value
192.168.172 = OSAB4TCP 1500 0
;
; Indirect Routes - Routes that are reachable through routers on my
; network.
;
; Network First Hop Link Name Packet Size Subnet Mask Subnet Value
; 193.12.2 130.50.10.1 TR1 2000 0
; 10.5.6.4 193.5.2.10 ETH1 1500 HOST
;
; Default Route - All packets to an unknown destination are routed
; through this route.
;
; Network First Hop Link Name Packet Size Subnet Mask Subnet Value
DEFAULTNET 192.168.172.254 OSAB4TCP DEFAULTSIZE 0
;
; ----------------------------------------------------------------------
;
; orouted Routing Information
;
; if you are using orouted, comment out the GATEWAY statement and
; update the BSDROUTINGPARMS statement to reflect your installation
; configuration and remove the semicolon
;
; Link Maxmtu Metric Subnet Mask Dest Addr
; BSDROUTINGPARMS false
; TR1 2000 0 255.255.255.0 0
Onesait Ecosystems Editran
5. Anexos
17
; ETH1 1500 0 255.255.255.0 0
; FDDI1 DEFAULTSIZE 0 255.255.255.0 0
; ENDBSDROUTINGPARMS
;
; ----------------------------------------------------------------------
;
; Use TRANSLATE to specify the hardware address of a specific IP
; address. See the Customization and Administration Guide for more
; information.
;
TRANSLATE
; A null translate statement issues the warning message EZZ0323I
;
; ----------------------------------------------------------------------
;
; Turn off all tracing. If tracing is to be used, change the following
; line. To trace the configuration component, for example, change
; the line to ITRACE ON CONFIG 1
;
ITRACE OFF
;
; ----------------------------------------------------------------------
; The ASSORTEDPARMS NOFWD will prevent the forwarding of IP packets
; between different networks. If NOFWD is not specified, IP packets
; will be forwarded between networks when this host is a gateway.
;
ASSORTEDPARMS
NOFWD
ENDASSORTEDPARMS
; NOFWD issues the informational message EZZ0334I
;
; ----------------------------------------------------------------------
;
; Define the VTAM parameters required for the Telnet server.
;
BEGINVTAM
; Define logon mode tables to be the defaults shipped with the
; latest level of VTAM
TELNETDEVICE 3278-2-E NSX32702 ; 24 line screen - default of NSX32702
TELNETDEVICE 3279-2-E NSX32702 ; 24 line screen - default of NSX32702
TELNETDEVICE 3278-3-E NSX32703 ; 32 line screen - default of NSX32702
TELNETDEVICE 3279-3-E NSX32703 ; 32 line screen - default of NSX32702
TELNETDEVICE 3278-4-E NSX32704 ; 48 line screen - default of NSX32702
TELNETDEVICE 3279-4-E NSX32704 ; 48 line screen - default of NSX32702
TELNETDEVICE 3278-5-E NSX32705 ; 132 column screen - default of NSX327
TELNETDEVICE 3279-5-E NSX32705 ; 132 column screen - default of NSX327
;
; Define las direcciones IP de Técnica de Sistemas
;
IPGROUP DirSiste
192.168.168.67
192.168.168.68
192.168.168.72
ENDIPGROUP
;
LUGROUP LuSiste
ip2sis01..ip2sis03
ENDLUGROUP
;
LUMAP LuSiste DirSiste
;
LUSESSIONPEND ; On termination of a Telnet server connection,
; the user will revert to the DEFAULTAPPL
USSTCP USSBSC DirSiste
ALLOWAPPL * ; Allow all applications that have not been
LINEMODEAPPL NOLASE
Onesait Ecosystems Editran
5. Anexos
18
ENDVTAM
;
; ----------------------------------------------------------------------
;
; Start all the defined devices.
;
; NOTE: To use these START statements, update the device name
; to reflect your installation configuration and remove the semicolon
;
START LOSAB4
; START LCS2
; START SNALU0
5.2.3 Fichero TCPIP.DATA
;***********************************************************************
; *
; Name of Data Set: TCPIP.DATA *
; *
; COPYRIGHT = NONE. *
; *
; This data, TCPIP.DATA, is used to specify configuration *
; information required by TCP/IP client programs. *
; *
; *
; Syntax Rules for the TCPIP.DATA configuration data set: *
; *
; (a) All characters to the right of and including a ; will be *
; treated as a comment. *
; *
; (b) Blanks and <end-of-line> are used to delimit tokens. *
; *
; (c) The format for each configuration statement is: *
; *
; <SystemName||':'> keyword value *
; *
; where <SystemName||':'> is an optional label that can be *
; specified before a keyword; if present, then the keyword- *
; value pair will only be recognized if the SystemName matches *
; the node name of the system, as defined in the IEFSSNxx *
; PARMLIB member. This optional label permits configuration *
; information for multiple systems to be specified in a single *
; TCPIP.DATA data set. *
; *
; NOTE: You should define the SystemName in the IEFSSNxx *
; PARMLIB member to be the same as your JES2 or JES3 *
; node name. This is required for correct delivery of *
; SMTP mail. *
; *
;***********************************************************************
; TCPIPJOBNAME specifies the name of the started procedure that was
; used to start the TCPIP address space. TCPIP is the default.
;
TCPIPJOBNAME TCPIPB2 ;
; HOSTNAME specifies the TCP host name of this system. If not
; specified, the default HOSTNAME will be the node name specified
; in the IEFSSNxx PARMLIB member.
;
; For example, if this TCPIP.DATA data set is shared between 2
; systems, OURMVSNAME and YOURMVSNAME, then the following 2 lines
; will define the HOSTNAME correctly on each system.
;
;OURMVSNAME: HOSTNAME OURTCPNAME
;YOURMVSNAME: HOSTNAME YOURTCPNAME
;
HOSTNAME OS390B2 ;
Onesait Ecosystems Editran
5. Anexos
19
; DOMAINORIGIN specifies the domain origin that will be appended
; to host names passed to the resolver. If a host name contains
; any dots, then the DOMAINORIGIN will not be appended to the
; host name.
;
;DOMAINORIGIN YOUR.DOMAIN.NAME
DOMAINORIGIN TEL.INDRA.ES ;
; NSINTERADDR specifies the IP address of the name server.
; LOOPBACK (127.0.0.1) specifies your local name server. If a name
; server will not be used, then do not code an NSINTERADDR statement.
; (Comment out the NSINTERADDR line below). This will cause all names
; to be resolved via site table lookup.
;
;NSINTERADDR 127.0.0.1
NSINTERADDR 172.29.2.41
NSINTERADDR 192.168.1.30 ;
; NSPORTADDR specifies the foreign port of the name server.
; 53 is the default value.
;
NSPORTADDR 53
;
; RESOLVEVIA specifies how the resolver is to communicate with the
; name server. TCP indicates use of TCP virtual circuits. UDP
; indicates use of UDP datagrams. The default is UDP.
;
RESOLVEVIA TCP
;
; RESOLVERTIMEOUT specifies the time in seconds that the resolver
; will wait to complete an open to the name server (either UDP or TCP).
; The default is 30 seconds.
;
RESOLVERTIMEOUT 30
;
; RESOLVERUDPRETRIES specifies the number of times the resolver
; should try to connect to the name server when using UDP datagrams.
; The default is 1.
;
RESOLVERUDPRETRIES 1
;
; TRACE RESOLVER will cause a complete trace of all queries to and
; responses from the name server or site tables to be written to
; the user's console. This command is for debugging purposes only.
;
; TRACE RESOLVER
;
;
; You can specify DATASETPREFIX in the PROFILE.TCPIP and TCPIP.DATA
; data sets. The character string specified as a parameter on
; DATASETPREFIX takes precedence over both the distributed or modified
; data set prefix name as changed by the EZAPPRFX installation job.
; If this statement is used in a profile or configuration
; data set that is allocated to a client or a server, then
; that client or server dynamically allocates additional required data
; sets using the value specified for DATASETPREFIX as the data set name
; prefix. The DATASETPREFIX parameter can be up to 26 characters long
; and the parameter must NOT end with a period.
;
; For more information please see "Understanding TCP/IP Data Set
; Names" in the Customization and Administration Guide.
;
DATASETPREFIX TCPIP
;
;
; MESSAGECASE MIXED indicates to the FTP server, FTP client, TELNET
; client, and PING client that all messages should be displayed in
; mixed case. MESSAGECASE UPPER indicates to the FTP server, FTP
; client, TELNET client, and PING client that all messages should
; be displayed in uppercase. Mixed case inserts in messages will
; will not be uppercased.
; If MESSAGECASE is not specified, mixed case messages will be used.
;
; MESSAGECASE MIXED
Onesait Ecosystems Editran
5. Anexos
20
; MESSAGECASE UPPER
;
; LOADDBCSTABLES indicates to the FTP server and FTP client which DBCS
; translation tables should be loaded at initialization time. Remove
; from the list any tables that are not required. If LOADDBCSTABLES is
; not specified, no DBCS tables will be loaded.
;
; LOADDBCSTABLES JIS78KJ JIS83KJ SJISKANJI EUCKANJI HANGEUL KSC5601
; LOADDBCSTABLES TCHINESE BIG5 SCHINESE
;***********************************************************************
;
; End of file.
Persona de contacto
Avda. de Bruselas 35
28108 Alcobendas,
Madrid, España
T +34 91 480 50 00
F +34 91 480 50 80
www.minsait.com