If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > db2 environment question

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-10-05, 13:08
rvsc36 rvsc36 is offline
Registered User
 
Join Date: Jan 2004
Location: Phoenix, AZ
Posts: 42
db2 environment question

Has anyone run into any issues with setting the DB2 environment when you are running different versions of DB2 on the same box?

Thanks for any input...
Reply With Quote
  #2 (permalink)  
Old 01-10-05, 13:18
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
There are some links which are stored in /usr/lib directory ... So, if you install multiple versions, only one of them can be available in that directory ... Therefore care has to be taken to know when using those files .. IBM recommends to use db2rmln to remove those links before installing multiple versions

HTH

SAthyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 01-10-05, 17:13
rvsc36 rvsc36 is offline
Registered User
 
Join Date: Jan 2004
Location: Phoenix, AZ
Posts: 42
Thanks Sathyaram,

The problem we were having was that the db2 environment was not being set properly and therefore we were having strange things happen when we ran normal db2 commands against the instance we wanted to be connected to.

We wound up changing our db2env script to include an if statement, where if it is the 8.1.7 instance, it ran the .db2env for that instance. That way, we can switch between the different (v8.1.5 and v8.1.7) binaries.

On your comment on the "db2rmln" command that IBM recommends... We did not see in the fixpack instructions where this was said to run. Because of this, the db2rmln was not run before we applied the 8.1.7 altfixpack. Things seem to be working okay so far. Please let me know if you think this could become an issue...

Thanks again for your comments.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On