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 > can we have two different fix pak in one box?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-06-06, 13:07
M_RAS M_RAS is offline
Registered User
 
Join Date: Sep 2003
Location: canada
Posts: 230
can we have two different fix pak in one box?

I use db2 v8 fix pak 9 and aix 5.2

My question is can we have two different fix pack for db2 in one box? if yes is it necessary I create new instance ? could you please help me how we can do that? I need to create two new databases with db2 v8 fix pak 9 and 10.

Thank you in advance for your help.
Reply With Quote
  #2 (permalink)  
Old 09-06-06, 14:36
cchattoraj cchattoraj is offline
Registered User
 
Join Date: Mar 2003
Posts: 343
a] The default install path for db2 is /usr/opt/db2_08_01 and it remains the same for both 8.1 and 8.2, as far as I know. It could have been done for concurrent v7 and v8 installs.

b] You cannot have 2 databases under the same instance, one using one version and the other using another. Doesn't work that way since under sqllib , sqllib/admin, etc, they all point to the same binaries.
Reply With Quote
  #3 (permalink)  
Old 09-06-06, 14:42
M_RAS M_RAS is offline
Registered User
 
Join Date: Sep 2003
Location: canada
Posts: 230
Quote:
Originally Posted by cchattoraj
a] The default install path for db2 is /usr/opt/db2_08_01 and it remains the same for both 8.1 and 8.2, as far as I know. It could have been done for concurrent v7 and v8 installs.

b] You cannot have 2 databases under the same instance, one using one version and the other using another. Doesn't work that way since under sqllib , sqllib/admin, etc, they all point to the same binaries.
So you believe that we should create new instance and the under new instance we can have new database with different fixpack, is it right?
Reply With Quote
  #4 (permalink)  
Old 09-06-06, 17:19
cchattoraj cchattoraj is offline
Registered User
 
Join Date: Mar 2003
Posts: 343
No, because as I mentioned, the install path is the same. So this cannot be done on the same server.
Reply With Quote
  #5 (permalink)  
Old 09-06-06, 17:21
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
If you use alternate fixpacks, then you can have multiple fixpacks installed, and each instance can point to whichever fixpack you want. This is controlled by the db2icrt command, by invoking it from the fixpack directory that you want to use.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #6 (permalink)  
Old 09-07-06, 12:34
cchattoraj cchattoraj is offline
Registered User
 
Join Date: Mar 2003
Posts: 343
Marcus_A, will appreciate if you can explain how to do this.
Reply With Quote
  #7 (permalink)  
Old 09-07-06, 13:29
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
http://www-1.ibm.com/support/docview...id=swg21112119

gives you an introduction to regular and alternate fixpaks ...

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #8 (permalink)  
Old 09-08-06, 02:57
Peter.Vanroose Peter.Vanroose is offline
Registered User
 
Join Date: Sep 2004
Location: Belgium
Posts: 1,079
This solution will only work on a unix or linux system, not on MS-Windows; essentially because the latter OS does not support dll versioning, so two different dll's with the same name would clash.
(At least, this is my interpretation of why DB2 didn't provide the "alternate fixpack" concept on MS-Win).
__________________
--_Peter Vanroose,
__IBM Certified Database Administrator, DB2 9 for z/OS
__IBM Certified Application Developer
__ABIS Training and Consulting
__http://www.abis.be/
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