Kbase 20017: How to Configure the Keepalive Parameters on AIX
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/13/2009 |
|
Status: Verified
GOAL:
How to Configure the Keepalive Parameters on AIX
GOAL:
How to set up TCP KeepAlive on AIX
FACT(s) (Environment):
IBM AIX
Progress/OpenEdge Product Family
OpenEdge Category: Configuration
FIX:
A keepalive message in Internet communications is a message sent among nodes when no data traffic has been detected for a given period of time and thus keeps the link alive.
To set the tcp_keepintvl, tcp_keepidle, and tcp_keepinit parameters on AIX, it is recommended to use the no command:
no -o tcp_keepintvl 150
no -o tcp_keepidle 14400
no -o tcp_keepinit 150
(The following values are examples and may not work in your situation.)
To list the network parameters, use the commands:
no -a
no -a | grep tcp_keep (to list only keepalive parameters)
The values for these intervals are in half-seconds.
The parameters are documented as follows:
- tcp_keepintvl
Specifies the interval, measured in half seconds, between packets sent to validate the connection. The default is 150 half seconds (75 seconds). It is a runtime attribute.
- tcp_keepidle
Specifies the length of time to keep the connection active, measured in half seconds. The default is 14,400 half seconds (7200 seconds or 2 hours). It is a runtime attribute.
- tcp_keepinit
Sets the initial timeout value for a tcp connection. This value is defined in 1/2 second units, and defaults to 150, which is 75 seconds. It can be changed to any value with the -o flag. tcp_keepinit is a runtime attribute.