Deployment Planning
The second step in planning is selecting the right installation method. After installation the next step is to apply the DB2 licenses.
Installation Methods
You can install Data Server products non-interactively in a number of ways.
Which method you choose depends on your preference, platform, and in some cases,
product. You can use all methods interchangeably. That is, you can use one installation
method now and then later use a different installation method on the same computer.
Choosing one method does not commit you to the continued use of that method.
- Unattended installation using a response file:-
This method involves creating a response file and then running the db2setup
or setup command using that response file.
- Unattended installation using the db2_install script:-
The db2_install script is a thin, coarse wrapper that calls the response
file installer to install the entire product.
Compared to a response file installation, this method has some limitations.
- Payload file deployment:-
A payload file is a compressed tar archive that contains all of the files and
metadata for an installable component. This method extracts component files
from the payload file, directly saves them into the target path, then uses db2chgpath
to update the embedded runtime path. This deployment method is for the
advanced user only and is not a recommended installation method.
Click here for more details the payload file deployment.
Note: You can also use the db2iprune
command to reduce the size of a DB2 database product installation image. Refer to Reduce Installation Image Size section for more details.
Applying DB2 license files to images
To use DB2 server products you must obtain the appropriate licenses
for each computer you will deploy it on. You might also have to obtain a license
for a particular feature that you wish to use.
When the image is installed, the licenses are automatically installed. To verify that a license has been installed,
you can run db2licm -l and review the output.