Reduce Installation Image Size


The db2iprune utility can be used to reduce the size of a DB2 database product installation image.
DB2 data server products provide flexibility by including a large number of installable features in their installation images. However, the large footprint size of the installation images might cause a problem. You can avoid this potential problem different platforms using the db2iprune command line utility. The db2iprune utility reduces the size of your installation image.

On Windows the db2iprune utility is located at \db2\windows\utilities\db2iprune and consists of an input file and a db2iprune executable file and a text file with basic instructions. On Linux and Unix platform utility is located at image/db2/platform/utilities/db2iprune .

Use the input file (.prn file) to specify which features and components you want to remove from the installation image. The db2iprune executable file (db2iprune.exe) removes the cabinet (.cab) files associated with those features and languages (cabinet files are a number of related files that are packaged together for deployment purposes), and makes it impossible to remove a component from the installation image if a different feature in the image requires that component to be present.

Only the unspecified features, and any components that the unspecified features require, are included in the pruned installation image. When the pruned image is installed, features that were removed do not appear in the installation GUI panels. After a pruned image is installed, the result is the same as if the user had selected only that subset of features during an installation from a full image.

The end result of using the db2iprune utility is a new, smaller installation image that can be installed using the regular product installation methods.