Note that IBM does not officially support this distribution for DB2 UDB V8.2. Any problems you encounter using this distribution must be replicated on a supported distribution before IBM Support will help you resolve the issue.
Fedora Core 2 is a release of the Fedora Project (the Red-Hat-sponsored and community-supported open source project). The Fedora Project is a source for new technologies and enhancements that may be incorporated into Red Hat Enterprise Linux (RHEL) in the future.
These notes are based on both the default 2.6.5-1 and the update 2.6.8-1 kernels (the Fedora Core 2 kernel update on September 13, 2004 was 2.6.8-1), and installing to a single-partition environment.
The kernel parameters (ipcs -l) before DB2 UDB installation:
max number of segments: 4096 max segsize: 32768 max number of arrays: 128 max queues system wide: 16 default max size of queue: 16384
The asynchronous I/O package (libaio) is also required to take advantage of the 2.6 kernel improvements. Install the libaio package from the Fedora Core CD.
The default 2.6.5 kernel had no installation issues with the db2setup GUI installer.
On the 2.6.8 kernel, however, I received an error when running the db2setup utility (the error may not display to the terminal; instead, if the db2setup command seems to fail without error, check the /tmp/db2setup.err file) :
JVMDG080: Cannot find class com/ibm/jvm/Trace JVMXM012: Error occurred in diagnostics initialization(2) Could not create the Java virtual machine.
export DB2USELOCALJRE=TRUE export JAVA_HOME=/usr/java/jre1.5.0/
The last step to making this work – and this is very important – is to add in a link named "jre" in Sun's Java folder so that db2setup works properly with the directory:
cd /usr/java/jre1.5.0/ mkdir jre cd jre ln -s ../bin bin
After making these changes, the db2setup GUI installer works properly.
Alternatively, you can avoid the Java-based problems by installing on Fedora Core 2 using
./db2setup -r db2ese.rsp
The kernel parameters (ipcs -l) after installation look like:
max number of segments: 4096 max segsize: 262144 (updated) max number of arrays: 1024 (updated) max queues system wide: 1024 (updated) default max size of queue: 16384
Initialize the Asynchronous I/O so DB2 UDB can take advantage of this new kernel feature. As the instance owner, run:
For the GUI tools (DB2 UDB Control Center, DB2 UDB Configuration Assistant, DB2 UDB First Steps) to work properly under the 2.6.8-1 kernel, you'll need to tell DB2 UDB to use the Sun JRE. As the instance owner, execute these commands:
db2 UPDATE DBM CFG USING JDK_PATH /usr/java/jre1.5.0/ db2 UPDATE ADMIN CFG USING JDK_PATH /usr/java/jre1.5.0/