Installing a Db2 product using a response file (Windows)
Response files contain values that are used to answer questions during the installation process that you would normally answer. This installation method is useful if you are installing multiple copies of your Db2 product on multiple computers, or you want each copy to have the same installation decisions.
Before you begin
Before you begin the installation, ensure that:
- Your system meets all of the memory, hardware, and software requirements to install your Db2 product.
- Ensure the response file keyword LIC_AGREEMENT is set to ACCEPT.
To perform an installation from the workstation where the Db2 product will be installed:
Connect to the shared directory of the network drive or DVD drive containing the Db2 installation files by
entering the following command from the command prompt:
net use x: \\computer_name\directory_sharename /USER:domain\username
For example, to use the remote db2prods directory, which was shared as
- x: represents the shared directory on the local drive.
- computer_name represents the computer name of the remote server where the Db2 installation files are located.
- directory_sharename represents the share name of the directory on the network drive or DVD drive where the Db2 installation files are located.
- domain represents the domain where the account is defined.
- username represents a user that has access to this system.
DB2_Installation_Imagesand is located on the remote server
Server, as the local
x:drive, enter the following command:
Depending on how security is set up across your network, you might have to specify the /USER parameter.
net use x: \\Server\DB2_Installation_Images
- Enter the setup command as follows:
where response_file represents the full path and file name of the response file to use.
setup -u response_file
If you are using a response file that was created using the response file generator, ensure that all the instance profiles are located in the same drive and directory as the response file that you specify.
- Check the messages in the log file when the installation finishes. For information about errors encountered during installation, review the installation log file located in the My Documents\DB2LOG\ directory. The log file uses the following format: DB2-ProductAbrrev-DateTime.log, for example, DB2-ESE-Tue Apr 04 17_04_45 2007.log.