Follow these instructions to install new DB2® database products at a particular fix pack
level. The db2setup command is used to perform
the installation.
About this task
Use
this method if:
- There are no DB2 database
products in the selected installation path, or
- DB2 database products exist
in the selected installation path and you want to add more products
(at the same fix pack level as the existing products) in the same
path.
Before you begin
- Perform all of the necessary tasks before installing
a fix pack. Refer to Before installing a fix pack.
- If you want to install a new DB2 database
product with national languages enabled, you must obtain the national
language fix pack in addition to either an individual fix pack or
a universal fix pack. National language fix packs can not be used
alone.
For example, to install a DB2 database
product with non-English support, download the DB2 database product-specific fix pack image
and the national language fix pack. Then run db2setup from
the DB2 database product-specific
fix pack image.
- The db2setup command is located
in the single server fix pack image, not in the universal fix pack
image.
Procedure
To install the DB2 database
products:
- Log on as root.
- Change to the directory that contains the fix pack image.
- Launch the installation by issuing the command:
./db2setup
Note: - If you choose to install InfoSphere® Federation
Server products, you will receive a warning message if you issue db2setup from
a fix pack image that is at a lower level than the existing DB2 database products. You must
apply the appropriate fix pack after the product installation is complete.
- For all other DB2 database
products, if the fix pack image that you are using to add new products
is not at the same level as the installed DB2 database products in a particular DB2 copy, the installation attempt
will not succeed. For example:
- If the fix pack image is at a lower level than the installed products,
the error message returned by db2setup will advise
you to obtain the right fix pack image.
- If the fix pack image is at a higher level than the installed DB2 database products, the error
message returned by db2setup will advise you to
upgrade the existing products using installFixPack first.
What to do next
To
complete the installation, perform the necessary post-installation
tasks for fix packs. Refer to
Post-installation tasks for fix packs (Linux and UNIX).