Previous Topic: Setup Multiple TCP/IP Address Spaces

Next Topic: Change the Characteristics of a Protocol

Setup Multiple CCITCP Address Spaces

To run multiple CCITCP address spaces you should configure TCP/IP to specify the SHAREPORT option. Specifying this option configures TCP/IP to allow multiple listeners on the CAICCI port (port 1202). This parameter is set in your TCP/IP PROFILE member where you reserve PORTs. For example:

1202 TCP CCITCP  SHAREPORT   ; CAICCI servers
1202 TCP CCITCP2 SHAREPORT   ; CAICCI servers

As client connection requests arrive for this port, TCP/IP distributes them across the members. TCP/IP selects the member with the fewest number of connections (both active and queued) at the time the request is received.

Then you can start multiple CCITCP address spaces manually as follows:

S CCITCP
S CCITCP.CCITCP2

Optionally, you may define a PROTOCOL using SPNPARMS that will start the second copy. For example:

TCPIP2         SERVICE  SERVER_NAME=MVS_START_SERVER,                   
               MAX#_PROCESSES=1                                         
               PROCESS  PROCESS_TYPE=MVS_STC,PROCNAME=CCITCP,           
               JOBNAME=CCITCP2                                          

By adding the following PROTOCOL statements to your CAICCI parameters, CAIENF will issue the start commands:

PROTOCOL(TCPIP,1202)
PROTOCOL(TCPIP2,1202)

This technique can also be used for TCPIPGW/TCPSSLGW protocols.

Note: CAICCI can support the execution of all PROTOCOLs simultaneously. However, any one system can only be connected using one of these protocols. Protocol establishment between connected systems is one to one, such as VTAM to VTAM. You cannot attempt to use a multi-protocol connection scheme between two systems. That is, SYSA cannot connect to SYSB over both the TCPIPGW and VTAM protocols simultaneously. Therefore, it is invalid to code NODE statements in SYSA for SYSB using TCPIPGW and VTAM at the same time. But you can define PROTOCOL statements for TCPIPGW and VTAM, then connect to SYSB using VTAM and SYSC using TCPIPGW.

For example, you would not code on SYSA:

SYSID(CCISYSA)
PROTOCOL(VTAM,VTAMSYSA,01,CCISYSA)
PROTOCOL(TCPIPGW,7000,01,CCISYSA)
NODE(VTAM,VTAMSYSB,01,CCISYSB)
NODE(TCPIPGW,7000,01,CCISYSB)
CONNECT(CCISYSB)

Rather, you would code on SYSA the following:

SYSID(CCISYSA)
PROTOCOL(VTAM,VTAMSYSA,01,CCISYSA)
PROTOCOL(TCPIPGW,7000,01,CCISYSA)
NODE(VTAM,VTAMSYSB,01,CCISYSB)
NODE(TCPIPGW,7000,01,CCISYSC)
CONNECT(CCISYSB)
CONNECT(CCISYSC)