473,799 Members | 3,671 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

more instances

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
4 1604
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
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.143 418$a41.9839@pd 7tw2no>...
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
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
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.143 418$a41.9839@pd 7tw2no>...
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1633
by: Bengt Hilf | last post by:
Hi all, I have an IIS Webserver with two web instances. In both instances I have configure php as cgi (*.php -> php.exe). But Now I have the problem, that both instances uses the sane php.ini file. How can I make very php.exe to take their php.ini and not both the same? I'm running PHP 4.1.1 and I cannot update for historical reasons. Thank you.
8
1838
by: SJ | last post by:
Hi: I have a class which has a static member function. The function implements something common to all instances. How can the static member function know all of the (Get access to the instances' handles) instances? Thanks in advance for any help
4
3690
by: Chad Myers | last post by:
I'm instrumenting my app with a few performance counters and I'd like to ask you all for some advice on how to handle performance counter instances. I have a class library that is a base library for most of our ..NET applications. It provides configuration, logging, exception management/publishing, data access, etc. I have my counters, but I'm curious how I should handle instances. Right now, the instance name is exename-procid like...
3
2619
by: Minh Khoa | last post by:
Please give me more information about delegate and its usage? Why do i use it and when?
14
2407
by: multiformity | last post by:
So I have been working on an opensource project for a while, and decided to really try to make it look better after focusing on the functionality most of this time. Up to now, I have simply used a standard ASPX page with minor modifications to it. All of my pages inherit from a "BasePage.cs" class, that handles common things like getting the user's information out of the session, determines if a page should or should not be password...
161
7895
by: KraftDiner | last post by:
I was under the assumption that everything in python was a refrence... so if I code this: lst = for i in lst: if i==2: i = 4 print lst I though the contents of lst would be modified.. (After reading that
8
1270
by: Balaji | last post by:
Is it possible to allow users to do more than one instance of the web application with different logins. our application uses session extensively, which meens effectively the users should get different sessions. Thanks in advance. Regards, V.Balaji
5
2382
by: ShaunO | last post by:
BACKGROUND I have the following classes as part of a program that opens 3 Asynchronous Sockets. Each socket is in a separate instance of a wrapping class. 1x User Interface class 1x Client Manager class 3x Client class Instances The Client class raises events when the client connects. The User interface has registered with that event.
6
1368
by: Karlo Lozovina | last post by:
Let's say I have a class with few string properties and few integers, and a lot of methods defined for that class. Now if I have hundreds of thousands (or even more) of instances of that class - is it more efficient to remove those methods and make them separate functions, or it doesn't matter? Thanks... --
0
9543
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10488
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10257
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10237
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10029
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9077
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6808
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5467
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2941
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.