6.4.8 TCP service definition file (apmtcpserv.conf)
In the TCP service definition file of APM, specify whether to enable or disable the TCP health check function and the port number used for communication with SSO. Note the following when creating the TCP service definition file:
-
If the TCP service definition file does not exist in the $APM_CONF directory, the SNMP(UDP) protocol is used as before.
-
To apply updates in this definition file, restart APM.
- Organization of this subsection
(1) Format
The format of the TCP service definition file is as follows:
(2) Description
Key name |
Value |
---|---|
TCPSERVMODE <<OFF>>((OFF|ON)) |
Specify ON to enable the TCP health check function or OFF to disable the function. |
LISTENPORT <<20307>>((1 to 65535)) |
Specify the port number at which TCP connection from SSO is accepted when enabling the TCP health check function. |
(3) Directions of traffic through a firewall
The following table describes the directions of health check traffic through the firewall when the TCP health check function is enabled:
Program |
Process name |
Port number# |
Directions of traffic through a firewall |
---|---|---|---|
APM (TCP health check acceptance) |
apmProcMng |
20307/tcp |
APM<- SSO |