To prevent losing connections between GTS servers, two new CA GTS parameters (KEEPALIVE(ON), and TCPKEEPALIVE(value)) are available to allow you to specify a timeout value to be used in place of the configuration default value from the TCP/IP stack. These parameters are set in the CA GTS, and therefore no change to TCP/IP is necessary.
Usage: Add the following parameters to member TCPIPCxx, and TCPIPSxx in the CA GTS CAGSPARM library.
KEEPALIVE(ON) - Make a SETSOCKOPT call to enable 'SO_KEEPALIVE' for the TCP/IP connection. The default is KEEPALIVE(OFF).
TCPKEEPALIVE(number) - Make a SETSOCKOPT call to set a value (in seconds) for TCP_KEEPALIVE. The default value is TCPKEEPALIVE(0).
The above parameters set a timeout value of 1800 seconds, or 30 minutes.
These parameters may be set on both ends of the connections. If you are not experiencing connection problems between GTS servers, then it's not necessary to set these parameters.
To display the connection status, run the following console commands:
> F cagts,TCPCLNT INFO
> F cagts,TCPSRVR INFO