By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,237 Members | 1,224 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,237 IT Pros & Developers. It's quick & easy.

more instances

P: n/a
After running db2setup for the first time, what is the best way to
create additional instances on the same host? Is running db2setup
again better or running the db2icrt CLI command better? Please inform.
Thanks,
Yasaswi
Nov 12 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Yasaswi Pulavarti wrote:
After running db2setup for the first time, what is the best way to
create additional instances on the same host? Is running db2setup
again better or running the db2icrt CLI command better? Please inform.


/usr/opt/db2_08_01/instance/db2isetup (AIX) or
/opt/IBM/db2/V8.1/instance/db2isetup (Sun, HP, Linux) will provide the
same GUI as db2setup, plus any fixes from fixpaks you've installed.

The difference? Both db2setup and db2isetup call db2icrt under the
covers. If you like user-friendly GUIs, these are the way to go, but
if you like fine-tooth control over every aspect of your machine,
db2icrt is the way to go.

As with most things, the answer is "it depends". :-)
Nov 12 '05 #2

P: n/a
Thank you Darin. I can run db2cc when I login as db2inst1 into the
system, but when I login as db2inst2 or db2inst3 I am not able to run
db2cc. I get a DB2JAVIT : RC = 11 error message. Please help.
Thanks,
Yasaswi

Darin McBride <dm******@naboo.to.org.no.spam.for.me> wrote in message news:<4VYcd.143418$a41.9839@pd7tw2no>...
Yasaswi Pulavarti wrote:
After running db2setup for the first time, what is the best way to
create additional instances on the same host? Is running db2setup
again better or running the db2icrt CLI command better? Please inform.


/usr/opt/db2_08_01/instance/db2isetup (AIX) or
/opt/IBM/db2/V8.1/instance/db2isetup (Sun, HP, Linux) will provide the
same GUI as db2setup, plus any fixes from fixpaks you've installed.

The difference? Both db2setup and db2isetup call db2icrt under the
covers. If you like user-friendly GUIs, these are the way to go, but
if you like fine-tooth control over every aspect of your machine,
db2icrt is the way to go.

As with most things, the answer is "it depends". :-)

Nov 12 '05 #3

P: n/a
Yasaswi Pulavarti wrote:
Thank you Darin. I can run db2cc when I login as db2inst1 into the
system, but when I login as db2inst2 or db2inst3 I am not able to run
db2cc. I get a DB2JAVIT : RC = 11 error message. Please help.


First thing that pops into mind is that somehow your JDK_PATH dbm cfg
param is borked. What is it set to on your non-working instances? On
your working instance? Are the bitwidth of all instances the same?
How does the dbm cfg compare to the output from "db2jdkp" in that
instance?
Nov 12 '05 #4

P: n/a
What operating system are you using? Please provide manufacturer and
exact level. Also, since you have a problem with Java, it would be
helpful to provide information about the JAVA intepreter you are using.
You also need to provide information about the exact service level of
the UDB flavor you are using. Try the following commands (LUW versions
of UDB):
db2level
java -version

Phil Sherman

Yasaswi Pulavarti wrote:
Thank you Darin. I can run db2cc when I login as db2inst1 into the
system, but when I login as db2inst2 or db2inst3 I am not able to run
db2cc. I get a DB2JAVIT : RC = 11 error message. Please help.
Thanks,
Yasaswi

Darin McBride <dm******@naboo.to.org.no.spam.for.me> wrote in message news:<4VYcd.143418$a41.9839@pd7tw2no>...
Yasaswi Pulavarti wrote:

After running db2setup for the first time, what is the best way to
create additional instances on the same host? Is running db2setup
again better or running the db2icrt CLI command better? Please inform.


/usr/opt/db2_08_01/instance/db2isetup (AIX) or
/opt/IBM/db2/V8.1/instance/db2isetup (Sun, HP, Linux) will provide the
same GUI as db2setup, plus any fixes from fixpaks you've installed.

The difference? Both db2setup and db2isetup call db2icrt under the
covers. If you like user-friendly GUIs, these are the way to go, but
if you like fine-tooth control over every aspect of your machine,
db2icrt is the way to go.

As with most things, the answer is "it depends". :-)


Nov 12 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.