Manage Replication Acknowledgment
AMPS provides modules for downgrading replication destinations that fall behind and upgrading them again when they catch up.
Module Name | Does |
---|---|
| Downgrades replication connections from synchronous to asynchronous if the age of the last acknowledged message is older than a specified time period. |
| Upgrades previously-downgraded replication connections from asynchronous to synchronous if the age of the last acknowledged message is more recent than a specified time period. This action has no effect on replication destinations that are specified as |
The modules determine when to downgrade and upgrade based on the age of the oldest message that a destination has not yet acknowledged. When using these modules, it is important that the thresholds for the modules are not set too close together, otherwise; AMPS may repeatedly upgrade and downgrade the connection when the destination is consistently acknowledging messages at a rate close to the threshold values. To avoid this, 60East recommends that the Age
set for the upgrade module is 1/2 of the age used for the downgrade module.
The amps-action-do-downgrade-replication
module accepts the following options:
Parameter | Description |
---|---|
| Specifies the maximum message age at which AMPS downgrades a replication destination to When this action runs, AMPS downgrades any destination for which the oldest unacknowledged message is older than the specified For example, when the There is no default for this parameter. |
| The approximate time to wait after start up before beginning to check whether to downgrade links. The |
The amps-action-do-upgrade-replication
module only applies to destinations configured as sync
that have been previously downgraded. The module accepts the following options:
Parameter | Description |
---|---|
| Specifies the maximum message age at which a previously-downgraded destination will be upgraded to When this action runs, AMPS upgrades any destination that has been previously downgraded where the oldest unacknowledged message is more recent than the time value specified in the For example, if a destination has been downgraded to There is no default for this parameter. |
| The approximate time to wait after start up before beginning to check whether to upgrade links. The |
These modules do not add any variables to the AMPS context.
Last updated