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 VERSION 9.1 and 9.7

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-03-10, 03:03
sanora600 sanora600 is offline
Registered User
 
Join Date: Jul 2008
Posts: 4
DB2 VERSION 9.1 and 9.7

hi Expert,

I am new to DB2..

I have installed 2 binaries on same machine using root user.
1. 9.7 (first installation) :
2. 9.1 (second installation) :

I just have few question.

1. How do I check what all the binaries are present on my machine?
2. which instance is created wiht which binaries.
3. What are the environment varialble to switch from one binaries to another binaries with respect to root.
4. what is this represent(9,7,0,0) in v9.7.0.0?

Please ignore my bad teminology.
Reply With Quote
  #2 (permalink)  
Old 06-03-10, 08:16
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
1) I assume you are using either Linux or AIX since you mentioned using root. For Linux, the binaries are usually stored in /opt/ibm/db2/...
2) Depends on what you did when you installed the different versions. You can find out by running "db2ilist" located in the instance directory of the version installed
3) login to the instance owner for that version
4) The version and fixpack level.

Andy
Reply With Quote
  #3 (permalink)  
Old 06-03-10, 13:00
sanora600 sanora600 is offline
Registered User
 
Join Date: Jul 2008
Posts: 4
Thanks for Replying Andy....

the directory you mentioned is by default pick up by the Installation wizard. let's say we have specified some non default directory.

In Oracle we have something like a file inventory.xml.... It contain all the installation home. do we have something like this in db2?

again in oracle we have

10.2.0.1

10 -- Maintaince level
2 -- release level
0 -- Oracle Application server
1 -- patchset level

do we have something similar for 9.7.0.0.

Please help me understand or point me to some place where i can find this info.

thanks once again for you response.
Reply With Quote
  #4 (permalink)  
Old 06-03-10, 13:35
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
If you did not use the default location to install, then it should have been documented somewhere by the person who did the install. As far as I know there is nothing that tells you where DB2 has been installed.

For the version 9.7.0.0

9 - Version number
7 - Release version
0 - ?
0 - Fixpack level

Andy
Reply With Quote
  #5 (permalink)  
Old 06-03-10, 13:40
sanora600 sanora600 is offline
Registered User
 
Join Date: Jul 2008
Posts: 4
thanks Andy.... you rock
Reply With Quote
  #6 (permalink)  
Old 06-10-10, 16:16
jeeva86 jeeva86 is offline
Registered User
 
Join Date: Jun 2010
Posts: 8
You can use the "db2ls" command to display all DB2 copies that have been installed on the system. This file would've been installed into /usr/bin/.
Reply With Quote
  #7 (permalink)  
Old 06-10-10, 16:54
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
On Linux it is in /opt/local/bin.

Andy
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