System and configuration considerations to be aware of; when running both the TCPaccess and IM stacks on the same LPAR.
These are the basic rules for running a TCPaccess and IBM stack on 1 LPAR.
FILESYSTYPE TYPE(CINET) ENTRYPOINT(BPXTCINT) SUBFILESYSTYPE NAME(SNSTCP60) <---name must match STC name of TCPaccess stack DEFAULT PARM('SYSID(ACSS)') TYPE(CINET) ENTRYPOINT(T010PFSA) SUBFILESYSTYPE NAME(TCPIP) TYPE(CINET) ENTRYPOINT(EZBPFINI) NETWORK DOMAINNAME(AF_INET) DOMAINNUMBER(2) INADDRANYPORT(10000) INADDRANYCOUNT(1000) MAXSOCKETS(60000) TYPE(CINET)
Where SYSNAME is a name for the stack that must be defined in the network nameserver. In, general, the hostname of the stack can be used.
Example: If your fully qualified hostname is hostname.ca.com, you would define SYSUNIQ SYSNAME (hostname).
If your stack does not have a hostname, any value that is defined in the network nameserver that resolves to the IP address of the stack can be used.
If SYSUNIQ is not defined, TCPaccess will try to resolve the SMFID of the system to the IP address of the stack and some applications will not be able to connect.
To verify that the value you have selected will work, issue a PING against it from the network (i.e. DOS prompt), and see if it resolves to the stack IP address.
If so, it can be used as the value for SYSNAME.
Please note that values with dotted decimal notation cannot be used.
More information is available in Chapter 3 of the Customization Guide.
// FTPD EXEC PGM=&MODULE,REGION=4096K,TIME=NOLIMIT, // PARM=('POSIX(ON) ALL31(ON)', // 'ENVAR("_BPXK_SETIBMOPT_TRANSPORT=TCPIP")', // '/&PARMS')
If this is not defined, the IBM FTP server will try to connect to all stacks defined in the BPXPRM under CINET.
This is because it uses OE(USS) sockets, and that is standard processing for that socket interface.
That means it will connect to TCPaccess as well as IBM. When it connects to the TCPaccess stack, you now have two FTP servers running, and FTPs coming in to the TCPaccess stack will load balance between the two listeners.
Since an FTP expecting the TCPaccess server will not be able to connect correctly to the IBM FTP server, half of the FTP's will fail.
Coding stack affinity will prevent the problem permanently.
//STEP1 EXEC PGM=BPXTCAFF,PARM=TCPIP
as an extra step in front of the actual jobstep.