DB2® for Linux ®, UNIX® and Windows®
DB2® for Linux ®, UNIX® and Windows® Installation methods for DB2 LUW V9.1, V9.5 and V9.7
This presentation describes installation methods for DB2® LUW V9.1, V9.5 and V9.7.
Objective
Objective Installation methods for DB2 product line DB2 Setup wizard Response file installation Db2_install command Payload file deployment More information http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/index.jsp?topic=/com.ibm.db2.luw.qb.server.doc/doc/c0008711.html
Based on your operating system, various installations are available. The DB2 Setup wizard and the Response file installation is available for Windows®, Linux® and UNIX®. The db2_install command and the Payload file deployment is only available for Linux and UNIX. Regardless of which operating system you are using, this module provides installation methods for the DB2 product line. More installation information is found on the IBM Information Center. With the information center, you can view, browse, and search online information. The information center is built upon open source software developed by the Eclipse Project.
DB2 Setup wizard
DB2 Setup wizard Graphical User Interface installer Linux UNIX Windows Easy to use DB2 instances Response files
The DB2 Setup wizard is a Graphical User Interface installer available on Linux, UNIX, and Windows operating systems. The DB2 Setup wizard provides an easy-to-use interface for installing DB2 products and for performing initial setup and configuration tasks. The DB2 Setup wizard can also create DB2 instances and response files that can be used to duplicate this installation on other machines. For non-root installations on Linux and UNIX platforms, only one DB2 instance can exist. The DB2 Setup wizard automatically creates the non-root instance. On Linux and UNIX platforms, an X server is required to display the DB2 Setup wizard.
Response file installation
Response file installation Text file Silent installation Advantage – access to parameters Availability of installation progress Response file keyword
A response file is a text file that contains setup and configuration values. The file is read by the DB2 setup program and the installation is performed according to the values that have been specified. A response file installation is also referred to as a silent installation. An advantage to response files is that they provide access to parameters that cannot be set using the DB2 Setup wizard. On Linux and UNIX operating systems, if you embed the DB2 installation image in your own application, it is possible for your application to receive installation progress information and prompts from the installer in computer-readable form. This behavior is controlled by the INTERACTIVE response file keyword.
Response file
Response file Two methods Response file generator for Windows Replicate existing installation DB2 Setup wizard Based on selections Recorded and saved Export db2cfexp command After installation and cataloging data sources
There are two ways to create a response file. You can use the response file generator for Windows only platforms or the DB2 Setup wizard. When using the response file generator for Windows platforms, you can use the response file generator to create a response file that replicates an existing installation. For example, you might install an IBM data server client, fully configure the client, then generate a response file to replicate the installation and configuration of the client to other computers. When using the DB2 Setup wizard, you can create a response file based on the selections you make as you proceed through the DB2 Setup wizard. Your selections are recorded in a response file that you can save to a location on your system. If you select a partitioned database installation, two response files are generated, one for the instance-owning computer and one for participating computers. One benefit of this installation method is that you can create a response file without performing an installation. This feature can be useful to capture the options required to install the DB2 product. The response file can be used at a later time to install the DB2 product according to the exact options you specified. You can export a client or server profile with the db2cfexp command to save your client or server configuration, and then easily import the profile using the db2cfimp command. A client or server profile exported with the db2cfexp command can also be imported during a response file installation using the CLIENT_IMPORT_PROFILE keyword. You should export the client or server profile after performing the installation and cataloging any data sources.
Customizing sample response files
Customizing sample response files Manually modify sample response files Sample response files provided Details of valid keywords
You can customize the sample response files that are provided for each DB2 product. An alternative to using the response file generator or the DB2 Setup wizard to create a response file is to manually modify a sample response file. Sample response files are provided on the DB2 product DVD. The sample response files provide details about all the valid keywords for each product.
db2_install command (Linux and UNIX only)
db2_install command (Linux and UNIX only) Installs all components specified Select additional languages to support Cannot select or deselect components Does not perform User and group creation Instance creation Configuration Requires manual configuration
The db2_install command is for Linux and UNIX only. The db2_install command installs all components for the DB2 product you specify with the English interface support. You can select additional languages to support with the -L parameter. You cannot select or deselect components. Although the db2_install command installs all components for the DB2 product you specify, it does not perform user and group creation, instance creation, or configuration. This method of installation might be preferred in cases where configuration is to be done after installation. If preferred, configure your DB2 product while installing it, consider using the DB2 Setup wizard. On Linux and UNIX operating systems, if you embed the DB2 installation image in your own application, it is possible for your application to receive installation progress information and prompts from the installer in computer-readable form. This installation method requires manual configuration after the product files are deployed.
Payload file deployment (Linux and UNIX only)
Payload file deployment (Linux and UNIX only) Advanced installation method Requires physical installation of payload files Compressed tar files Requires manual configuration
Payload file deployment is available for Linux and UNIX only. This method is an advanced installation method that is not recommended for most users. It requires a physical install of payload files. A payload file is compressed tar files that contains all of the files and metadata for an installable component. This installation method requires manual configuration after the product files are deployed.
Feedback
Feedback Your feedback is valuable You can help improve the quality of IBM Education Assistant content to better meet your needs by providing feedback. Did you find this module useful? Did it help you solve a problem or answer a question? Do you have suggestions for improvements? Click to send e-mail feedback: mailto:iea@us.ibm.com?subject=Feedback_about_DB2InstallationMethods.ppt This module is also available in PDF format at: ../DB2InstallationMethods.pdf
You can help improve the quality of IBM Education Assistant content by providing feedback.
Trademarks