473,796 Members | 2,512 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

db2/UDB replication problems (maybe ...?) - Help needed

Hi ,

I have an existing database (on a Linux Red Hat ES3) where the
replication function exists but does not work because the target
database has been shutdown months ago .

My question is what will happens if i start the target database ?

Will there be problems with the source database or the target database
(decreasing performance or other kinds of problem )?

For info , the database is 6,7 Go (or 6.7 Go in US measure) . The
source database is on a server and the target database on an another
server (physically) . The target database is shutdown .

Any help is welcome .

Andy the beginner in DB2 .

ps1 : is there any possibilities to setup a replication processus
without the DB2 control center ? (it seems to be no after the
documents I have read but who knows ... )

ps2 : that control center seems to be quite annoying especially if the
linux server has been secured and doesn't allow graphical screening !
Nov 12 '05 #1
7 2004
Andy K wrote:
Hi ,

I have an existing database (on a Linux Red Hat ES3) where the
replication function exists but does not work because the target
database has been shutdown months ago .

My question is what will happens if i start the target database ?

Will there be problems with the source database or the target database
(decreasing performance or other kinds of problem )?
Seems to me they will be sync-ed, but I could be wrong.
Since this is what replication is intended for, there shouldn't be too
much performance problems. But to be sure you better wait for a response
from someone who actually knows what's he's talking about.
For info , the database is 6,7 Go (or 6.7 Go in US measure) . The
source database is on a server and the target database on an another
server (physically) . The target database is shutdown .

Any help is welcome .

Andy the beginner in DB2 .

ps1 : is there any possibilities to setup a replication processus
without the DB2 control center ? (it seems to be no after the
documents I have read but who knows ... )
It seems to me that everything that can be done with CC can also be done
commandline.
ps2 : that control center seems to be quite annoying especially if the
linux server has been secured and doesn't allow graphical screening !


Try to use trusted X forwarding over SSH (ssh -Y). (Need to activate X
forwarding in SSHD_CONFIG though). Works for me.

PS. I'm not that familiar with Replication, so alas, I can't help on the
other topics.
Nov 12 '05 #2
Hi Andy,

Andy K wrote:
I have an existing database (on a Linux Red Hat ES3) where the
replication function exists but does not work because the target
database has been shutdown months ago .

My question is what will happens if i start the target database ?
Nothing bad will happen by just starting the database. If you start the
apply-process and there is remaining (not pruned) data in the cd-tables,
this data will be applied.
Will there be problems with the source database or the target database
(decreasing performance or other kinds of problem )?
as usual...it depends (amount of data to be applied, other applications
running against the database)....

Was the capture-process on the source-database running all the time?
Then you should have a reasonable amount of data in the cd-tables. If
you have stopped the capture-process you would need to have all logfiles
written by the source database since capture has been shut down. Else,
capture will not work properly and you would need to do a
(manual/automatic) full refresh.
ps1 : is there any possibilities to setup a replication processus
without the DB2 control center ? (it seems to be no after the
documents I have read but who knows ... )
1. Learn by the scripts, Replication Center creates for you. You can
easily modify them or write your own wrappers around them.
2. "SQL-Replication Guide and Reference" is the source you are looking for.
3. short list of commands you need to look up to run replication from
the command-line: asncap, asnapply, asnacmd, asnccmd, asnanalyze.
ps2 : that control center seems to be quite annoying especially if the
linux server has been secured and doesn't allow graphical screening !


I understand you are running the control center on the server where the
database resides. This is not optimal in many ways.

If the Administration Server is running on the server you should be able
to run the graphical tools on your client without any X-forwarding at all.

Yes, control center _is_ annoying like any other graphical java
interface that I have seen so far, but it is getting better from release
to release . Fortunately there are many ways to run and monitor DB2 UDB
without running a gui at all. ;-)

regards,

Norbert
Nov 12 '05 #3
Hi again,

Norbert Munkel wrote:
Nothing bad will happen by just starting the database. If you start the

^^^^^^^^^^^

If your replication is set up to do allow automatic full refreshs, full
loads/imports of the replicated tables may occur including possible
performance issues (fullselect on the source-tables, network-activity....).

regards,

Norbert
Nov 12 '05 #4
Hi Norbert ,

Thanks for the insight . I'm going to do my homework for DB2 (glups !)
..

Btw is there catalog view for replication ?

In Oracle (1st love) , there is a couple of dynamic views like
dba_snapshots or ALL_SNAPSHOT_RE FRESH_TIMES that can be really helpful
.. Something similar with DB2 ?

Regards,
Andy

Nov 12 '05 #5
In article <11************ *********@g44g2 000cwa.googlegr oups.com>,
Andy K (ak****@yahoo.c om) says...
Hi Norbert ,

Thanks for the insight . I'm going to do my homework for DB2 (glups !)
.

Btw is there catalog view for replication ?

In Oracle (1st love) , there is a couple of dynamic views like
dba_snapshots or ALL_SNAPSHOT_RE FRESH_TIMES that can be really helpful
. Something similar with DB2 ?

Regards,
Andy


Hi Andy,

If you want to create the replication definitions from the
commandline you can use the asnclp command. You can download the
manual from http://publibfp.boulder.ibm.com/epubs/pdf/c1894100.pdf
Nov 12 '05 #6
Hi Gert ,

Thanks for the documentation . But asnclp is not available on "v7" for
DB2 .

Any suggestion is HIGHLY welcome ! :-D

Regards,
Andy

Gert van der Kooij a écrit :
In article <11************ *********@g44g2 000cwa.googlegr oups.com>,
Andy K (ak****@yahoo.c om) says...
Hi Norbert ,

Thanks for the insight . I'm going to do my homework for DB2 (glups !) .

Btw is there catalog view for replication ?

In Oracle (1st love) , there is a couple of dynamic views like
dba_snapshots or ALL_SNAPSHOT_RE FRESH_TIMES that can be really helpful . Something similar with DB2 ?

Regards,
Andy


Hi Andy,

If you want to create the replication definitions from the
commandline you can use the asnclp command. You can download the
manual from http://publibfp.boulder.ibm.com/epubs/pdf/c1894100.pdf


Nov 12 '05 #7
In article <11************ **********@g47g 2000cwa.googleg roups.com>,
Andy K (ak****@yahoo.c om) says...

Hi Andy,

If you want to create the replication definitions from the
commandline you can use the asnclp command. You can download the
manual from http://publibfp.boulder.ibm.com/epubs/pdf/c1894100.pdf

Hi Gert ,

Thanks for the documentation . But asnclp is not available on "v7" for
DB2 .

Any suggestion is HIGHLY welcome ! :-D

Regards,
Andy


Hi Andy,

I've created my own batch scripts by tracing the DJRA tool output.
The DJRA tool is written in REXX so I created my own scripts which
(after specifying all needed variables) generates replication
definitions automatically for over 300 tables.
But because DJRA isn't available on V8 anymore it's the wrong choice
if you need to use it on V8 some day. I have to 'migrate' my own
script and start using asnclp when our client migrates to V8.
Nov 12 '05 #8

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

Similar topics

1
8219
by: Eirik Tryggeseth | last post by:
During deployment of an application using distributed transactions managed under COM+ on an Oracle 9i RAC database, we encounter situations where the load balancing mechanisms in the RAC result in that the component context in the distributed transaction (in our case two different COM components) cannot hold onto the same ODBC connection. Or it may be that the database session is changed dynamically for the ODBC connection, so that...
0
1389
by: Dathan Vance Pattishall | last post by:
------=_NextPart_000_0022_01C347A5.67020F30 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit mysql-max-3.23.57-pc-linux-i686 I notice that slaves which never went out of sync are now doing so regularly with the same traffic pattern. Since upgrading to 3.23.57 I've notice a large increase in CPU utilization with the same configuration
2
3073
by: Simon B. Nielsen | last post by:
I have set up a server with a publication of a very large database. A backup server needs to retrieve the data and do some massive calculations (which isn't really relevant). On the backup server I've created a subscription to retrieve the database but I get the following error: Message: The process could not retrieve file 'SQLCLUSTER_maersk_HR_maersk_HR\20030804101206\ATTACH_224.bcp' from the FTP site '10.25.10.25'. Details: The...
0
1568
by: Marko Damaschke | last post by:
Hello alltogether, i'm working on a database-plattform which should work with fail-over-technics. Therefor 2 identic machines with internal RAID are available, which work in single-host-netloadbalance on win2003-server. Because of the internal RAID and caused by costs, a solution without external SCSI-RAID and win2003-clustering-mechanism is looked for. First i tried to use merge-replication but the rowguid-column, which is added,...
2
1329
by: carl.davis | last post by:
I am experiencing problems replicating (transactional) from SQL Server 2000 sp3 to DB2 v8.2 (running on Red Hat Linux). I have created an OLE-DB linked server to DB2. The connection connects successfully in EM and I can query the DB2 tables using the OPENQUERY function. I have successfully added the linked server connection as a Subscriber. I have now set up a Push Subscription to DB2 from one of my Publications.
0
1289
by: Tek | last post by:
I have the following scenario: Box 1 is running Informix 7.31.UD4 on hpux 11i (Source DB) Box 2 is running IBM DB2 UDB 8.2 on hpux 11i (Apply and Target DB) After creating a new DB2 instance and setting up replication from informix using federated configuration the replication works for a while.
2
3456
by: James dean | last post by:
I am using Graphics path in my application and i have located the slow areas in my rogram and it seems that the graphics path consistently is slow when doing any operation like adding another graphics path, adding text etc......and also drawing the Graphics path onto the drawing surface using the Graphics class is also slow. Am i doing something wrong or is this the fault of GDI+ which i have heard was slow?.....is this a correct...
0
943
by: Harmeet Singh | last post by:
Hi I am trying to install Visual C# 2003 on my computer. But when I insert Disk#1, it asks me to insert the "Pre-requisits" CD. When I insert the "Pre-requisits" CD, it does nothing. I am stuck. If anyone can help, I will appreciate. Thanks
3
1366
by: waheed azad | last post by:
Hi, I have a been developing an accounting system for a non-profit organization. I had decided to to divide the solution, in three layers, presentation, business layer and database layer. My business layer is composed of objects like Account, Transaction, Voucher etc. And my database layer is composed of objects like AccountDB, TransactionDB, VoucherDB. Now each of my layer is residing in a seperate project under the same solution....
1
10169
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10003
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7546
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6785
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5440
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5569
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4115
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.