DB2 Universal Database replicate data servers on UNIX or Windows

This section describes the replicate database issues and considerations specific to the IBM DB2 Universal Database server on a UNIX or Microsoft Windows platform.

As a replicate data server in a replication system, DB2 Universal Database interacts with the DirectConnect for DRDA database gateway. DirectConnect for DRDA is responsible for accepting commands from the replicate Replication Server, and applying those commands to a database residing in a DB2 Universal Database server.

DB2 Universal Database replicate database permissions

To apply transactions in a replicate database, Replication Server requires a Maintenance User ID that you specify in the Replication Server create connection command. The Maintenance User ID must be defined at the DB2 Universal Database server and granted authority to apply transactions in the replicate database. The Maintenance User ID must have the following permissions in the DB2 Universal Database replicate database:

Replication intrusions and impacts in DB2 Universal Database

The only significant intrusions or impacts to the DB2 Universal Database replicate database are the database objects created by the hds_udb_setup_for_replicate.sql script to support Replication Server replicate database operations.This script creates two tables in the replicate database to support Replication Server operations:

Replicate database connectivity for DB2 Universal Database

A Replication Server database connection name is made up of two parts: a data server name (server_name) and a database name (db_name). The server_name is the name of the DirectConnect for DRDA database gateway server, and the db_name is the name of the replicate database residing in DB2 Universal Database.

The replicate Replication Server looks for an interfaces file entry for the database gateway server_name specified in the Replication Server database connection. The replicate Replication Server logs in to the replicate data server using the user_name and password specified in the database connection.

You must make an entry in the Replication Server interfaces file to identify the host and port where the DirectConnect for DRDA database gateway server is listening. The interfaces file entry name must match the server_name portion of the Replication Server database connection.

Replicate database limitations in DB2 Universal Database

Replication of large object (LOB) datatypes (BLOB, CLOB, and LVARCHAR) is not supported directly from Replication Server to DirectConnect for DRDA.

NoteFor information about a possible workaround for this LOB data replication limitation, see “Large object replication”.

DB2 Universal Database replicate database configuration issues

The heterogeneous datatype support (HDS) feature of Replication Server provides a number of sample SQL scripts that help you set up the HDS feature in the replicate Replication Server and the DB2 Universal Database replicate database. These include:

DB2 Universal Database system management issues

The following system management issues are specific to a DB2 Universal Database replicate data server: