Monitoring using the Replication Alert Monitor
We can use the Replication Alert Monitor (RAM) to monitor the state of our replication environment.
The Replication Alert Monitor is a program, which comes bundled with the replication code which checks the status of various replication objects and reports on these.
The Replication Alert Monitor control tables are described in the The control tables The Replication Alert Monitor control tables section of Chapter 3, but the question that we need to answer is, where do these control tables go. We can put them on the same server on which Q Capture is running, or the same server on which Q Apply is running, or they can be placed on a totally different server, as shown in the following diagram. Here we have a monitoring server called MONDB
and two monitored servers called DB2A
and DB2B
.
Before we look at setting up the Replication Alert Monitor, let's first look at the Q Capture and Q Apply conditions that we can monitor.
Running Alert Monitoring is...