IBM®
Skip to main content
    United States change      Terms of use
 
 
Select a scope:    
     Home      Products      Services & industry solutions      Support & downloads      My account     
alphaWorks  >  Java technology  >  

Replication Monitoring Center for DB2

A software tool that supports DB2 replication supervision.


Date Posted: September 25, 2003
Overview Requirements DownloadFAQsForum Reviews

1. I have already the DB2 Replication Center installed with my DB2 UDB Client and DB2 DataPropagator. Why do I need Replication Monitoring Center for DB2?
2. Do I need a Java Runtime Environment before I can install and run the application?
3. I cannot find an installation package dedicated to my operating system. Is it possible to get it started there?
4. Replication Monitoring Center for DB2 stops two minutes after it has been started. How can I perform a real evaluation of the tool?
5. Must I install a DB2 Client on the machine where Replication Monitoring Center for DB2 should be started?
6. Replication Monitoring Center for DB2 (RMC) can be started, but I cannot connect to a database. What is wrong?
7. How can I configure the e-mail exit notification?
8. I am getting an "Out Of Memory" error when I browse my subscriptions. How can I resolve that?


1. I have already the DB2 Replication Center installed with my DB2 UDB Client and DB2 DataPropagator. Why do I need Replication Monitoring Center for DB2?

DB2 Replication Center is the new DB2 DataPropagator user interface, available since DB2 UDB Version 8. The DB2 Replication Center includes set-up, operating, and monitoring capabilities for DB2 DataPropagator. Today it focuses mainly on replication set-up. Replication Monitoring Center for DB2 is highly optimized for replication monitoring and can provide some very interesting features, especially when you are using large environments and different DB2 DataPropagator versions. Below the main differences of the tools are listed:

DB2 Replication Center

  • shipped with and licensed with DB2 UDB Version 8
  • includes various features, but its strength is replication set-up
  • works with DB2 UDB Version 8 and DB2 DataPropagator Version 8 only

Replication Monitoring Center for DB2

  • "as is" software, shipped and licensed serparately from DB2 UDB
  • highly optimized for replication monitoring in order to access important information quickly and easily even in large environments with hundreds of databases involved in replication
  • has no feature for setting up a replication scenario, but it can be used to perform various operational tasks in existing scenarios
  • works with DB2 DataPropagator Versions 5, 6, 7, and 8, also in parallel.

Both software tools support DB2 DataPropagator on the different DB2 plattforms.

Back to top Back to top

2. Do I need a Java Runtime Environment before I can install and run the application?

No. It is not mandatory to install a Java Virtual Machine before Replication Monitoring Center for DB2 can be installed and started. The provided InstallShield includes a J2SE that is installed when no existing Java environment with the required version can be found. Otherwise no additional Java software is installed.
Back to top Back to top

3. I cannot find an installation package dedicated to my operating system. Is it possible to get it started there?

Yes. As long as a J2SE 1.4.x for your target operating system exists there is a way to install it there. First ask the program author for additional installation packages that may be available offline supporting other operating systems.

Another way is to install the software on a platform supported by an available installation package and transfer the files to your target system. The procedure is described in the Release.html file that is installed with the software.

Back to top Back to top

4. Replication Monitoring Center for DB2 stops two minutes after it has been started. How can I perform a real evaluation of the tool?

As described in the dialog boxes when the application is started, you can easily request a demo license valid for some weeks from the author or the application. Write a short e-mail mentioning your company's name to the program author. The license will be sent to you as a file by mail. You must install this license file into your program directory.
Back to top Back to top

5. Must I install a DB2 Client on the machine where Replication Monitoring Center for DB2 should be started?

No, but it is the easiest way to configure the tool in an initial test. Replication Monitoring Center for DB2 also supports remote JDBC drivers (type 3 and 4) that are also delivered with DB2 UDB software. Look into the Users Guide for more details.
Back to top Back to top

6. Replication Monitoring Center for DB2 (RMC) can be started, but I cannot connect to a database. What is wrong?

There could be different reasons why a connection can not be established.

If you get the message "Database driver ... could not be loaded....", try the following:

  • Check how RMC has been started: It cannot be started by double-clicking on the db2rmc.jar file on windows systems because the standard CLASSPATH (and the DB2 JDBC driver package) will not be considered with this method. The same problem appears when RMC is started using "java -jar db2rmc.jar".
  • Check your CLASSPATH variable: The CLASSPATH system variable must include the DB2 JDBC driver package. For DB2 UDB Versions 5, 6, 7, and 8, the standard package is <db2path>/java/db2java.zip. If you want to use the DB2 UDB Version 8 JDBC DRDA driver, add the package <db2path>/java/db2jcc.jar to your CLASSPATH.
  • When you have no local DB2 UDB Client installed but are using the DB2 JDBC Net Driver (JDBC type 3): Copy to your machine the db2java.zip file of the DB2 JDBC Applet Server installation that you want to access and include it into the CLASSPATH variable.
  • When you have no local DB2 UDB Client installed but are using the DB2 JDBC DRDA Driver (JDBC type 4, DB2 UDB Version 8 only): Copy a db2jcc.jar file of a DB2 UDB 8 client to your machine and include it into the CLASSPATH variable.
  • Check the JDBC driver settings in the RMC settings dialog: All three types of DB2 JDBC drivers are preconfigured. When you are not sure whether the configuration is correct or not, reset all parameters to the default values (select a parameter, click on right mouse button, press Reset to Default OR stop RMC, delete the properties file, and restart).

When you want to use the Net driver or DRDA driver, you must specify a host name and a port number to which the remote DB2 Service is listening:

  • DRDA Driver: Use the DB2 Server port as used for DB2 Client configuration (default port on LUW: 50000; on iSeries and zSeries: 446).
  • Net Driver: Use the port of the started DB2 JDBC Applet Server (available only at DB2 UDB LUW, default port: 6789).

You get the message "The database alias name ... could not be found":

    The database you want to access is not cataloged at the DB2 client or server to which your JDBC driver is connected. Ensure that the database is cataloged properly. Use DB2 UDB documentation and the DB2 UDB configuration assistants for further information.

You get the message "CLI0616E Error opening socket":

    You are using a DB2 JDBC Applet server that's not started at the remote system and the specified port. Start the server at this system using the following command:
      db2jstrt <port number>
The port number must be specified in the selected RMC driver configuration. Retry connecting to the database.
Back to top Back to top

7. How can I configure the e-mail exit notification?

The mail notification feature is used to send alerts gathered by Replication Monitoring Center for DB2 (RMC) and/or DB2 DataPropagator Replication Alert Monitor to one or more recipients by e-mail.

In order to use this feature, you need a server providing a SMTP mailing interface. The following settings must be reviewed in the application settings:

  • alert.mail.sender: e-mail address that appears in the from information of a notification mail. This address is for information only; it can not be used to reach the RMC installation by mail.
  • alert.mail.host: Host name or IP address of the SMTP server. This mail server will be used by RMC to send the notification messages. It should provide a SMTP service at port 25.
  • alert.mail.recipients: One or more recipient e-mail addresses. Multiple addresses must be separated by blanks. You can dedicate different e-mail formats to individual recipients (for example, when you want to send full notification information to your Lotus Notes® or Microsoft® Outlook address but only a short abstract of alert records to your pager in parallel).

It is mandatory to specify all parameters described above. There are additional settings (alert.mail.*) that can be used to customize notification, such as notification trigger, mail content, and mailing format.

Back to top Back to top

8. I am getting an "Out Of Memory" error when I browse my subscriptions. How can I resolve that?

Replication Monitoring Center for DB2 (RMC) hangs with a java.lang.OutOfMemoryError reported at the command line output. This problem can occur when you have a huge amount of Apply history data in the ASN.IBMSNAP_APPLYTRAIL table at your Apply Control Server. There are two ways to resolve that problem:
  • Limit the maximum of displayed Apply history records in RMC:
    1. Start RMC and go to the Settings dialog box.
    2. Change the setting General-> Apply-> apply.historyrows to a value greater than 0 (such as 2000).
    3. Restart RMC and browse your subscriptions.
  • Prune the Apply trail table content manually or using RMC operating tasks.
Back to top Back to top
Download now Download now

Related technologies

For platform(s):
Multi-Platform

For topics:
relational, replication, monitoring, DataPropagator, administration


Related resources

Press Articles

 

    About IBM Privacy Contact