You can use the chsystem command to set the maximum replication delay for the system. This value ensures that the single slow write operation does not affect the entire primary site.
You can configure this delay for all relationships or consistency groups that exist on the system by using the -maxreplicationdelay parameter on the chsystem command. This value indicates the amount of time (in seconds) that a host write operation can be outstanding before replication is stopped for a relationship on the system. If the system detects a delay in replication on a particular relationship or consistency group, only that relationship or consistency group is stopped. In systems with a large number of relationships, a single slow relationship can cause delay for the remaining relationships on the system. This setting isolates the potential relationship with delays so you can investigate the cause of these issues. When the maximum replication delay is reached, the system generates an error message that identifies the relationship that exceeded the maximum replication delay.
To set the maximum replication delay for the system, complete this step:
chsystem -maxreplicationdelay 50
where
50 is the replication delay. You can set the delay 0 - 360 (6 minutes)
seconds. The default value for this setting is 0, which indicates that no delay is set for the
system. If you want to display the current value for the -maxreplicationdelay
parameter, use the lssystem command.