Re: Connecting (IConnect) Solaris machine to a Linux server
Posted in 2005
On 11/29/05, Art S. Kagel <kagel@bloomberg.net> wrote:
> 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.
>
> Not to worry, the underlying rcmd() interface is included in the Linux
> libraries which is all that Informix requires. This works so...
I am under the illusion that IDS does not use the rcmd() interface -
whatever that is - and in fact does not require the r-commands
installed on the machine to operate, unless you are doing ontape
archives to a remote device. The communications between client and
server or between server and server use the r-commands configuration
files but that's all. The rest is in IDS.
Do you have any evidence that the r-commands actually must be
installed for IDS to work?
> > AFAIU 'sqlhosts' files are different between the two platforms (Solaris
> > uses
> > 'oltlitcp' protocol, while Linux uses 'olsoctcp').
>
> TLI (ontlitcp) and Sockets (onsoctcp) are just programming level APIs for
> TCP/IP protocol communications. The network layer protocols are identical.
> You use ontlitcp on the Solaris box and onsoctcp on the Linux box and all
> is well. Just set it up like any Linux connection with that one exception.
>
> > 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).
>
> Irrelevent.
>
> > How should I configure the 'sqlhosts' file on the two boxes in order to
> > obtain
> > the connectivity?
>
> See above.
>
> > Anyhing else I should take care of?
>
> Nope.
--
Jonathan Leffler #include <disclaimer.h>
Email: jleffler@earthlink.net, jleffler@us.ibm.com
Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/
sending to informix-list