Replicator Log overflow protection - srlprot attribute

Volume Replicator provides the following modes of overflow protection: Override, Fail, DCM, and AutoDCM. You can also turn off the Replicator Log overflow protection feature by setting the attribute to off.

If the network is down or the Secondary is unavailable, the number of writes in the Replicator Log waiting to be sent to the Secondary could increase until the Replicator Log fills up. When the Replicator Log cannot accommodate a new write without overwriting an existing one, the condition is called Replicator Log overflow. The new writes are held up, DCM is activated, or the Replicator Log overflows depending on the srlprot setting.

Circumstances that can cause the Replicator Log to overflow when you replicate in the asynchronous mode are as follows:

If the Replicator Log overflows, the Secondary becomes out-of-date and must be completely synchronized to bring it up-to-date with the Primary. The Replicator Log protection feature of Volume Replicator enables you to either prevent the Replicator Log from overflowing or tracks the writes using Data Change Map (DCM) in the case of Replicator Log overflow. You must weigh the trade-off between allowing the overflow or affecting the application. You can prevent Replicator Log overflow by using the srlprot setting.

Volume Replicator provides the following modes of Replicator Log overflow protection: AutoDCM, DCM, Override, and Fail. These modes are activated only when the Replicator Log is about to overflow. You can set up Replicator Log protection by setting the srlprot attribute of the corresponding RLINKs to AutoDCM, DCM, Override, or Fail. You can turn off the Replicator Log protection by setting the srlprot attribute to off.

The following table describes the effect of the RLINK state on the Replicator Log protection.

Table: Effect of RLINK state on the Replicator Log Protection

Value of the srlprot Attribute

When RLINK is Connected

When RLINK is Disconnected

autodcm

Convert to DCM logging

Convert to DCM logging

dcm

Protect

Note:

SRL protects writes by stalling application writes until Replicator Log drains 5% to become 95% full or drains 20 MB, whichever is smaller.

Convert to DCM logging

override

Protect

Overflow

fail

Protect

I/O error to application

Note:

When srlprot=off, the Replicator Log overflows irrespective of whether the RLINK is connected or disconnected.

If the Replicator Log overflow protection is enabled and if a write is about to cause the log to overflow, then the Replicator Log protection is turned on.