Tuning

If you have set the RS_FAILOVER_MODE parameter to QUIESCE or SWITCH, RCM monitors the Replication Server during a failover process. The RCM monitors the failover process to determine when the Replication Server commands switch active or suspend log transfer have completed.

Certain configuration parameters control how RCM monitors the failover process:

You can tune the system using these configuration parameters. Used together, these parameters work as described in the following scenario:

  1. The RCM detects a failover in the system.

  2. RCM pings the active Adaptive Server every TIMER_INTERVAL seconds for FAILOVER_WAIT seconds to determine if it has recovered.

  3. After FAILOVER_WAIT seconds, the Adaptive Server has not recovered, so the RCM initiates the failover process. The RCM begins to monitor Replication Server. Every TIMER_INTERVAL seconds, the RCM issues a monitoring command.

  4. The RCM continues to monitor Replication Server for MONITOR_WAIT seconds. At that time, or when the Replication Server finishes the failover process if that is sooner, the RCM switches the users to the standby Adaptive Server.

NoteThe RCM uses the FAILOVER_WAIT and TIMER_INTERVAL parameters to monitor the environment even when you set the RS_FAILOVER_MODE parameter to “NONE” because you plan to fail over the Replication Server manually. In this case, the RCM responds to a failover by locking user connections out of the Adaptive Server, but does not invoke any Replication Server commands.