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 an instance?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-30-04, 16:37
ksimpson ksimpson is offline
Registered User
 
Join Date: May 2003
Posts: 10
Moving an instance?

On Solaris 2.8

DB21085I Instance "db2wps50" uses "32" bits and DB2 code release "SQL08013"
with level identifier "02040106".
Informational tokens are "DB2 v8.1.0.24", "s030728", "U488482", and FixPak "3".
Product is installed at "/opt/IBM/db2/V8.1".

The instance(s) were created under /export/home. We would like to
them to a separate filesystem. Is it as simple as shutting the instance
down and using mv? The databases for the instance are already on
a dedicated filesystem so it's just the binaries etc.

TIA

Ken
Reply With Quote
  #2 (permalink)  
Old 03-31-04, 21:10
kuckoo kuckoo is offline
Registered User
 
Join Date: Sep 2002
Posts: 41
I don't think, you can simply move instance by moving instances files to different location. DB2 keeps node,db directory in binary format and it may have some specific information related to instance home directory.

Best option is to

Backup database.
Drop instance
Create instance
Restore database

Kuckoo
Reply With Quote
  #3 (permalink)  
Old 04-01-04, 09:24
ksimpson ksimpson is offline
Registered User
 
Join Date: May 2003
Posts: 10
Thanks for the info.

- ken
Reply With Quote
  #4 (permalink)  
Old 04-01-04, 14:01
ljrong ljrong is offline
Registered User
 
Join Date: Jan 2002
Location: USA
Posts: 53
At "/opt/IBM/db2/V8.1/instance" directory

try db2iupdt ...

WTH
Reply With Quote
  #5 (permalink)  
Old 04-01-04, 18:45
kuckoo kuckoo is offline
Registered User
 
Join Date: Sep 2002
Posts: 41
db2iupdt is used to update instances after fixpack installation.

it can not be used for moving instance.

Kuckoo
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