Upgrading the VCS Agent for DB2

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

  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. Make sure that you have copied the Db2udbTypes.cf file from the /etc/VRTSagents/ha/conf/Db2udb/ directory to the /etc/VRTSvcs/conf/config directory.

    Make sure to update the newly copied Db2udbTypes.cf file with all the type-level changes that you had made to the older Db2udbTypes.cf file. For example, if you had changed the value of the MonitorInterval attribute from the default 60 to 120 seconds, the Db2udbTypes.cf file gets updated. You must apply these type-level changes manually to the newly copied Db2udbTypes.cf file.

  4. To continue to use in-depth monitoring, use the custom monitoring sample script or any user-defined scripts.

More Information

Installing DB2 in a VCS environment

Handling DB2 error codes during in-depth monitoring