Applying Db2 fix pack updates for an instance

After you upload a Db2® fix pack to the system, you must apply the fix pack.

Before you begin

Before you apply the Db2 fix pack updates, check the following prerequisites:
  • Make sure that at least 2 GB of disk space is available in the /var and /tmp folders.
  • If it is a HADR deployment, do these steps.
    • Run the following command:
      lssam

      From the output, verify that all the resources are online and not in a broken state.

    • Run the following command:
      su - db2inst1 -c "db2pd -hadr -alldbs"
      From the output, verify these HADR statuses:
      HADR_STATE = PEER
      HADR_CONNECT_STATUS = CONNECTED

Procedure

  1. In the console, click Instances > Virtual Systems.
  2. From the Databases Instances pane, click the name of the database instance you want to update.
  3. Stop the database instance.
  4. Click Manage.
  5. Click Operations pane, then select OS_Node.DB2_Server-Part.
  6. Expand Fundamental and click Apply DB2 fix pack.
  7. Select the fix pack that you want to apply.
  8. Click Submit.
  9. Click the Refresh icon above the list at the bottom of the page to update the status of this operation as it processes. Completed fix pack updates display Success in the Result field. Failed updates display an error code.
    Note: About fix pack upgrade on HADR instances: In HADR instances, the fix pack upgrade takes place as a rollover upgrade. When you select the relevant fix pack and apply it on a standby node, the upgrade automatically takes place on both the nodes, primary and standby. You can verify the upgraded db2level on both the nodes, primary and standby after the upgrade completes successfully.