If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 Replication Not working

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-10-10, 12:56
lazydev lazydev is offline
Registered User
 
Join Date: Mar 2010
Posts: 15
DB2 Replication Not working

I have been trying to set up replication in my local linux machine .

For which i have been referring the following link :-

[B]http://publib.boulder.ibm.com/infoce...scriptsql.html

As per this link .

there are 5 steps

1. Capture control tables
2. Registration
3. Apply control tables

First three scripts have been executed succesfully

4. Subscription set (generates two SQL scripts that create definitions at the Capture control server and the Apply control server).

This script runs fine but it generates scripts for Apply Control server but not for Capture control server .

5. Subscription-set member (generates two SQL scripts that create definitions at the Capture control server and the Apply control server, which is also the target server).

Same as above creates scripts for apply control server but not for capture .

Can someone suggest what's wrong with the above link .and what needs to be done for generating the Capture SQL Scripts along with apply contro lscripts .

Someone suggest me if you have faced the same error .

Thanks
Reply With Quote
  #2 (permalink)  
Old 03-10-10, 15:26
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,006
I am not sure if you are using the GUI interface for Replication that comes with the Control Center. If not, I would recommend it.

However, I would use the GUI to generate the scripts (use the Show SQL command right before executing) and then execute the scripts from the command line, so that you will have a complete set of scripts to rerun if necessary. Just use the GUI to generate the scripts for you.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On