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 > Change db2 instance name

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-04-12, 04:33
Sandeep_Sharma Sandeep_Sharma is offline
Registered User
 
Join Date: Sep 2011
Location: Delhi
Posts: 17
Lightbulb Change db2 instance name

Hi,

I have a DB2 ESE V9.5 on a aix box and it contains a instance db2inst1 which has 2 databases. I want to change the instance name from db2inst1 to db2inst5. Is it possible to change the instance name of a db2 server.
Reply With Quote
  #2 (permalink)  
Old 01-04-12, 04:52
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
create backup of db
create new user db2inst5
create instance for this user
restore db
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #3 (permalink)  
Old 01-04-12, 05:46
wolaos123 wolaos123 is offline
Registered User
 
Join Date: Nov 2011
Location: Shen Zhen,China
Posts: 37
Reply With Quote
  #4 (permalink)  
Old 01-04-12, 06:32
Sandeep_Sharma Sandeep_Sharma is offline
Registered User
 
Join Date: Sep 2011
Location: Delhi
Posts: 17
i know this procedure.. but can't I simply change it without dropping like we can change the database name.
Reply With Quote
  #5 (permalink)  
Old 01-04-12, 07:11
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
what would be a good reason to change the instance name..
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
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