Upgrading the DB2 database
- Your current DB2 database and RICOH ProcessDirector system is backed up.
- The home directory of the DB2 database (
/home/aiwinst
is the default) has 2.5 GB of free space. - The directory
/tmp
has 2 GB of free space.
- Note:
- You can only use the upgrade scripts with the version of DB2 that is installed with RICOH ProcessDirector. If you installed your own version of DB2 to work with RICOH ProcessDirector, you must use the standard upgrade process provided by IBM.
If you manually upgrade the DB2 database before upgrading RICOH ProcessDirector, do not start RICOH ProcessDirector until you upgrade to the new version. Some older versions of RICOH ProcessDirector do not work with newer versions of the DB2 database.
Whether you are installing using a DVD or an ISO image, make sure that you can access the installation media from the primary server. Make sure that you have completed these procedures as needed:
- Preparing the primary computer for installation
- Downloading installation files
- Mounting an ISO file on AIX
To upgrade the DB2 database as part of the RICOH ProcessDirector install process, follow the instructions provided by the installer. When you get to the Database configuration tab of the installer, select Check to upgrade DB2. If you are using the command line installer, when you get to the Upgrade DB2 section, select 1- Upgrade DB2.
To upgrade the DB2 database manually:
- Verify that your system meets the requirements listed above.
- Log in to the primary computer as the system user (aiw1 is the default).
- Open a command line and type stopaiw
- Type su - root and press Enter. When prompted, enter the password for the root user and press Enter.
- Go to the directory where the installation media is located and find scripts/upgradeDB2.sh
- To run the script, type scripts/upgradeDB2.sh and press Enter.
- Note:
- It can take several minutes for the script to complete.
When the script finishes, the command prompt returns: Successfully upgraded DB2.
- It can take several minutes for the script to complete.
- Check the installation log for any errors. Go to
/opt/infoprint/ippd/logs/installer/
and open upgradeDB2.log. - Verify the DB2 database level on the system. Type /usr/local/bin/db2ls and press Enter.
The command displays the current DB2 database level along with the install path and install date. If the installation was successful, the DB2 database level is 11.5.8.
- If you upgraded the DB2 database before upgrading RICOH ProcessDirector, continue with installing RICOH ProcessDirector. See Installing for more information.
- If you upgraded the DB2 database after upgrading RICOH ProcessDirector, start RICOH ProcessDirector and log on to verify that the upgrade was successful.