Home > Articles > Data > DB2

This chapter is from the book

This chapter is from the book

Distributed Installation with a Response File

With a response file, an installation can proceed without intervention. You can configure a CD-ROM drive or hard disk drive to be shared and make the DB2 UDB installation files and response files accessible to the machines where the DB2 UDB product will be installed. To use a response file, use the same installation program as a normal installation with the option to specify a response file. For Windows, execute the following command:

setup /U x:\path\response_file /L y:\path\logfile
   

You specify a response file with the /U option. The /L option is used to specify the log file for this installation. The default log file is x:\db2log\db2.log (x is the boot drive).

For UNIX, execute the following command:

<DB2 Code>/db2setup -r /path/response_file
   

Where <DB2 Code> is the location of the DB2 CD-ROM image, either on a network shared CD-ROM or some shared mount point. You specify a response file with the -r option. The log of this installation is written into the /tmp/db2setup.log file.

After the installation and configuration are completed, check the log file for any errors or problems. For Solaris, the log is located in /tmp.

  • + Share This
  • 🔖 Save To Your Account