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 > creation of 32 bit instance on 64 bit System ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-12-10, 04:54
eswerreddy eswerreddy is offline
Registered User
 
Join Date: Mar 2010
Posts: 2
creation of 32 bit instance on 64 bit System ?

Hi All

How to create 32 bit instance on 64 bit System ?

I am using DB2UDB v9.5 fp 2 . Actually my application team requested me to create a 32 bit instance to configure their Application . But there is no option in db2icrt command to mention the bit width in 9.5 .

db2icrt command will automatically create the instance based on the sys configuration, if sys is 64 bit , it will create the 64 bit instance . same for 32 bit also ....


Some where i saw , When we changed some code in the db2profile file , the 64 bit instance will work as 32 bit instance .... could u please give me the details of the process ..

Please suggest me the resolution in this issue...

and ANY Alternative ways ....?

Thanks in Advance ...
Srinivas.
Reply With Quote
  #2 (permalink)  
Old 03-12-10, 06:01
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
As far as I know: you can install a 32bit version of db2 on a 64 bit O.S.
All databases on that server will be 32 bit.
Reply With Quote
  #3 (permalink)  
Old 03-12-10, 07:22
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,448
Beginning with DB2 9.1, the instance bitness is determined by the platform bitness; you cannot specify bitness when creating an instance.
Reply With Quote
  #4 (permalink)  
Old 03-12-10, 07:52
eswerreddy eswerreddy is offline
Registered User
 
Join Date: Mar 2010
Posts: 2
Thanks for your suggestions !!

Nick,

I know , we cannot mention the bitwidth when we are creating the instance from the V9.1 . But if i installed 32 bit db2 s/w on 64 bit machine , Will all the instances work as 32 bit instances ...?
Reply With Quote
  #5 (permalink)  
Old 03-12-10, 08:05
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Why would you want to use a 32bit instance? There is usually no reason for that. A 64bit DB2 instance can execute 32bit stored procedures/UDFs, and a 32bit client can talk to a 64bit server just fine.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #6 (permalink)  
Old 03-12-10, 08:17
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,448
Quote:
Originally Posted by eswerreddy View Post
But if i installed 32 bit db2 s/w on 64 bit machine
I doubt you have that option. As Herr Stolze said, there's no reason to do that anyway.
Reply With Quote
  #7 (permalink)  
Old 03-12-10, 09:00
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,810
Quote:
Originally Posted by eswerreddy View Post
Some where i saw , When we changed some code in the db2profile file , the 64 bit instance will work as 32 bit instance .... could u please give me the details of the process ..
I believe client instances include support libraries for 32-bit and 64-bit applications so it's possible to run 32-bit applications within the 64-bit (basically set LIBPATH to sqllib/lib32)

Check this URL for more info:
IBM DB2 9.5 Information Center for Linux, UNIX, and Windows

Last edited by db2girl; 03-12-10 at 09:14.
Reply With Quote
Reply

Tags
32 bit instance, 64 bit instance, db2 9.5

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