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 > Moving a database from one node to another

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-28-07, 13:11
mjbullen mjbullen is offline
Registered User
 
Join Date: May 2004
Posts: 10
Moving a database from one node to another

Hi,

I'm trying to move a database from one node to another on the same server. Ive used the uncatalog database command, then CATALOG DB nnnnn AT NODE newnodename. I list the database directory, and all looks ok, but I cant access it from the control centre. If i try to add the db by using discovery search, it can't find it on the new instance, but still can see it on the old.

I'm obviosuly missing something fairly basic !!

This is DB2 Express v8.14 on windows 2000

Any help really appreciated.

Mike.
Reply With Quote
  #2 (permalink)  
Old 11-28-07, 15:50
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
You will need to re-create (e.g. restore) the database in the new instance.

P.S. Generally speaking, you should not use the terms "node" and "instance" interchangeably.
Reply With Quote
  #3 (permalink)  
Old 11-29-07, 04:54
mjbullen mjbullen is offline
Registered User
 
Join Date: May 2004
Posts: 10
Oops - yes, thats pretty basic.

All working now. You help is very appreciated !!
Reply With Quote
  #4 (permalink)  
Old 11-30-07, 04:46
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
How exactly did you catalog the database? You have to specify the path to the database. Also, try to connect to the database at the CLP to avoid all the CC overhead.

IFIRC, backup/restore should not be necessary.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
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