The DB2 CD-ROM contains several products. Select the
products you are licensed to install. Your Proof of
Entitlement and License Information booklet identify the
products for which you are licensed.
|
Go to the installation method that you would like to use to install DB2.
|
You can use the dsh command to install DB2 Extended Enterprise Edition on an RS/6000 SP machine that is running AIX. To use the dsh command:
machine1 machine2 machine3
export WCOLL=/machine.txt
exportfs -o ro /cdrom
dsh mkdir /cdrom
dsh mount control_workstation:/cdrom /cdrom
where control_workstation is the name of the control workstation.
After this command completes, all machines will be able to access the CD-ROM.
dsh installp -qagXd /cdrom pkgname
where pkgname is the name of the package that you want to install.
For example, to install DB2 Extended Enterprise Edition on every machine, you can use the following command:
dsh installp -qagXd /cdrom db2_05_00.xsrv
For package names, see Appendix D. "Contents of the DB2 Products".
|
Now that you have finished installing DB2, go to "Install the DB2 Product Library (Optional)" and "Install the DB2 Product Messages (Optional)" to optionally install the product documentation and messages. If you
do not want to install product documentation or messages, proceed to the next
step.
|
To install DB2 Extended Enterprise Edition using SMIT, perform the following steps:
For example, if /cdrom is the CD-ROM mount directory, enter the following as the INPUT device:
/cdrom/db2
Note: | You must select the License Support for DB2 Extended Enterprise Edition fileset to install DB2 Extended Enterprise Edition. |
After the installation is complete, DB2 will be installed in the
/usr/lpp/db2_05_00 directory on that machine; now you must repeat
the above steps on all machines.
|
Now that you have finished installing DB2, go to "Install the DB2 Product Library (Optional)" and "Install the DB2 Product Messages (Optional)" to optionally install the product documentation and messages. If you
do not want to install product documentation or messages, proceed to the next
step.
|
The following procedure shows how to install DB2 Extended Enterprise Edition using the Software Bundles feature. A software bundle is a collection of filesets. When you install a software bundle, every fileset in that bundle is installed.
Notes:
Messages will appear to indicate the status of the installation. Press Enter to continue, or F3 if you want to cancel.
|
Now that you have finished installing DB2, go to "Install the DB2 Product Library (Optional)" and "Install the DB2 Product Messages (Optional)" to optionally install the product documentation and messages. If you
do not want to install product documentation or messages, proceed to the next
step.
|
When you install DB2 using SMIT, the DB2 Product Library (HTML) is not automatically installed.
To install the DB2 Product Library, do the following:
/cdrom/db2
Note: | Not every manual is translated into multiple languages. The DB2 Product Library (HTML) - English fileset contains a complete set of books in English. |
| The DB2 Product Library (HTML) fileset is listed as follows:
DB2 Product Library (HTML) - language |
/usr/lpp/db2_05_00/doc/db2insthtml locale
where locale is the desired locale; for example, locale=en_US for English.
file:/usr/lpp/db2_05_00/doc/en_US/html/index.htm
To recover some disk space, you may want to remove the compressed tar files. It is recommended that you do not just remove the compressed tar HTML files; instead, you should remove the fileset for the DB2 Product Library.
After the fileset is removed, only compressed tar files will be removed. You will still be able to view the online DB2 books.
When you install DB2 using SMIT, DB2 product messages for locales, other
than en_US (English - ISO 88591), are not automatically installed.
|
You should install messages on every machine that will function as a
database partition server.
|
To install DB2 product messages in other locales, do the following:
/cdrom/db2