OnDemand Users Group

Support Forums => CMOD for Multiplatforms => Topic started by: rketterer on August 18, 2015, 05:55:18 PM

Title: How do you Keep TSM DB2 and CMOD DB2 separated when upgrading to CMOD 9.5
Post by: rketterer on August 18, 2015, 05:55:18 PM
  How do you keep the DB2 that gets installed with TSM from stepping on the Links from the DB2 installed for CMOD?   TSM 7.1.1 won't install because of this link  libdb2.a -> /sftw/db2_09_05/V9.5/lib64/libdb2.a
I could rename the link to get TSM 7.1.1 installed,  but when a new link is created for the TSM DB2 I'm assuming CMOD would be looking to that link also for I't DB2 library?
I will be upgrading CMODs DB2 to 10.X but I wanted to do the TSM DB conversion done first?
Title: Re: How do you Keep TSM DB2 and CMOD DB2 separated when upgrading to CMOD 9.5
Post by: Justin Derrick on August 18, 2015, 07:30:55 PM
You can remove the links to db2 with db2rmln, then replace them later.  You'll need root for this.

You didn't mention the platform you're on, but I set LIBPATH (on AIX) or LD_LIBRARY_PATH (on Linux) to the directory I want it to search first so that TSM finds what it's looking for in the directories I specify in order.

Also, install TSM under it's own User ID -- but not your CMOD user (archive or odadmin, etc.).

-JD.
Title: Re: How do you Keep TSM DB2 and CMOD DB2 separated when upgrading to CMOD 9.5
Post by: rketterer on August 19, 2015, 05:36:23 PM
OK Thanks much.   I'm sure I'll have additional questions, as I proceed through this upgrade.
Title: Re: How do you Keep TSM DB2 and CMOD DB2 separated when upgrading to CMOD 9.5
Post by: Alessandro Perucchi on August 20, 2015, 12:15:54 PM
What you can do also, is to put links of the DB2 libraries (manually with "ln -s") in the directory /opt/ibm/ondemand/V9.5/lib64, and CMOD will look first in this directory and then look in the other directory (like /lib, /usr/lib, ...)