Consultor Eletrônico



Kbase P107776: What status codes can be returned by dsrutil -C status?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/07/2009
Status: Verified

GOAL:


What status codes can be returned by dsrutil <db> -C status?

GOAL:

What status codes can be returned by rprepl <db> -C status?

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge Replication

FIX:

The rprepl db -C status or dsrutil db -C status command and the returned codes are being documented with OpenEdge 10.1A. The following codes can be returned:

RP_STATE_GROUP_CONNECTING = 100
RP_STATE_GROUP_PROCESSING = 101
RP_STATE_GROUP_STALLED = 102
RP_STATE_GROUP_PRE_TRANSITION = 103
RP_STATE_GROUP_LISTENING = 104
RP_STATE_GROUP_TRANSITION = 105
RP_STATE_GROUP_INACTIVE = 199
RP_STATE_GROUP_UNKNOWN = 255

If rprepl -C status being run for a -

source database, returned status is 1xxx
source database for a named agent, return status is 2xxx
target database, returned status is 3xxx

where xxx is one of the status number above. For example, if the repl server is operating normally, dsrutil/rprepl source -C status returns the status 1101.
These return codes are summary status codes. It is intended for OpenEdge 10.1A that more granular detail status codes will be returned if the -detail argument is used with rprepl -C status. For example:

RP_STATE_GROUP_UNKNOWN, "Unknown",

RP_STATE_GROUP_CONNECTING, "Initial Connection",
RP_STATE_GROUP_CONNECTING, "Initializing",

RP_STATE_GROUP_STALLED, "Target Database in Quiet Point",

RP_STATE_GROUP_INACTIVE, "Initial Connection Failed",
RP_STATE_GROUP_INACTIVE, "Recovery Failed",
RP_STATE_GROUP_INACTIVE, "Invalid Target Database Configuration",
RP_STATE_GROUP_INACTIVE, "Agent Failed",
RP_STATE_GROUP_INACTIVE, "Agent is Ignored",
RP_STATE_GROUP_INACTIVE, "Agent is Stopped",
RP_STATE_GROUP_INACTIVE, "Agent is Terminated",
RP_STATE_GROUP_INACTIVE, "Agent is Ended",

RP_STATE_GROUP_PROCESSING, "Startup Synchronization",
RP_STATE_GROUP_PROCESSING, "Normal Processing",
RP_STATE_GROUP_PROCESSING, "Recovery Synchronization",
RP_STATE_GROUP_PRE_TRANSITION, "Pre Transition",
RP_STATE_GROUP_PRE_TRANSITION, "Applying After-image Extent",
RP_STATE_GROUP_TRANSITION, "Transitioning",
RP_STATE_GROUP_LISTENING, "Listening",
RP_STATE_GROUP_CONNECTING, "Server Initialization",
RP_STATE_GROUP_CONNECTING, "Connecting to Agents",
RP_STATE_GROUP_CONNECTING, "Configuring Agent(s)",
RP_STATE_GROUP_PROCESSING, "Recovery Processing",
RP_STATE_GROUP_PROCESSING, "Startup Synchronization",
RP_STATE_GROUP_PROCESSING, "Normal Processing",

RP_STATE_GROUP_INACTIVE, "Server is ended"