Unix Technical Forum

Re: [Info-ingres] 32 or 64 bit Solaris Ingres r3?

This is a discussion on Re: [Info-ingres] 32 or 64 bit Solaris Ingres r3? within the Ingres forums, part of the Database Server Software category; --> At 3:50 PM -0600 3/24/05, Michael Leo wrote: >Gang, > >I have two Solaris SPARC machines, gilligan and tonga. ...


Go Back   Unix Technical Forum > Database Server Software > Ingres

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 09:01 PM
Betty & Karl Schendel
 
Posts: n/a
Default Re: [Info-ingres] 32 or 64 bit Solaris Ingres r3?

At 3:50 PM -0600 3/24/05, Michael Leo wrote:
>Gang,
>
>I have two Solaris SPARC machines, gilligan and tonga. Gilligan
>is running the 32 bit kernel:
>
> gilligan% isainfo -kv
> 32-bit sparc kernel modules
> gilligan%
>
>while tonga is running the 64-bit kernel:
>
> tonga% isainfo -kv
> 64-bit sparcv9 kernel modules
> tonga%
>
>I installed Ingres Version II 3.0.1 (su9.us5/109) on both
>machines. During the install on gilligan, the system
>indicated that "there is no 64 bit support on this machine,
>installing in 32 bit mode".
>
>When I installed on tonga, there was no such warning.
>
>However, now that they are both installed, I fail to see
>any difference between them....
>
>My question is ... finally ... did I get the 64-bit version installed on
>tonga? And if so, how can I tell?


The solaris build is a hybrid. (At least in r3 it is, not sure about
the earlier releases.) What that means is that you get both 32 and
64 bit versions in one package. The 64-bit executables are in .../lp64
subdirectories. (bin/lp64, lib/lp64, etc.)
You normally run the 32-bit one first. The first thing one of the 32-bit
executables will do is look for the ingres variable
II_LP64_ENABLED
and if it's set (I don't believe the value matters, but I'd have to
look to be sure), the executable immediately exec's off to the lp64
version.

So, look for lp64 subdirectories, and check your ingprenv for
II_LP64_ENABLED.

You'll also have to do the right things with LD_LIBRARY_PATH.
What works best for me is to keep LD_LIBRARY_PATH set for 32-bit,
and define LD_LIBRARY_PATH_64 pointing to the lib/lp64 subdirectory.

I don't know if there is a dbmsinfo() defined to check which server
you're actually running -- that might be a useful thing if it's not
there now.

Karl
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:54 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com