473,406 Members | 2,713 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Renaming an instance

I am running DB2 LUW 8.2.5 on AIX 5.3

I am being asked to rename an instance in Production which contains
several databases.
I am being told it would be difficult to shut the instance down.

My thoughts would be to create a new instance then do an export/import
on the databases into the new instance.

Any thoughts on the best way to go about this would be appreciated.

Thanks
GL

Jul 5 '07 #1
4 2129
datapro01 wrote:
I am running DB2 LUW 8.2.5 on AIX 5.3

I am being asked to rename an instance in Production which contains
several databases.
I am being told it would be difficult to shut the instance down.

My thoughts would be to create a new instance then do an export/import
on the databases into the new instance.

Any thoughts on the best way to go about this would be appreciated.

Thanks
GL
Create new instance.

For each database X:
Uncatalog database X from old instance
Catalg database X in new instance
Jan M. Nelken
Jul 5 '07 #2
On Jul 5, 7:48 am, "Jan M. Nelken" <Unknown.U...@Invalid.Domain>
wrote:
datapro01 wrote:
I am running DB2 LUW 8.2.5 on AIX 5.3
I am being asked to rename an instance in Production which contains
several databases.
I am being told it would be difficult to shut the instance down.
My thoughts would be to create a new instance then do an export/import
on the databases into the new instance.
Any thoughts on the best way to go about this would be appreciated.
Thanks
GL

Create new instance.

For each database X:
Uncatalog database X from old instance
Catalg database X in new instance

Jan M. Nelken
I understand what you are saying.
Do you think the db2relocatedb command would be a viable option?

Thanks
Gerry

Jul 5 '07 #3
Now I'm told it will require a renaming of the instance, database and
schema

Jul 5 '07 #4
On Jul 5, 9:05 am, datapro01 <datapr...@yahoo.comwrote:
Now I'm told it will require a renaming of the instance, database and
schema
Problem solved.
Thanks

Jul 6 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: peter | last post by:
Hello all, Recently I've started to refactor my code ...(I'm using python 2.3.4) I tried to add extra functionality to old functions non-intrusively. When I used a construct, which involves...
4
by: Steve Jorgensen | last post by:
The previous post regarding dependencies reminded me of another bugger I come up with from time to time. SQL Server allows us to rename objects via a system stored procedure (I usually use an ADP...
5
by: Adam Barr | last post by:
I have a tag foo that I want to copy unchanged when it is a subtag of bar, so I have a template (x is the namespace for the document): <xsl:template match="x:bar/x:foo"> <xsl:copy>...
0
by: Saradhi | last post by:
Hi All, Here I am facing a performance problem with the TreeView Node renaming. I am displaying a hierarchy Data in a treeview in my Windows C# Application. My tree view represents an...
2
by: snewell2003 via SQLMonster.com | last post by:
Hello I am wondering if this is able to be done and what implications there would be with SQL Server. Server1 name: Production Currently running Windows NT and SQL 7 instance name...
0
by: Andy | last post by:
Hello: I am using System.Web.Mail.MailMessage. Currently: when I am attaching a file to the object, I am renaming the file using the FileInfo.Copy method and attaching the new file to the...
2
by: cloudx | last post by:
Hi there, it is driving me crazy. Aftering renaming app.config the following code I always get null on myApp. It works if I keep the name app.config. Why? string myApp =...
8
by: BillCo | last post by:
I'm updating a legacy app with table naming that makes baby jesus cry. It's a bit of a spider web though... no telling when and where the tables will be called by name. So I wrote this for renaming...
3
by: Shepherd.Travis | last post by:
I'm attempting to rename a Windows 2003 Server machine that has DB2 9.1 Express with Fixpack 2 installed. After I rename the machine and reboot, I get an error: DB2 UDB: SQL1042C An unexpected...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.