Unix Technical Forum

Connecting (IConnect) Solaris machine to a Linux server hosting IDS

This is a discussion on Connecting (IConnect) Solaris machine to a Linux server hosting IDS within the Informix forums, part of the Database Server Software category; --> Hi there, I have a question for you smart guys. I have Sun Solaris 9 machine where Informix IConnect ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 10:39 AM
Rupan3rd
 
Posts: n/a
Default Connecting (IConnect) Solaris machine to a Linux server hosting IDS

Hi there, I have a question for you smart guys.

I have Sun Solaris 9 machine where Informix IConnect 10.0 is installed.
The machine should make use of the database server (IDS 10.0) installed
on a Red Hat EL4 Linux server.

By default Linux does not provide 'rlogin' functionality, which is the default
method used by Informix to make the connectivity. Now it is installed on my box.

AFAIU 'sqlhosts' files are different between the two platforms (Solaris uses
'oltlitcp' protocol, while Linux uses 'olsoctcp').

Furthermore (but don't know if this is an issue), the default Informix install
directory is different on the wto platforms ('/usr/informix' for Solaris VS
'/opt/informix' on Linux).

How should I configure the 'sqlhosts' file on the two boxes in order to obtain
the connectivity?

Anyhing else I should take care of?

Any help would be really appreciated.

Rupan3rd (Italy)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 10:39 AM
Claus Samuelsen
 
Posts: n/a
Default Re: Connecting (IConnect) Solaris machine to a Linux server hostingIDS

Rupan3rd wrote:
> Hi there, I have a question for you smart guys.
>
> I have Sun Solaris 9 machine where Informix IConnect 10.0 is installed.
> The machine should make use of the database server (IDS 10.0) installed
> on a Red Hat EL4 Linux server.
>
> By default Linux does not provide 'rlogin' functionality, which is the
> default
> method used by Informix to make the connectivity. Now it is installed on
> my box.
>
> AFAIU 'sqlhosts' files are different between the two platforms (Solaris
> uses
> 'oltlitcp' protocol, while Linux uses 'olsoctcp').
>
> Furthermore (but don't know if this is an issue), the default Informix
> install
> directory is different on the wto platforms ('/usr/informix' for Solaris VS
> '/opt/informix' on Linux).
>
> How should I configure the 'sqlhosts' file on the two boxes in order to
> obtain
> the connectivity?
>
> Anyhing else I should take care of?
>
> Any help would be really appreciated.
>
> Rupan3rd (Italy)


Informix uses the OS for user authentication. If you want to be able to
connect to IDS without sending password, you can either edit .rhosts
files or edit /etc/hosts.equiv. This works even you can't use rlogin.

You should use environment variable to point to where Informix software
is installed. So on Solaris set INFORMIXDIR=/usr/informix and on linux
INFORMIXDIR=/opt/informix.

Solaris uses transport layer interface (tli) on top of tcp, while linux
uses berkeley socket (soc) so you have to have two different sqlhosts files.
On solaris:
ids_name ontlitcp linux_name service_name

On linux
ids_name onsoctcp linux_name service_name

On both systems set environment variable INFORMIXSERVER=ids_name

The sqlhosts file should be placed in $INFORMIXDIR/etc unless you set
INFORMIXSQLHOSTS environment variable.
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 08:41 AM.


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