DB2 Automatic Installation

Source: Internet
Author: User
Tags db2 client db2 express

 

Scope of use:

 

Install the DB2 client on multiple machines

You need to embed the DB2 database server into your application, and install the DB2 database server while installing this application.

 

 

How to Create a response file:

 

1: During the installation of DB2 express-c, the first step allows you to save the installation information to the response file.

 

 

 

 

The generated file is: PROD_EXPC.rsp. The basic content is as follows:

 

 

 

 

2: After installation, in the db2 command window, use the command db2rspgn-d c: \ 1 to generate a response file sample (. rsp suffix) in the c drive 1 folder)

 

<! -- [If! Vml] -->

 

<! -- [Endif] -->

 

File generated in directory 1: db2expc. rsp file, which can be opened by using notepad or other programs. The basic file content is as follows:

 

<! -- [If! Vml] -->

 

 

 

 

Response File Usage

 

In Windows: Use setup-u c: \ 1 \ db2expc. rsp

 

In Linux: Use db2setup-r <rsp File>

 

 

 

 

 

Appendix: db2rspgn parameter (this command can only be run in Windows)

 

 

-D

Destination directory for a response file and any instance files. This parameter is required.

-I

A list of instances for which you want to create a profile. The default is to generate an instance profile file for all instances. This parameter is optional.

-Noctlsrv

Indicates that an instance profile file will not be generated for the Control Server instance. This parameter is optional.

-Nodlfm

Indicates that an instance profile file will not be generated for the Data Links File Manager instance. This parameter is optional.

 

This article is from the "cloud Qingfeng" blog

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.