Understanding DB2: Learning Visually with Examples (2nd Edition)

3.7. Installing DB2 in a DPF Environment

In a DPF environment with multiple physical machines, each of the participating machines must have DB2 installed locally. To ease the installation of DB2 on other machines, we recommend you create a response file when you install DB2 on the first machine. Once this response file is created, you can transfer the file to the other machines and run a Silent installation (see section 3.4, Silent Install Using a Response File, for details).

The DB2 install code from the installation CD-ROM can reside on a shared disk, from which you proceed to install DB2 locally onto each participating computer, as illustrated in Figure 3.25.

Figure 3.25. Installing DB2 in a DPF environment

The Linux2 machine in Figure 3.25 has a disk onto which the install code from the installation CD-ROM has been copied. This disk is set up so that it can be shared by the other two machines, Linux1 and Linux3. From each of the machines you can execute the db2setup command to install DB2 locally; therefore, each machine will have its own local directory /opt/IBM/db2/V8.1 containing the DB2 installed binaries. Installing DB2 locally on the Linux2 machine and sharing the installed binaries with Linux1 and Linux3 is not supported.

NOTE

On Linux, the DB2 installed binaries are locally stored in directory /opt/IBM/db2/V8.1. On other platforms DB2 is installed in other directories. Use the db2level command to determine where the installed code has been locally installed in your machine.

Категории