473,750 Members | 2,302 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

do i need to exclude transaction log while replicate

we are using db2 udb v8.2 Express edition on windows 2003,we use third
party vendor software to help replicate one server to another.

Production server has three instances, each instances has one database
under it. So we would see three folders on D drive: DB2 folder, TEST
folder and EDU folder, each database has 5 tablespaces and they exist
on F drive. So I told the client to replicate the three instance
folders on D and the data folder on F, that way the backup sever has
the same structure. So once the backup server start, it should
recognize the databases on the server and the data location, right?

There are SQL transaction log (e. g D:\DB2\NODE0000 \SQL00003\SQLOG DIR)
and instance log file under D:\Program Files\IBM\SQLLI B\DB2\db2diag.l og
, do I need to replicate them? any log file I need to exclude to
replicate? Please help.

Nov 12 '05 #1
2 2224
I don't think you can simply copy instance folders. YOu need to create
separate instances using the db2icrt command. You need to create the
databases using DB2 also I believe.

Larry Edelstein

db********@yaho o.com wrote:
we are using db2 udb v8.2 Express edition on windows 2003,we use third
party vendor software to help replicate one server to another.

Production server has three instances, each instances has one database
under it. So we would see three folders on D drive: DB2 folder, TEST
folder and EDU folder, each database has 5 tablespaces and they exist
on F drive. So I told the client to replicate the three instance
folders on D and the data folder on F, that way the backup sever has
the same structure. So once the backup server start, it should
recognize the databases on the server and the data location, right?

There are SQL transaction log (e. g D:\DB2\NODE0000 \SQL00003\SQLOG DIR)
and instance log file under D:\Program Files\IBM\SQLLI B\DB2\db2diag.l og
, do I need to replicate them? any log file I need to exclude to
replicate? Please help.


Nov 12 '05 #2
yes, i do db2icrt to create according instance on the backup server,
but they don't have any database exist, because we want to replicate
the instance folder to the backup server, does it still recognize it?

Nov 12 '05 #3

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

Similar topics

3
2580
by: Alan | last post by:
Gidday people, I had a bit of a problem this morning. I think I've got it sorted now, but I wonder if anyone can shed some light. I have a plain VBS WHS file that instantiates a component that controls an interface file import process. This component, Controller, is part of FinInterface.dll, and instantiates another component, Implementor (same dll), that does the actual data access (an insert into a FinanceDataImports table, and then...
3
7575
by: Thiko | last post by:
Hi I take one nightly full database backup at 02:00 and backup the transaction log to one backup set every 15mins. The commands to do this are as follows and are set up to run as database jobs: -- Database Backup BACKUP DATABASE TO WITH NOINIT ,
3
2245
by: jaekim | last post by:
Hi. I am wondering if it is a good idea to replicate sql server db files using frs. I don't really know how the frs works, so does frs replicates the whole database from time to time or just the portion that is changed? Also if the db is expected to change very often, and wouldn't it make
6
3489
by: Sri | last post by:
I am inserting records into a table - around 1 million records. I want to do the insert 10000 records at a time using TRAN. My insert statement is very simple: BEGIN TRAN T1 Insert INTO TABLE A (ColA, ColB, ColC) Select B.TBLBCOLA, B.TBLBCOLB, B.TBLBCOLC FROM tbltable B WHERE blah balh...etc.
0
1279
by: Yaro | last post by:
We are running on W2k3, DB2v8 Enterprise Srv, FP8. On our server we have one DB2 instance and 2 databases. On another stations we have .NET applications which use DB2 Connection, DB2 Command,....components. ADO.NET use OLE DB.NET Data Provider. We are interesting how we can realize distributed transactions on two databases (DB1 and DB2). We do not need Microsoft Transaction Server. We are interesting rather DB2 Transaction Manager. ...
9
1909
by: Chance Hopkins | last post by:
When using the sqlclient dotnet class and sql server. is it faster when doing a single (not multiple) insert to: 1- just do a simple connection and command object, then execute a nonquery 2-use a transaction, connection and command object to execute a nonquery and then commit the transaction Thanks
1
1316
by: Ken | last post by:
hi I have an Async WS updating my SQLserver DB 80 clients are connecting to the WS all day updating the DB I have only ONE UPDATE instruction in the WS I dont want to have conflicts with the data and I realy need to take care of this my question:
1
3220
by: plsullivan63 | last post by:
Question: (SQL Server 2000) Can I arbitrarily delete a transaction log file in either bulk or full with a cron job and still be able to restore a backup? Or are the log and the .bak enmeshed to the extent that this not do-able? Details: I need to exclude a file group from a backup as it's static data and replicated on a remote server. In order to do this I cannot use a simple recovery model which I currently use; at least in the GUI the...
3
13110
by: FeelLikeANut | last post by:
I have the code below. First there is a transaction where I select data. I wrapped it in an explicit transaction because in my real program I run a couple different selects. Nevertheless, the transaction should be closed with the commit command. Next, I there is a separate transaction where I update data. But I get the error: Uncaught exception 'PDOException' with message 'There is already an active transaction'. I don't understand...
0
8999
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8836
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9575
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9338
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
9256
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...
0
8260
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6080
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();...
2
2798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2223
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.