473,770 Members | 5,880 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Moving data from UDB 7.1 to UDB 8.1


Folks,

I want to move the databases I have on a HP-UX system running DB2 UDB 7.2
to and AIX box running DB2 UDB 8.1. Because they are on different versions
and different OS I cannot backup on HP and restore on AIX.

Here is what I am thinking:

1) Run db2look utility on HP and get database definition.
2) Re-create database/tables on AIX
3) Stop application.
4) export data on HP in ixf format.
5) load data on AIX
6) Update client to udb 8.1 and point it to AIX system.
7) re-bind the packages.
8) Start application.

This will require significant down time for exporting and loading data,
even if I do one database at a time. I have one database per instance.

Is there a way to use replication to move the data between the systems?

I could re-create database on AIX, then turn on replication from HP to AIX.
once replication is complete:
1) I can stop the application upgrade the client to UDB 8.1
2) point it to the new database.
3) Stop replication.
4) re-bind packages.
5) start application.

This will only require atmost 1 hour of down time.

Is there a better way to move the data?

--
Hemant Shah /"\ ASCII ribbon campaign
E-mail: No************@ xnet.com \ / ---------------------
X against HTML mail
TO REPLY, REMOVE NoJunkMail / \ and postings
FROM MY E-MAIL ADDRESS.
-----------------[DO NOT SEND UNSOLICITED BULK E-MAIL]------------------
I haven't lost my mind, Above opinions are mine only.
it's backed up on tape somewhere. Others can have their own.
Nov 12 '05 #1
4 1903
This page mentions that you may be able to perform a cross-platform
restore:
http://publib.boulder.ibm.com/infoce...n/c0005960.htm

You may have an easier time if you upgrade the V7.2 instance to V8.2
first, but it may not be necessary. Fortunately, both scenarios can be
tested without taking production down.

I notice that the majority of APARs in each DB2 UDB FixPak seem to
address problems with replication, so if I had to perform such a
migration and was able to accomplish it with a cross-platform
redirected restore, I would jump on that option first.

Good Luck,

Fred

Nov 12 '05 #2
While stranded on information super highway Another DB2 UDB DBA wrote:
This page mentions that you may be able to perform a cross-platform
restore:
http://publib.boulder.ibm.com/infoce...n/c0005960.htm

Thanks.

Looks like db2move does the same thing I am trying to do.

You may have an easier time if you upgrade the V7.2 instance to V8.2
first, but it may not be necessary. Fortunately, both scenarios can be
tested without taking production down.

I notice that the majority of APARs in each DB2 UDB FixPak seem to
address problems with replication, so if I had to perform such a
migration and was able to accomplish it with a cross-platform
redirected restore, I would jump on that option first.

Good Luck,

Fred


--
Hemant Shah /"\ ASCII ribbon campaign
E-mail: No************@ xnet.com \ / ---------------------
X against HTML mail
TO REPLY, REMOVE NoJunkMail / \ and postings
FROM MY E-MAIL ADDRESS.
-----------------[DO NOT SEND UNSOLICITED BULK E-MAIL]------------------
I haven't lost my mind, Above opinions are mine only.
it's backed up on tape somewhere. Others can have their own.
Nov 12 '05 #3
Be aware of constraints!
For example INSERT triggers should not be fired twice, generated
columns should not be generated again etc... Have you considered DB2's
federation options? Link your DB2 HP tables into the DB2 AIX database
and use LOAD FOM CURSOR for migration. You can easily generate the
appropriate commands via SQL

Joachim

PS: IMHO replication is not the way to go for this

Nov 12 '05 #4
I don't think that replication is a good option, as you will take much of
your time, registering EACH table from the previous db to the other one.
Anyway, replication will finally use ASNLOAD, a utility to load the data
into the target db.

It'll be much simpler to do with db2move.

irwan

Nov 12 '05 #5

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

Similar topics

7
10827
by: =?Utf-8?B?TW9iaWxlTWFu?= | last post by:
Hello everyone: I am looking for everyone's thoughts on moving large amounts (actually, not very large, but large enough that I'm throwing exceptions using the default configurations). We're doing a proof-of-concept on WCF whereby we have a Windows form client and a Server. Our server is a middle-tier that interfaces with our SQL 05 database server.
1
2476
by: =?Utf-8?B?UmljaA==?= | last post by:
In a database search application (vb2005), the user wants to be able to scroll through records using the mousewheel. The data display form contains textboxes for the main data and a datagridview for the detail data for each main record. The form also contains btnBegining, btnPrevious, btnNext, btnEnd. In the btnNext.MouseWheel event I can increment/decrement the main data currencymanager position of the main dataset (depending on...
0
4641
by: SuzK | last post by:
I am trying to calculate in VBA in Access 2002 a moving average and update a table with the calculations. Fields in my WeeklyData table are Week Ending (date) ItemNbr (double) Sales Dollars (double) Sales Units (double) Promo (Text) -- is null or "X" AvgWklyDollars (double) AvgWklyUnits (double) I have a vba module which I thought would work, but it doesn't. I think the problem is an embedded SQL Totals Top 8 query, which doesn't...
0
1297
by: amollokhande1 | last post by:
Hi All, Currently we are facing an issue while decoding the Base64Encoded unicode data. Here is the scenario We have one custom javascript function that encodes the unicode data using Base64 mechanism. After encoding the data on client side we are sending it back to the server. On Server side we are decoding this unicode data using microsoft framework inbuild functions as below Private Function DecodeVarHash(ByVal strEncoded As...
0
9595
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
10059
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9873
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
8891
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...
1
7420
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
5313
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...
1
3974
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
3578
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2822
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.