Upgrading a Db2 server (Linux and UNIX)

Upgrading a Db2 server to version 11.1 on Linux® and UNIX requires that you install version 11.1 copy to a new path and then manually upgrade your existing instances and databases to this new copy.

Before you begin

Before upgrading the Db2 server:

About this task

This upgrade task describes the steps for direct upgrade to Db2 version 11.1 from version 10.1 or earlier regardless of the instance bit size. Review Upgrading Db2 servers with specific characteristics and determine which task applies better to your environment.


Restrictions

  • On Linux and UNIX operating systems except for Linux on x86, your existing 32-bit or 64-bit instances are upgraded to Db2 version 11.1 64-bit instances. The operating system and Db2 version 11.1 database product that you installed determines the instance bit size, see Support changes for 32-bit and 64-bit Db2 servers for details.

  • Additional upgrade restrictions apply. Refer to Upgrade restrictions for Db2 servers. Review the complete list.

Procedure

To upgrade a Db2 server to Db2 version 11.1:

  1. Log on to the Db2 server as root.
  2. Install Db2 version 11.1.
    Run the db2setup command and select the Install New option on the Install a Product panel to install a new copy of Db2 version 11.1.
  3. Install all Db2 add-on products that were installed in the Db2 copy from which you are upgrading.
  4. Upgrade Db2 version 10.1 or earlier instances from the same installation path that you indicated during the version 11.1 installation.
  5. Optional: Upgrade your DAS if you want to keep your existing DAS configuration and use new functionality available in Db2 version 11.1.
  6. Upgrade databases.

What to do next

After upgrading the Db2 server, perform the recommended Post-upgrade tasks for Db2 servers such as resetting the diagnostic error level, adjusting log space size, and rebinding packages. In addition, verify that the upgrade of your Db2 server was successful.