Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / January 2006

Tip: Looking for answers? Try searching our database.

Question about database migration from UDB 7.1 to 8.2 (FP3) on HP-UX

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tommydkat@gmail.com - 09 Jan 2006 23:47 GMT
Hi!  I need to migrate a UDB 7.1 32-bit database on one HP-UX system to
a 8.3 (FP3) 64-bit database on a new HP-UX system.

I found this newsgroup post which indicates this not possible using
backup/restore utilities:

http://groups.google.com/group/comp.databases.ibm-db2/browse_thread/thread/1e6a6
b5010a1b181/605f06f1c877dca2?q=migration+from+7.1+to+8.2&rnum=2#605f06f1c877dca2


Is this still the case with UDB 8.2?  I can't backup the database in
UDB 7.1 and restore it in UDB 8.2?

Thanks!

Peace...
RV - 10 Jan 2006 07:24 GMT
Hi tommy,

If at all ur 32 bit Database is of version 8 then only u can do like
that (using backup and restore).

You can migrate ur Database by using the db2look and db2move utility
ie.. the method of regenereating the DDL and then u can create in ur
migrated database. then u can load the data using db2move utility.

RV
leonardobgil@gmail.com - 10 Jan 2006 13:24 GMT
Basically you will do this:

1 - Take an offline backup of your v7 database
2 - Create a 32 bit instance on your v8
3 - Restore the offline backup into the v8 database
4 - Update your instance to 64bit (db2iupdt -w 64 instance_name)
5 - Reorg all indexes with the convert option (this will convert all
the old indexes from type1 to type2).

You cannot use an online backup because the logs are not compatible
between v7 and v8, and you cannot restore directly to a 64bit instance,
you have to restore to a 32 bit then update it.

Make sure you convert the indexes to type-2 so you can take advantage
of the performance features of type-2

Good luck,

Leo
Darin McBride - 10 Jan 2006 17:35 GMT
> Hi!  I need to migrate a UDB 7.1 32-bit database on one HP-UX system to
> a 8.3 (FP3) 64-bit database on a new HP-UX system.
>
> I found this newsgroup post which indicates this not possible using
> backup/restore utilities:

http://groups.google.com/group/comp.databases.ibm-db2/browse_thread/thread/1e6a6
b5010a1b181/605f06f1c877dca2?q=migration+from+7.1+to+8.2&rnum=2#605f06f1c877dca2


> Is this still the case with UDB 8.2?  I can't backup the database in
> UDB 7.1 and restore it in UDB 8.2?
>
> Thanks!

Thanks for the link to the old thread.  That comes in very handy when trying
to figure out what the question is ;-)

The way to migrate your v7 database to v8 is to keep the bits the same.  The
best way to do this, I think, is to change your v8 instance to 32-bit (use
db2iupdt with the "-w 32" flag), restore the database, then convert your v8
instance back to 64-bit (using db2iupdt with the "-w 64" flag).

I would imagine that if you wanted to do all this without taking down your
existing 64-bit instance, you probably could create a new 32-bit instance,
restore, optionally convert that instance to 64-bit, backup again (the new
backup will be a v8 backup which is not dependant on wordsize), and then
restore that to your production instance.

Hope that helps.
tommydkat@gmail.com - 11 Jan 2006 23:44 GMT
Thanks for the help, guys!

Peace...

Tom
tommydkat@gmail.com - 13 Jan 2006 18:52 GMT
One more quick question, if I have an application that updates the DB2
database will I need to relink that application once the database is
migrated to the 64-bit DB2 V8.2 instance?  The application was updating
the 32-bit DB2 V7 database.

Thanks!

Peace....
leonardobgil@gmail.com - 13 Jan 2006 19:00 GMT
You will need the version 8 runtime client installed on the application
server.

The runtime client should keep your old catalog intact, so you may not
have to re-catalog your database on the application server
tommydkat@gmail.com - 13 Jan 2006 20:01 GMT
Thanks for the info.  I found another thread in this newsgroup that
addressed the issue I asked about above and found this technote:

http://www-1.ibm.com/support/docview.wss?rs=71&context=SSEPGG&q1=64-bit&uid=swg2
1188114&loc=en_US&cs=utf-8&lang=en


That technote contains all the info I need so I think I'm set (at least
until I get to thep point of actually trying it out.  :)).

These threads were very helpful:

http://groups.google.com/group/comp.databases.ibm-db2/browse_thread/thread/fa2e7
30b33b8cf04/81eedc4f1e8eb291?q=32-bit+application+64-bit+instance&rnum=1#81eedc4
f1e8eb291

http://groups.google.com/group/comp.databases.ibm-db2/browse_thread/thread/c4ccc
05a0760cafc/8362804cfdcf4e1b?q=32-bit+application+64-bit+instance&rnum=2#8362804
cfdcf4e1b


Thanks again for the help!

Peace...
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.