Show TOC

Procedure documentationCheck Status Locate this document in the navigation structure

 

You can use the command line program ensmon to check the connection between the enqueue server and the replication server.

Prerequisites

You have started the (A)SCS instance of your SAP system. With an ABAP+Java system both the SCS instance and the ASCS instance must be running.

Start program ensmon on the host on which the replication server is installed.

Procedure

To determine the replication server enter the following command:

ensmon pf=<ERS_instance_prodfile> 2

The output tells you about the connection from the replication server to the enqueue server. The following options are available:

  • The connection is ok. This would look like:

    Try to connect to host <Virtual (A)SCS host> service sapdp01 get replinfo request executed successfully

    Replication is enabled in server, repl. server is connected

    Replication is active

    ...

    The connection is not ok. This would look like:

    Try to connect to host <Virtual (A)SCS host> service sapdp01 get replinfo request executed successfully

    Replication is enabled in server, but no repl. server is connected

    ...

    If the connection is not ok, first check whether the replication server has been started at all (using the operating system or the cluster software.)

    If the replication server has been started, check files dev_enqrepl on the enqueue server or dev_enrepsrv on the replication server (in the work directory of the (A)SCS or ERS instance). Here you will see, amongst other messages, network error messages (for example, "connection refused"),.

    Use the error messages and profile files here to narrow down the cause of the problem.

    If this does not work, restart the enqueue or replication server, and set profile parameter rdisp/TRACE = 3. Open a problem message for component BC-CST-EQ, and insert files dev_enqrepl and dev_enrepsrv as a message attachment.

    You then should monitor the lock table. More information: Monitor the Lock Table during a Failover

More Information

For more information about monitoring and about the program ensmon see Monitoring the Standalone Enqueue Server