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

DB2 9 runtime client install

P: n/a
Hi,

I've been trying for 2 hours to install in silent mode a DB2 9 runtime
client. Why didn't you make this process as simple as for the CLIENT
install ?
It is not the same setup command, you can download a setup from the support
site, but unfortunately, the setup does not allow you to create a response
file. Neither the db2rspgn utility, after the graphical setup has been done.

Very disapointing ... maybe can someone highlight the correct procedure to
install silently because the doc is uncomplete.

Thanks,

JM
Jun 27 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hello,

The install command lines are different for DB2 Client and DB2 Runtime
Client (RTCL), because the DB2 9 RTCL is built differently from other
db2 products, and differently from v8 RTCL.

You can find the install command line for RTCL in the DB2 9 On-Line
Information Center, which is copied here:

// +++ install cmd lines: +++++++++++++++++++++++++++++
To perform a response file installation, the following command line
parameter should be used:
setup /v"/qn RSP_FILE_PATH=[Full path to the response file]"

The example assumes that no copy of the client is already installed.
If one or more copies exist, the command is different. To install a
second copy use:
setup /v" TRANSFORMS=:InstanceId1.mst MSINEWINSTANCE=1 /qn
RSP_FILE_PATH=[Full path to the response file]"

// ++++++++++++++++++++++++++++++++++++++++++++++

Now, the problem is how to get the response file.
As you already found, the RTCL install image is just one single
setup.exe file. There is no sample rsp file if you just download it
from the DB2 fixpak image site. By the way, if you purchased the
RTCL image CD, then there is a Samples directory where you can find
the sample rsp file.

You can take the following option to create/get a rsp file for RTCL:
1). Manually create a rsp file for RTCL, since there is no much
selectable component in RTCL, it is not difficult to write the rsp
file by yourself, by referencing a Client's rsp file. You can choose
the install type of Typical or Compact, not to worry about what
component should be selected.
2). Collect the rsp file from a GUI install: A rsp file is generated
in the GUI install, as you tried earlier, even it did not give you the
option where to keep that rsp file. You can do the following to get
the rsp file generated from the GUI install:
-- Launch the GUI install, go through the GUI panels till the
Install Summary panel.
-- Go to the %Temp% directory on your system, you will find a
DB2RLxxx.rsp file there. You can check its the time stamp to get the
correct rsp file, in case there are multiple DB2RLxxx.rsp files.

Regards.

Bin

On Jun 22, 2:22*pm, "Jean-Marc Blaise" <jmbla...@hotmail.comwrote:
Hi,

I've been trying for 2 hours to install in silent mode a DB2 9 runtime
client. *Why didn't you make this process as simple as for the CLIENT
install ?
It is not the same setup command, you can download a setup from the support
site, but unfortunately, the setup does not allow you to create a response
file. Neither the db2rspgn utility, after the graphical setup has been done.

Very disapointing ... maybe can someone highlight the correct procedure to
install silently because the doc is uncomplete.

Thanks,

JM
Jun 27 '08 #2

P: n/a
Hello,

Just tested the RTCL install, using a few different release levels.
Here is what I found:
1). The db2rspgn.exe is installed with RTCL, under ~\sqllib\Bin. It
should be able to generate a rsp file.
2). A rsp file can be generated by the db2rspgn.exe tool after the it
was installed, as I tested using the DB2 9 GA RTCL and V9.5 FP1 RTCL.
3). However, the db2rspgn.exe tool failed to generate the rsp file
from the v9.1 fp5 RTCL copy. Only a .INS file was created.

What release level of RTCL did you tried?

There is a bug in V9.1 FP5 RTCL's db2rspgn.exe (not sure when the
problem was introduced, as it worked correctly in v91ga), which should
be fixed in the future fixpak releases.
Once it is fixed, you can generate a RTCL rsp file from an installed
RTCL copy using this db2rspgn.exe tool.

Regards.

Bin

On Jun 23, 11:13*am, binchen6...@gmail.com wrote:
Hello,

The install command lines are different for DB2 Client and DB2 Runtime
Client (RTCL), because the DB2 9 RTCL is built differently from other
db2 products, and differently from v8 RTCL.

You can find the install command line for RTCL in the DB2 9 On-Line
Information Center, which is copied here:

// +++ install cmd lines: +++++++++++++++++++++++++++++
To perform a response file installation, the following command line
parameter should be used:
* *setup /v"/qn RSP_FILE_PATH=[Full path to the response file]"

The example assumes that no copy of the client is already installed.
If one or more copies exist, the command is different. To install a
second copy use:
* *setup /v" TRANSFORMS=:InstanceId1.mst MSINEWINSTANCE=1 /qn
RSP_FILE_PATH=[Full path to the response file]"

// ++++++++++++++++++++++++++++++++++++++++++++++

Now, the problem is how to get the response file.
As you already found, the RTCL install image is just one single
setup.exe file. There is no sample rsp file if you just download it
from the DB2 fixpak image site. * By the way, if you purchased the
RTCL image CD, then there is a Samples directory where you can find
the sample rsp file.

You can take the following option to create/get a rsp file for RTCL:
1). Manually create a rsp file for RTCL, since there is no much
selectable component in RTCL, it is not difficult to write the rsp
file by yourself, by referencing a Client's rsp file. You can choose
the install type of Typical or Compact, not to worry about what
component should be selected.
2). Collect the rsp file from a GUI install: *A rsp file is generated
in the GUI install, as you tried earlier, even it did not give you the
option where to keep that rsp file. You can do the following to get
the rsp file generated from the GUI install:
* *-- Launch the GUI install, go through the GUI panels till the
Install Summary panel.
* *-- Go to the %Temp% directory on your system, you will find a
DB2RLxxx.rsp file there. You can check its the time stamp to get the
correct rsp file, in case there are multiple DB2RLxxx.rsp files.

Regards.

Bin

On Jun 22, 2:22*pm, "Jean-Marc Blaise" <jmbla...@hotmail.comwrote:
Hi,
I've been trying for 2 hours to install in silent mode a DB2 9 runtime
client. *Why didn't you make this process as simple as for the CLIENT
install ?
It is not the same setup command, you can download a setup from the support
site, but unfortunately, the setup does not allow you to create a response
file. Neither the db2rspgn utility, after the graphical setup has been done.
Very disapointing ... maybe can someone highlight the correct procedureto
install silently because the doc is uncomplete.
Thanks,
JM- Hide quoted text -

- Show quoted text -
Jun 27 '08 #3

P: n/a
Hi Bin,

Great thanks for you post. Yes, I was testing using DB2 9.1 FP5 :-(.

Using FP4, it works. I post the response file below if someone else needs
it.

Thanks,

JMB

*

*

* Sample command line: setup -u f:\jmb\db2rtcl.rsp

*

* On Windows NT, 2000, XP and .NET If a default instance (DEFAULT_INSTANCE)
is specified

* in the response file, the USERNAME and PASSWORD keywords for the instance
will be used

* for all the other USERNAME and PASSWORD values unless they are explicitly

* specified. Some of the keywords that would apply would be the following:

*

* DAS_USERNAME

* DAS_PASSWORD

*

* MD_DB.USERNAME

* MD_DB.PASSWORD

* --------------------------------------------------------------------------------------------------------------------

PROD = RUNTIME_CLIENT

*User must change the value of the following keyword to ACCEPT or YES

LIC_AGREEMENT=DECLINE

FILE = F:\IBM\SQLLIB2\

INSTALL_TYPE = CUSTOM

DB2_COPY_NAME = DB2COPY2

DEFAULT_COPY = NO

CREATE_ICONS = YES

*REBOOT = YES or NO (default=NO)

*KILL_PROCESSES = YES or NO (default=NO)

DEFAULT_INSTANCE=DB2

INSTANCE=DB2_01

DB2_01.NAME=DB2_01

*DB2_01.USERNAME=char(30) [char(20) for Windows NT]

*DB2_01.DOMAIN=char(14)

*DB2_01.PASSWORD=char(14)

DB2_01.CLIENT_IMPORT_PROFILE=DB2_01.INS

<bi*********@gmail.comwrote in message
news:b4**********************************@y38g2000 hsy.googlegroups.com...
Hello,

Just tested the RTCL install, using a few different release levels.
Here is what I found:
1). The db2rspgn.exe is installed with RTCL, under ~\sqllib\Bin. It
should be able to generate a rsp file.
2). A rsp file can be generated by the db2rspgn.exe tool after the it
was installed, as I tested using the DB2 9 GA RTCL and V9.5 FP1 RTCL.
3). However, the db2rspgn.exe tool failed to generate the rsp file
from the v9.1 fp5 RTCL copy. Only a .INS file was created.

What release level of RTCL did you tried?

There is a bug in V9.1 FP5 RTCL's db2rspgn.exe (not sure when the
problem was introduced, as it worked correctly in v91ga), which should
be fixed in the future fixpak releases.
Once it is fixed, you can generate a RTCL rsp file from an installed
RTCL copy using this db2rspgn.exe tool.

Regards.

Bin

On Jun 23, 11:13 am, binchen6...@gmail.com wrote:
Hello,

The install command lines are different for DB2 Client and DB2 Runtime
Client (RTCL), because the DB2 9 RTCL is built differently from other
db2 products, and differently from v8 RTCL.

You can find the install command line for RTCL in the DB2 9 On-Line
Information Center, which is copied here:

// +++ install cmd lines: +++++++++++++++++++++++++++++
To perform a response file installation, the following command line
parameter should be used:
setup /v"/qn RSP_FILE_PATH=[Full path to the response file]"

The example assumes that no copy of the client is already installed.
If one or more copies exist, the command is different. To install a
second copy use:
setup /v" TRANSFORMS=:InstanceId1.mst MSINEWINSTANCE=1 /qn
RSP_FILE_PATH=[Full path to the response file]"

// ++++++++++++++++++++++++++++++++++++++++++++++

Now, the problem is how to get the response file.
As you already found, the RTCL install image is just one single
setup.exe file. There is no sample rsp file if you just download it
from the DB2 fixpak image site. By the way, if you purchased the
RTCL image CD, then there is a Samples directory where you can find
the sample rsp file.

You can take the following option to create/get a rsp file for RTCL:
1). Manually create a rsp file for RTCL, since there is no much
selectable component in RTCL, it is not difficult to write the rsp
file by yourself, by referencing a Client's rsp file. You can choose
the install type of Typical or Compact, not to worry about what
component should be selected.
2). Collect the rsp file from a GUI install: A rsp file is generated
in the GUI install, as you tried earlier, even it did not give you the
option where to keep that rsp file. You can do the following to get
the rsp file generated from the GUI install:
-- Launch the GUI install, go through the GUI panels till the
Install Summary panel.
-- Go to the %Temp% directory on your system, you will find a
DB2RLxxx.rsp file there. You can check its the time stamp to get the
correct rsp file, in case there are multiple DB2RLxxx.rsp files.

Regards.

Bin

On Jun 22, 2:22 pm, "Jean-Marc Blaise" <jmbla...@hotmail.comwrote:
Hi,
I've been trying for 2 hours to install in silent mode a DB2 9 runtime
client. Why didn't you make this process as simple as for the CLIENT
install ?
It is not the same setup command, you can download a setup from the
support
site, but unfortunately, the setup does not allow you to create a
response
file. Neither the db2rspgn utility, after the graphical setup has been
done.
Very disapointing ... maybe can someone highlight the correct procedure
to
install silently because the doc is uncomplete.
Thanks,
JM- Hide quoted text -

- Show quoted text -

Jun 27 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.