Skip to end of metadata
Go to start of metadata

Finding the Replication Server (ERS) connected to the Enqueue service?

 

The first step is to find out the replication port defined by the parameter enque/encni/repl_port:

>sapcontrol -nr <instance number> -function ParameterValue enque/encni/repl_port
12.01.2016 16:42:07
ParameterValue
OK
50116


<instance number> represent the Enqueue instance number

The active ERS will keep connected to this TCP port constantly hence it is possible to identify the IP address connected to the replication port:

> netstat -an | grep 50116
tcp        0      0 0.0.0.0:50116           0.0.0.0:*               LISTEN
tcp        0      0 10.0.0.161:50116    10.0.0.21:63541     ESTABLISHED
unix  2      [ ACC ]     STREAM     LISTENING     2229917 /tmp/.sapstream50116
In this example the ERS is running in IP 10.0.0.21

 

 

 

 

<back to FAQ section>