Replication > Replication Overview > Monitoring Replication

Monitoring Replication

There are many SVCMON UDCs that can be used to monitor replication. SVCMON points can be created for your Source Service, your Replicated Service(s), or for both your Source and Replicated Service(s) using the CygNet ServiceMon Administration utility. The system replication info items upon which these UDCs are based can be viewed for each service on the Replication page of the CygNet Service Information dialog box.

See Replication Info Items for status information about replicating (source) and replicated (destination) services. Also see Monitoring VHS Replication.

Note: It is recommended that the SVCMON timer be set for no more than five seconds.

Info Item Description SVCMON UDC Create on Source or Replicated Service

CHANGE_QUEUE_GUID

This value indicates a randomly-generated globally unique identifier (GUID) that is used along with the change queue initialization time (CHANGE_QUEUE_INITED) to uniquely identify a change queue. A replicating service uses both the GUID and the change queue initialization time as part of the change queue pointer to the source. In a redundant environment with multiple replicating services this combination more accurately indicates when to do an incremental resync. Applies to DBS and VHS services only.

-

Source

CHANGE_QUEUE_NEWEST

A numeric value representing the ID (sequence number) of the most recent change added to the change queue. When replication is up to date, this value for the source service will match the REPL_LAST_SEQ value on the replicated service.

Note: This info item is displayed on both the Replication page and the Service Specific (CAS, CVS, DBS, VHS) page.

SVMDBSSEQC

Source

CHANGE_QUEUE_INITED

This value represents the timestamp when the change queue was first initialized. A change in this value indicates the source service’s change queue has been reinitialized and queued changes may have been lost. When this happens for the CAS, CVS, and DBS service types, a full resynchronization is performed by the replicated service. When replication is up to date, this value for the source service will match the REPL_SRC_CHG_Q_INIT value on the replicated service. (For VHS services, the info item VHS_QUEUE_INIT_TIME represents the same value.)

Note: This value and the CHANGE_QUEUE_GUID are used together to more accurately identify the change queue pointer in a redundant environment with multiple replicating services.

SVMCASCQIN

SVMCVSCQIN

SVMDBSCQIN

SVMVHSCQIN

Source

CHANGE_QUEUE_SIZE

The configured size of the service change queue. This is the number of changes the service will store to answer replication requests before expiring the oldest changes.

Note: This info item is displayed on both the Replication page and the Service Specific (CAS, CVS, DBS, VHS) page.

SVMVHSCQSZ

Source

DISK_QUEUE_LENGTH

The number of pending reads and writes to the disk on which the service's main data files reside. This corresponds to the Avg. Disk Queue Length Performance Monitor statistic for the PhysicalDisk you are monitoring (for example, 1C:, 1D:, etc.).

Note: This info item is displayed on the Machine Performance page.

SVMADQLC

Both

PRCNT_CPU_TIME

The average percent of CPU time dedicated to the service. Valid range 0% to 100%.

SVMPCTCPUT

Both

REPL_CHECK_INTERVAL

The interval (in seconds) that a replicated service will check the source change queue for new updates. If the service is not replicating REPL_CHECK_INTERVAL will respond with an empty string.

SVMVHSRINT

Replicated

REPL_DELAY

Indicates the current replication delay. The value is the time (in seconds) since the service was last fully in sync, or blank if the service not replicating. The time is calculated as the delta between "now" and the time the last completed sync ended. Does not apply to the ARS or the RSM.

SVMCASRPDL

SVMCVSRPDL

SVMDBSRPDL

SVMVHSRPDL

Replicated

REPL_DELAY_MAX

Indicates an acceptable replication delay. The value equals the REPL_DELAY_MAX keyword in the service configuration file. Does not apply to the ARS or the RSM.

SVMCASRPDM

SVMCVSRPDM

SVMDBSRPDM

SVMVHSRPDM

Replicated

REPL_INT_VAL_STATE

Indicates the internal replication validation state of the service. The values include:

  • Not repl — If the service is not replicating.
  • Initializing — Validation is initializing.
  • Normal — Validation has run and is no errors have been detected.
  • Delayed — Validation is delayed for some reason.
  • Error – The validation service has detected replication errors.
  • Fixing errors — The validation service is fixing detected replication errors.
  • Source error — The replication source is not available.

Does not apply to the ARS or the RSM.

SVMCASRPIS

SVMCVSRPIS

SVMDBSRPIS

SVMVHSRPIS

Replicated

REPL_LAST_SEQ

The value represents the ID of the last change queue entry retrieved from the source service and committed to the replicated service. When replication is up to date, this value for the replicated service will match the CHANGE_QUEUE_NEWEST value on the source service. For VHS services, the legacy info item VHS_REPL_LAST_SEQ represents the same value.

SVMCASRPCN

SVMCVSRPCN

SVMDBSRPCN

SVMVHSRLSQ

Replicated

REPL_MESSAGE_ERRORS

The number of replication messaging errors. (Applies only to first forwarded destination for VHS services.)

SVMREPMSGE

Replicated

REPL_NETWORK_ERRORS

Number of replication network messaging errors (Applies only to first forwarded destination for VHS services.)

SVMREPDCLE

Replicated

REPL_SOURCE

The source service name from which the replicated service is requesting changes.

SVMVHSRSRC

Replicated

REPL_SRC_CHG_GUID

This value is only relevant for replicated services. The value indicates a randomly-generated globally unique identifier (GUID) that is used along with the source service's change queue initialization time (REPL_SRC_CHG_Q_INIT) to uniquely identify a change queue. A replicating service uses both the GUID and the change queue initialization time as part of the change queue pointer to the source. In a redundant environment with multiple replicating services this combination more accurately indicates when to do an incremental resync. Applies to DBS and VHS services only.

-

Replicated

REPL_SRC_CHG_Q_INIT

This value is only relevant for replicated services. The value represents the timestamp when the source service’s change queue was first initialized. A change in this value indicates the source service’s change queue has been reinitialized and queued changes may have been lost. When this happens for the CAS, CVS, and DBS service types, a full resynchronization is performed by the replicated service. When replication is up to date, this value for the replicated service will match the CHANGE_QUEUE_INITED value on the source service.

Note: This value and the REPL_SRC_CHG_GUID are used together to more accurately identify the change queue pointer in a redundant environment with multiple replicating services.

SVMCASRPCT

SVMCVSRPCT

SVMDBSRPCT

SVMVHSRPCT

Replicated

REPL_STATUS

Indicates the current replication status of the service. The values include:

  • Not repl — If the service is not replicating.
  • Waiting — The service is waiting to start the next sync cycle.
  • Incr sync — Incremental sync, processing just the changes that have occurred on the replication source.
  • Full sync — Only happens the first time, or when the initialization time in the source changes.
  • Full compare Problems have been found, look for differences, and send tickle message to the replication source.
  • Processing Replication is in process.

Does not apply to the ARS or the RSM.

SVMCASRPST

SVMCVSRPST

SVMDBSRPST

SVMVHSRPST

Replicated

REPL_SUMMARY_STATE

Indicates the summary replication state of the service. The values include:

  • Unknown — if the service not replicating.
  • Valid — The summary state is "Valid" if the REPL_INT_VAL_STATE info item is "Normal."
  • Invalid — The summary replication state is invalid.

Does not apply to the ARS or the RSM.

SVMCASRPSS

SVMCVSRPSS

SVMDBSRPSS

SVMVHSRPSS

Replicated

TOT_DISK_QUE_LENGTH

The number of pending reads and writes to all the disks in the machine. This corresponds to the PhysicalDisk(_Total)\Avg. Disk Queue Length Performance Monitor disk queue length.

SVMADQLT

Both

Back to top

Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.