If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Migrating v8.1 to 9.5

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-27-09, 03:58
mka12 mka12 is offline
Registered User
 
Join Date: Jan 2009
Posts: 11
Migrating v8.1 to 9.5

I performed following steps:
1.Take backup of all databases on db2 v8.1.7 .
2.Uninstall v8.1.7
3.Install v9.5
4.Restore the databases.

but after restoring I get the error SQL2519N The database was restored but the restored database was not migrated to the current release. Error "-1224" with tokens "*N" is returned.
So then I issued the migrate database command. But after this I get the follwoing error:
SQL1224N The database manager is not able to accept new requests, has
terminated all requests in progress, or has terminated your particular request
due to an error or, a force interrupt. SQLSTATE=55032

and the db manager stops immediately.

Most surprising to me is out of 6 databases I restored 5 of them give the above error. But one of the databases is restored succesfully as well as migrated during restore.

Can someone tell me whats the problem..and how can I resolve this.
Reply With Quote
  #2 (permalink)  
Old 05-27-09, 05:14
rahul_s80 rahul_s80 is offline
Registered User
 
Join Date: Jul 2006
Location: Pune , India
Posts: 433
chk what db2diag and notification logs says
__________________
Rahul Singh
Certified DB2 9 DBA / Application Developer
Reply With Quote
  #3 (permalink)  
Old 05-27-09, 09:27
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
I don't think you need to restore DBs, just migrate them to new version.
did you migrate instance(s): db2imigr ?
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
  #4 (permalink)  
Old 05-27-09, 15:48
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
-1224 indicates an instance crash. There are some known APARs, but you can't tell which one (if any) you're running into based on the information you posted. One of the APARs is JR32096:
IBM Search results - United States


One way to check if you're running into this APAR is to execute the following against your source (v8) db:

db2 "select * from sysibm.sysversions"

If the AUTHID is more than 8-char, then this is your APAR.

The fix should be in fp4 (I think it was released yesterday)


If you can't upgrade to fp4 for some reason or the problem persists after the upgrade, please consider opening a pmr.
Reply With Quote
  #5 (permalink)  
Old 05-28-09, 00:28
mka12 mka12 is offline
Registered User
 
Join Date: Jan 2009
Posts: 11
Quote:
Originally Posted by MarkhamDBA
I don't think you need to restore DBs, just migrate them to new version.
did you migrate instance(s): db2imigr ?
No I haven't used this command db2imigr. As mentioned I restored the database and then used the migrate command.
But for one of the databases I restored ...it was successful restore I did not had to use migrate command.

I have taken backup of all the databases on v8.1 and uinstalled that so how can I migrate instances now?
Reply With Quote
  #6 (permalink)  
Old 05-28-09, 08:29
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Install fp4 and then try to restore your dbs again.

You can find v9.5 fixpaks here:
IBM - DB2 Version 9.5 fix packs and clients
Reply With Quote
  #7 (permalink)  
Old 05-28-09, 08:36
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
Quote:
Originally Posted by mka12
No I haven't used this command db2imigr. As mentioned I restored the database and then used the migrate command.
But for one of the databases I restored ...it was successful restore I did not had to use migrate command.

I have taken backup of all the databases on v8.1 and uinstalled that so how can I migrate instances now?
the way you do it you don't need to remove databases. Take off-line DB(s) backup(s), install new DB2 version with fixpacks, migrate instance, migrate DB(s).

Different way (that's the way we did it too): Take off-line backup of DB(s), save all dbm and db cfg settings and registry vars, install new DB2 version with fixpacks, create instance(s) in new DB2 version, restore DB(s) in new DB2 version (it will migrate DB at the end of restore (you will see a message). No need to issue migrate command), verify dbm and db cfg settings (db settings should be restored from backup, but dbm cfg setting need to be changed), verify/change registry vars, do runstats on SYSIBM tables.
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS

Last edited by MarkhamDBA; 05-28-09 at 08:47.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On