Consultor Eletrônico



Kbase P183657: Is there a command that I can use to query the status of a Replication server or agent?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   04/03/2011
Status: Unverified

GOAL:

Is there a command that I can use to query the status of a Replication server or agent?

GOAL:

What is a command I can run in a script in order to see if replicatoon is working as expected?

GOAL:

How to tell if replication is working via a command?

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.1x
OpenEdge 10.2x
OpenEdge Replication

FIX:

The command that can be used to check on the status of a Replication server or agent is:

dsrutil dbname -C status agentname -detail

If running this command on the source databasem the agent name is optional.

The return codes for this command are:


Code Description
0 The command completed normally, and the status code was sent to stdout.
2 There was a generic database open error.
3 The database was opened, but it is not enabled for replication.

For a complete list of status return codes, please see the documentation: OpenEdge Replication: User Guide: Reference: DSRUTIL status qualifier