Upgrading the agent for DB2 UDB

You can only upgrade the HA agent for DB2 manually. The installvcs program does not automatically upgrade the VRTSvcsdb package.

To upgrade without saving previous configuration information you must disable the agent, remove it, and reinstall it.

The steps to upgrade and re-use previous configuration information is as follows:

To upgrade from DB2 agent 4.1 or 5.0

  1. Disable and remove the agent.

    For more information see the following:

  2. From the disc that has the HA agent for DB2, add the new package.

  3. Copy the new "Db2udbTypes.cf" from the /etc/VRTSagents/ha/conf directory to the /etc/VRTSagents/ha/conf/config directory.

  4. Update the location of the Db2udbTypes.cf file in your main.cf file's include statement. For example, change this statement:

        include "Db2udbTypes.cf"

    To read:

        include "/etc/VRTSagents/ha/conf/config/DB2udbTypes.cf"
  5. To continue to use in-depth monitoring, use the custom monitoring sample script or any user-defined scripts.

More Information

Installing the agent for DB2

Handling DB2 error codes during in-depth monitoring