473,399 Members | 2,478 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Regarding db2 udb Replication

sat
Hi All!
I have a small doubt in replication.Previously i was working

on replication with the databases under the same instance.So it worked
fine.
Now i'm facing a new problem which is like, now i want the
source db to be under one instance and target db to be under another
instance.
what i have done is i kept the source db(say sample) under
same instance (say db2) as it was before.Now i created a new
instance(say db2inst1) and created a db (say dbinst) under that
instance.Now i want "dbinst" as my target database.
So can anyone please help me out.

Thanks in Advance
sat.

Sep 15 '06 #1
8 2766
In article <11*********************@e3g2000cwe.googlegroups.c om>,
vi*********@gmail.com says...
Hi All!
I have a small doubt in replication.Previously i was working

on replication with the databases under the same instance.So it worked
fine.
Now i'm facing a new problem which is like, now i want the
source db to be under one instance and target db to be under another
instance.
what i have done is i kept the source db(say sample) under
same instance (say db2) as it was before.Now i created a new
instance(say db2inst1) and created a db (say dbinst) under that
instance.Now i want "dbinst" as my target database.
So can anyone please help me out.

Thanks in Advance
sat.

You might need to add them to the COntrol Center before you can use the
Replication Center but it should work without a problem. Did you run
into problems? If so, please tell us what you did and which error
messages you got etc..
Sep 15 '06 #2
sat

First of all Thanks for the reply and i added the instance in the
control center .
Then thru the command editor i attached to this instance (i.e.)
db2inst1
and i even i connected to the database (i.1) db inst.I catalogged the
databse in the DB2 instance.Which is the default instance and where i
did my initial replication.

coming to my initial replication both the source and
target server (i.e) databases reside under the same instance.And at
that time after the replication setup is over i tried it by inserting a
record in the source table and it was working fine the change was
updated in the target server.
Now i'm facing a new problem with the initial
replication.
Like i added some records to the table present in source server.And
i've noticed that those changes are not applied to the COPYDB (which is
the target server) and the table name in the target server is
TGDEPTCOPY.I don understand why it is happening like this.
Can anyone please help me out with this issue.
Thanks in Adavance,
Sat.
Gert van der Kooij wrote:
In article <11*********************@e3g2000cwe.googlegroups.c om>,
vi*********@gmail.com says...
Hi All!
I have a small doubt in replication.Previously i was working

on replication with the databases under the same instance.So it worked
fine.
Now i'm facing a new problem which is like, now i want the
source db to be under one instance and target db to be under another
instance.
what i have done is i kept the source db(say sample) under
same instance (say db2) as it was before.Now i created a new
instance(say db2inst1) and created a db (say dbinst) under that
instance.Now i want "dbinst" as my target database.
So can anyone please help me out.

Thanks in Advance
sat.

You might need to add them to the COntrol Center before you can use the
Replication Center but it should work without a problem. Did you run
into problems? If so, please tell us what you did and which error
messages you got etc..
Sep 16 '06 #3
In article <11*********************@d34g2000cwd.googlegroups. com>,
vi*********@gmail.com says...
>
First of all Thanks for the reply and i added the instance in the
control center .
Then thru the command editor i attached to this instance (i.e.)
db2inst1
and i even i connected to the database (i.1) db inst.I catalogged the
databse in the DB2 instance.Which is the default instance and where i
did my initial replication.

coming to my initial replication both the source and
target server (i.e) databases reside under the same instance.And at
that time after the replication setup is over i tried it by inserting a
record in the source table and it was working fine the change was
updated in the target server.
Now i'm facing a new problem with the initial
replication.
Like i added some records to the table present in source server.And
i've noticed that those changes are not applied to the COPYDB (which is
the target server) and the table name in the target server is
TGDEPTCOPY.I don understand why it is happening like this.
Can anyone please help me out with this issue.
Thanks in Adavance,
Sat.

Did you check that again after more than an hour? If data has been
replicated succesfully if might take an hour for the next replication
cycle to replicate again.
Sep 16 '06 #4
sat
This is the source server sample and source table is department.The
no.of records before was 9 records and added a2 more records yesterday
night.
db2 =connect to sample

Database Connection Information

Database server = DB2/NT 8.2.0
SQL authorization ID = ADMINIST...
Local database alias = SAMPLE

db2 =select count(*) from department

1
-----------
21

1 record(s) selected.

db2 =select * from department

DEPTNO DEPTNAME MGRNO ADMRDEPT LOCATION
------ ----------------------------- ------ -------- ----------------
A00 SPIFFY COMPUTER SERVICE DIV. 000010 A00 -
B01 PLANNING 000020 A00 -
C01 INFORMATION CENTER 000030 A00 -
D01 DEVELOPMENT CENTER - A00 -
D11 MANUFACTURING SYSTEMS 000060 D01 -
D21 ADMINISTRATION SYSTEMS 000070 D01 -
E01 SUPPORT SERVICES 000050 A00 -
E11 OPERATIONS 000090 E01 -
E21 SOFTWARE SUPPORT 000100 E01 -
E22 CUSTOMER SUPPORT 000300 A00
A00 SPIFFY COMPUTER SERVICE DIV. 000010 A00 -
B01 PLANNING 000020 A00 -
C01 INFORMATION CENTER 000030 A00 -
D01 DEVELOPMENT CENTER - A00 -
D11 MANUFACTURING SYSTEMS 000060 D01 -
D21 ADMINISTRATION SYSTEMS 000070 D01 -
E01 SUPPORT SERVICES 000050 A00 -
E11 OPERATIONS 000090 E01 -
E21 SOFTWARE SUPPORT 000100 E01 -
E22 CUSTOMER SUPPORT 000300 A00
E23 RESEARCH CENTER 000500 E10

21 record(s) selected.
This is the target server and the target table is tgdeptcopy.So the
records are not updated.
db2 =connect to copydb

Database Connection Information

Database server = DB2/NT 8.2.0
SQL authorization ID = ADMINIST...
Local database alias = COPYDB

db2 =select count(*) from tgdeptcopy

1
-----------
4

db2 =select * from tgdeptcopy

DEPTNO DEPTNAME MGRNO ADMRDEPT LOCATION
------ ----------------------------- ------ -------- ----------------
E01 SUPPORT SERVICES 000050 A00 -
E11 OPERATIONS 000090 E01 -
E21 SOFTWARE SUPPORT 000100 E01 -
E22 CUSTOMER SUPPORT 000300 A00

4 record(s) selected.

1 record(s) selected.
Gert van der Kooij wrote:
In article <11*********************@d34g2000cwd.googlegroups. com>,
vi*********@gmail.com says...

First of all Thanks for the reply and i added the instance in the
control center .
Then thru the command editor i attached to this instance (i.e.)
db2inst1
and i even i connected to the database (i.1) db inst.I catalogged the
databse in the DB2 instance.Which is the default instance and where i
did my initial replication.

coming to my initial replication both the source and
target server (i.e) databases reside under the same instance.And at
that time after the replication setup is over i tried it by inserting a
record in the source table and it was working fine the change was
updated in the target server.
Now i'm facing a new problem with the initial
replication.
Like i added some records to the table present in source server.And
i've noticed that those changes are not applied to the COPYDB (which is
the target server) and the table name in the target server is
TGDEPTCOPY.I don understand why it is happening like this.
Can anyone please help me out with this issue.
Thanks in Adavance,
Sat.


Did you check that again after more than an hour? If data has been
replicated succesfully if might take an hour for the next replication
cycle to replicate again.
Sep 16 '06 #5
In article <11**********************@k70g2000cwa.googlegroups .com>,
vi*********@gmail.com says...
This is the source server sample and source table is department.The
no.of records before was 9 records and added a2 more records yesterday
night.
.....
This is the target server and the target table is tgdeptcopy.So the
records are not updated.
....
Use the replication center and read the docs to find out if the capture
and apply programs are running without a problem. This basic replication
setup should work if everything is set up correctly so you have to
educate yourself. If you find any error message which you don't
understand you can always ask how to handle it.

Keep on learning :)
Gert van der Kooij wrote:
In article <11*********************@d34g2000cwd.googlegroups. com>,
vi*********@gmail.com says...
>
First of all Thanks for the reply and i added the instance in the
control center .
Then thru the command editor i attached to this instance (i.e.)
db2inst1
and i even i connected to the database (i.1) db inst.I catalogged the
databse in the DB2 instance.Which is the default instance and where i
did my initial replication.
>
coming to my initial replication both the source and
target server (i.e) databases reside under the same instance.And at
that time after the replication setup is over i tried it by inserting a
record in the source table and it was working fine the change was
updated in the target server.
Now i'm facing a new problem with the initial
replication.
Like i added some records to the table present in source server.And
i've noticed that those changes are not applied to the COPYDB (which is
the target server) and the table name in the target server is
TGDEPTCOPY.I don understand why it is happening like this.
Can anyone please help me out with this issue.
Thanks in Adavance,
Sat.
>

Did you check that again after more than an hour? If data has been
replicated succesfully if might take an hour for the next replication
cycle to replicate again.

Sep 16 '06 #6
Gert van der Kooij wrote:
Use the replication center and read the docs to find out if the capture
and apply programs are running without a problem. This basic replication
setup should work if everything is set up correctly so you have to
educate yourself. If you find any error message which you don't
understand you can always ask how to handle it.
Another good idea when just playing around with this (which is what the OP
is doing at the moment) would be to set the interval between replication
cycles to just 1 minute. Then you don't have to wait very long to see some
effects.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Sep 18 '06 #7
sat
Hi!
I have seen jus now in the target table (TGDEPTCOPY) it's still
showing only 4 records.I kept the time interval for replication as 15
minutes.But still its not working.I'm not even facing any errors.Please
do let me know what might be the problem.

Knut Stolze wrote:
Gert van der Kooij wrote:
Use the replication center and read the docs to find out if the capture
and apply programs are running without a problem. This basic replication
setup should work if everything is set up correctly so you have to
educate yourself. If you find any error message which you don't
understand you can always ask how to handle it.

Another good idea when just playing around with this (which is what the OP
is doing at the moment) would be to set the interval between replication
cycles to just 1 minute. Then you don't have to wait very long to see some
effects.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Sep 18 '06 #8
sat wrote:
Hi!
I have seen jus now in the target table (TGDEPTCOPY) it's still
showing only 4 records.I kept the time interval for replication as 15
minutes.But still its not working.I'm not even facing any errors.Please
do let me know what might be the problem.
Hard to tell. Did you use the logs when you started capture and apply?
Have you actually started both? What do the logs show? What does
the "status" in the Replication Center show?

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Sep 18 '06 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: John | last post by:
Hi We have an access app (front-end+backend) running on the company network. I am trying to setup replication for laptop users who go into field and need the data synched between their laptops...
56
by: Raphi | last post by:
Hi, I've been using an Access application I wrote for an office with the front-end stored on all computers and the back-end on one of them serving as an Access file server. Now we're moving...
9
by: David W. Fenton | last post by:
See: Updated version of the Microsoft Jet 4.0 Service Pack 8 replication files is available in the Download Center http://support.microsoft.com/?scid=kb;en-us;321076 This includes the Jet 4...
6
by: sat | last post by:
Hi Everybody ! I want to know about REPLICATION in DB2 UDB in detail.As i'm going to work on this i would like to know about it.I want to do it on my PC (if possible) before i can implement it...
15
by: sat | last post by:
i have seen the check status then it is showing like : Type Of Thread Status HoldL Resting Admin Thread Resting Worker Thread ...
0
by: ParasakthiGuru | last post by:
hai, i don't know Replication concept if anybody can know that replication concept pls sent to me replication brief tutorials By Guru
3
by: Gert van der Kooij | last post by:
Hi, Our SQL Replication is between DB2 databases on Windows servers. I'm searching for the document which tells me how to migrate our SQL Replication environment from V8 to V9 (we also need to...
0
by: FM | last post by:
Hello: Question's on replication. My replication-scenario: Server A -source-tables and capture-server Server B -destination-tables with CD tables federated in it and apply-server Inert...
1
by: Abhinay | last post by:
Hi there, I am C++ programer, new in MySql database, I am using linux OS. Is MySql supports pear to pear replication ( I wanted to duplicate data of master database to salve database at run...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.