The top part of the Replication view describes the database replication.

Table 34 Database Replication features

Feature

Description

 

 

Local Server/Source

The replication and primary systems if you are logged into the replicated

Server

system.

 

 

Local Server/Target

The primary and replication systems if you are logged into the primary

Server

system.

 

 

Replication Set

A set is made of one or more db2 tables that replicated.

 

 

Inbound Sync

The time at which the database tables in the replication set got last

Time/Outbound Sync

synchronized. The synchronization time is displayed in two colors: green

Time

and red. Green means that the database tables on the primary and

 

replica DB2 have been synchronized successfully within the last 30

 

minutes. Red means that the synchronization has not happened for 30

 

minutes or more; this could indicate a db2 replication issue and you

 

should contact HP technical support for advice.

 

 

Inbound Status/

The replication status on the replicated and primary systems.

Outbound Status

 

(Re-)Initializing db2 replication

Follow the steps below to initialize or re-initialize db2 replication:

1.Stop the RISS applications on the primary and replica: PCC on primary: /opt/bin/stop

PCC on replica: /opt/bin/stop

2.Unconfigure db2 replication on primary/replica: DB2 on replica: /opt/bin/repl/dbRepl rm DB2 on primary: /opt/bin/repl/dbRepl rm

3.Restart db2 on primary/replica:

DB2 on primary: /etc/init.d/db2_app start

DB2 on replica: /etc/init.d/db2_app start

4.Re-initialize db2 replication on primary/replica: DB2 on primary: /opt/bin/repl/dbRepl init DB2 on replica: /opt/bin/repl/dbRepl init

5.Wait for the replication process to complete (this can take anywhere between a few minutes to an hour or more depending on the size of the db2 database and the bandwith of the network between the two RISSes):

DB2 on replica: /opt/bin/repl/dbRepl status -brief -force

Look for the message "Replication is active." Re-issue the command every few minutes until this message is returned, or while you see the message Refresh is in-progress.

6.Once replication is successfully initialized, restart the applications on primary/replica: PCC on primary: /opt/bin/start

PCC on replica: /opt/bin/start

62 Data management

Page 62
Image 62
HP RISS Components manual Re-Initializing db2 replication, Database Replication features