AlterPath ACS Command Reference Guide
119
Network
4.8 TCP Keepalive
The objective of this feature is to allow the ACS to recognize when the socket client
(SSH or Telnet) goes down without closing the connection properly. Currently, if this
happens in a serial port the system administrator must close the connection manually or
nobody else can access that port anymore.
How it works
The TCP engine of ACS will send a tcp keepalive message (ACK) to the client. If the
maximum retry number is reached without an answer from the client, the connection is
closed.
VI mode
The configuration is done in the file
/bin/init_proc_fs
using the linux proc filesystem.
CLI Method - TCP Keep Alive
Step 1 - .Open the CLI interface by issuing the command:
# CLI
# Enable TCP keepalive timer in ACS (six retries with ten seconds
# of interval from each other).
# keepalive interval when the client is answering
echo 20 > /proc/sys/net/ipv4/tcp_keepalive_time
# keepalive interval when the client is not answering.
echo 10 > /proc/sys/net/ipv4/tcp_keepalive_intvl
# number of retries
echo 6 > /proc/sys/net/ipv4/tcp_keepalive_probes
# Enable TCP keepalive timer (six retries with twenty seconds
# of interval from each other).
echo 20 > /proc/sys/net/ipv4/tcp_keepalive_time
echo 6 > /proc/sys/net/ipv4/tcp_keepalive_probes
File Description 4.9: /bin/init_proc_fs
Summary of Contents for AlterPath ACS
Page 16: ...xvi Table of Contents...
Page 29: ...13 This page has been left intentionally blank...
Page 30: ...14 Preface...
Page 68: ...52 Device Access...
Page 86: ...70 Authentication Step 5 Saving changes To save the configuration run the command saveconf...
Page 96: ...80 Authentication Save the configuration to flash 2 cli config savetoflash...
Page 114: ...98 Authentication...
Page 204: ...188 Administration To exit the CLI mode and return to ACS s shell issue the command cli quit...
Page 268: ...252 Power Management with AlterPath PM Integration...
Page 304: ...288 PCMCIA Cards Integration...
Page 338: ...322 Profile Configuration...
Page 364: ...348 Additional Features and Applications...
Page 376: ...360 Appendix A New User Background Information...
Page 406: ...390 Appendix C Cabling and Hardware Information This page has been left intentionally blank...
Page 418: ...402 List of Tables...
Page 420: ...404 List of Figures...