473,503 Members | 3,247 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

The -s option of the db2icrt command

Hi folks,

I know how to create an instance by db2icrt command, such as
db2icrt -a server -u db2fenc1 db2inst1
The -s option of the db2icrt command, which specifies the type of
instance to create. Valid values are CLIENT, ESE, and WSE. I always
ignore it when I create an instance.

I was wondering if you could point me when/why I have to specify the -
s option with a value ESE, or WSE.
Thanks in advance,

Laurence
Dec 24 '07 #1
9 4237
"Laurence" <wo**********@gmail.comwrote in message
news:75**********************************@s19g2000 prg.googlegroups.com...
Hi folks,

I know how to create an instance by db2icrt command, such as
>db2icrt -a server -u db2fenc1 db2inst1

The -s option of the db2icrt command, which specifies the type of
instance to create. Valid values are CLIENT, ESE, and WSE. I always
ignore it when I create an instance.

I was wondering if you could point me when/why I have to specify the -
s option with a value ESE, or WSE.
Thanks in advance,

Laurence
You only have to specify when the instance you want to create is different
than the installed version and you want a instance with fewer features. If
you have WSE installed, you cannot select ESE.
Dec 24 '07 #2
Is there any way to recognize the instance that is created by ESE or
WSE value?
Dec 24 '07 #3
"Laurence" <wo**********@gmail.comwrote in message
news:65**********************************@s8g2000p rg.googlegroups.com...
Is there any way to recognize the instance that is created by ESE or
WSE value?
Logon as instance owner and type db2level
Dec 24 '07 #4
On 12$B7n(B24$BF|(B, $B2<8a(B3$B;~(B25$BJ,(B, "Mark A" <nob...@nowhere.comwrote:
"Laurence" <worldwide...@gmail.comwrote in message

news:65**********************************@s8g2000p rg.googlegroups.com...
Is there any way to recognize the instance that is created by ESE or
WSE value?

Logon as instance owner and type db2level
The message is shown below:

DB21085I Instance "db2inst2" uses "32" bits and DB2 code release
"SQL08020"
with level identifier "03010106".
Informational tokens are "DB2 v8.1.1.64", "s040812", "U498350", and
FixPak "7".
Product is installed at "/usr/opt/db2_08_01".

I can't find any info about ESE or WSE for instance. Have another way
to recognize that?
Dec 24 '07 #5
Laurence wrote:
Is there any way to recognize the instance that is created by ESE or
WSE value?
db2 get dbm cfg

Near the top will be a line like:

Node type = Enterprise Server Edition with local and remote clients

That basically tells you what type of instance it is. In fact, that's
nearly everything that the -s flag does: sets up the dbm configuration
appropriately.

(The other thing it does on unix is gets rid of any server-based executables
from sqllib/adm if you use -s client, to save a bit of space and a bit of
confusion.)
Dec 26 '07 #6
On Dec 26, 9:52 am, Darin McBride
<dmcbr...@naboo.to.org.no.spam.for.mewrote:
(The other thing it does on unix is gets rid of any server-based executables
from sqllib/adm if you use -s client, to save a bit of space and a bit of
confusion.)
I may be wrong, but I thought those files in sqllib were only symbolic
links to the install directory.
Dec 26 '07 #7
I am getting
[db2inst2@SIVA ~]$ db2 "get dbm cfg" | grep -i node
Node type = Database Server with local and remote clients
[db2inst2@SIVA ~]$

for -s wse.
On Dec 26, 11:22*pm, Mark A <m00...@yahoo.comwrote:
On Dec 26, 9:52 am, Darin McBride

<dmcbr...@naboo.to.org.no.spam.for.mewrote:
(The other thing it does on unix is gets rid of any server-based executables
from sqllib/adm if you use -s client, to save a bit of space and a bit of
confusion.)

I may be wrong, but I thought those files in sqllib were only symbolic
links to the install directory.
Dec 26 '07 #8
Yes,

As I create instance for the -s option with ese value, the Node Type
of dbm cfg is like below:

"Node type = Enterprise Server Edition with local and remote clients"

As I create instance for the -s option with wse value, the Node Type
of dbm cfg is like below:

"Node type = Database Server with local and remote clients"
Thank you and for your information!

Laurence
Dec 27 '07 #9
Mark A wrote:
On Dec 26, 9:52 am, Darin McBride
<dmcbr...@naboo.to.org.no.spam.for.mewrote:
>(The other thing it does on unix is gets rid of any server-based
executables from sqllib/adm if you use -s client, to save a bit of space
and a bit of confusion.)

I may be wrong, but I thought those files in sqllib were only symbolic
links to the install directory.
Almost all of them are. Some are physical files - you can't do
setuid-instance-owner via symlink (because it gets difficult when you have
more than one instance). Almost all of these are in sqllib/adm.
Dec 28 '07 #10

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

Similar topics

3
2475
by: hrishy | last post by:
Hi Folks and fellow IBMers I received a toolbox CD from IBM with DB2 version 8.1 when i installed it on linux and was trying ton create a instance it always failed saying that the instance...
1
2292
by: ThreeBadWheels | last post by:
Following is the output from the error: Program name = db2idbm Instance home dir = /home/large, Sysadm group = db2iadm Instance type = 1, Auth type = server db2: error while loading shared...
13
4310
by: Joachim Zobel | last post by:
Hi. I am trying to get db2 PE up and running on Debian Sarge. I have installed all rpms using alien. I added the licence and I can create the das, but if I try to create an instance with ...
5
11552
by: Yifan | last post by:
Hi Could any one tell me what project property controls the setting of '/RTC1' option? Now I have a project which has this build error "Command line error D2016 : '/RTC1' and '/clr' command-line...
16
636
by: | last post by:
Hi , We have a lot of code which runs fine under VC++ 6.0. We have to move to ..NET becasue one of the librairies uses .NET classes. Does every library(including those which do not use .NET...
4
2541
by: Eugene F | last post by:
I am trying to suppress warnings from SQL in CLP using its -w option but had no luck to make it. So I have two dummy tables t and x of the same simple structure, and table x is empty, then I am...
8
3490
by: Andrew Robert | last post by:
Hi Everyone. I tried the following to get input into optionparser from either a file or command line. The code below detects the passed file argument and prints the file contents but the...
0
3299
by: jcvila | last post by:
I have 7 DB2 Connect gateways (all AIX) and I've been successfully able to update all but 1 to FP11. It's currently V8 FP8 and I can't seem to complete the install with db2iupdt for FP10,11 or 12. ...
2
1808
by: Lucas Malor | last post by:
Hello all. I'm trying to do a little script. Simply I want to make a list of all options with them default values. If the option is not specified in the command line, the script must try to read it...
0
7194
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
7267
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,...
0
7316
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...
1
6976
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
7449
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
4666
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...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1495
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
729
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.