473,387 Members | 1,572 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,387 software developers and data experts.

how to create additional instance in different diretory----Help

cat
HiFolks,

I am newbie in DB2 ESE. Here is the question, I already created an
instance db2inst1 under file system /db2home/db2inst1 ( actually the
instance has been created after installation.) Now I want to create an
additional instance which the DB2PATH is point to /aix1/db2test. What
shall I do, I found in IBM doc says

You can change the location of the instance directory from DB2PATH
using
the DB2INSTPROF environment variable. You require write-access for the
instance directory. If you want the directories created in a path
other than
DB2PATH, you have to set DB2INSTPROF before entering the db2icrt
command.
For DB2 Universal Database Enterprise – Server Edition, you also need
to
declare that you are adding a new instance that is a partitioned
database
system.

But after I changed db2instprof ( set DB2INSTPROF=/aix1/db2test )and
using db2icrt -u db2fenc2 db2test, the new instance db2test still be
created in /db2home/db2inst1. Here is the question,
1. How to create a additional instance point to a different directory?
2. How to declare I am adding a new instance is a partitioned database
system?

I am running DB2 V8 ESE( enable partition function) FP2 on AIX4.3.3.

Did I misunderstand something. Please help, tips or docs. Thanks

Cat
Nov 12 '05 #1
0 1940

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

Similar topics

1
by: minjie | last post by:
Hello, I installed DB2 UDB V8.1 on a linux machine, and then deinstalled it because of some other problems. When I reinstalled it and tried to create an instance with the same name again...
7
by: Steven.Xu | last post by:
Hello everyone! I have a problem about create an instance automatically in C#. Now I have a class: namespace1.namespace11.CClass01. I want to create it's instance in a function named...
18
by: Sandra-24 | last post by:
Can you create an instance of a subclass using an existing instance of the base class? Such things would be impossible in some languages or very difficult in others. I wonder if this can be done...
4
by: Ashish | last post by:
Can i create two instance with same user id in AIX ? I just need what should be the params to be passed in db2icrt utility.. Thanks in Advance Ashish Prasad
4
by: f.f | last post by:
class A { .... }; class B : public A { .... };
2
by: ashishjainism | last post by:
I am unable to install my windows service and the installutil is throwing the following error: Running a transacted installation. Beginning the Install phase of the installation. See the...
11
by: teel | last post by:
Hi there, I need to create an instance of a class whose name I have in a string variable, let's say that: string myTypeName = "MyType"; and in a result I need the equivalent of: MyType obj =...
1
vinci
by: vinci | last post by:
Help Me!!!! T_T I want to create an instance of System.Windows.Forms.KeyEventArgs in vb.net for me to be able to use the .keyCode method of that class...is this possible??? basically, i want...
4
by: sirjohnofthewest | last post by:
If I possessed the power to sway the mind of every user in the world to delete all forms of Internet Explorer I would die a happy man. Hi guys, I frequently visit this site to get answers to my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.