3 response file – IBM Data Server DB2 User Manual
Page 62
48
DB2 Deployment Guide
Enter "help" to redisplay product names.
Enter "quit" to exit.
***********************************************************
3. For the installation directory, to deploy DB2 to a different location other than
the default, enter
yes
followed with Enter and then input the target path. To
use the default, input
no
and it will go directly to the last question.
4. For the question,
Specify one of the following keywords to install DB2 products,
choose the product that you want to install. To install DB2 Enterprise Server
Edition, input
ESE
followed with Enter.
Then
db2_install
starts the deployment.
During the installation,
db2_install
displays time consumed during
installation of each component through standard output.
5. Once installation is complete,
db2_install
prints out the final results and the
absolute path of the log file. Details regarding the installation of each
component can be reviewed from the given log file.
......
The execution completed successfully.
For more information see the DB2 installation log at
"/tmp/db2_install.log.721104".
If you prefer non-interactive deployment, use the
-n
option with
db2_install
.
./db2_install -p ese -b /opt/IBM/db2/V9.5 -n
With option
-n
,
db2_install
suppresses all the progress information on the
screen except the final result. If you embed a DB2 installation image with your
application, the
-n
option allows the application to send the DB2 installation
process information with other application messages in a uniform way designed
by the application.
2.2.3 Response file
The response file is another option for users who would like to perform a
non-interactive deployment. It is also known as a silent installation, or an
unattended installation. A response file can be created using the DB2 Setup
wizard or by editing a sample response file. It allows you to install DB2 across
multiple machines with consistent installation and configuration settings. It can
also be used to set up a DB2 cluster as well as performing additional
configuration activities such as group and user creation, instance setup, and
sample database creation. A response file installation is fast, because it
bypasses the graphical wizard and does the configuration for you.