Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Obnoxio The Clown — — source: Informix-list mailing list archive (1991-1998)
From: "Christian Kondo" <christian_hk@hotmail.com>
>
>My server have to work in two different subnets, but with the same
>dbservername, so I can't do the bellow configuration (like manual says):
Why the same dbservername? Why not a dbserveralias?
>in $INFORMIXDIR/etc/sqlhosts
> online_tcp1 onsoctcp hostname1 service1
> online_tcp2 onsoctcp hostname2 service2>
>and it didn't work if I put the same dbservername with two different
>hostanames.
The following should work:
In sqlhosts
online_tcp1 onsoctcp hostname1 service1
online_tcp2 onsoctcp hostname2 service2
In onconfig.xx
DBSERVERNAME online_tcp1
DBSERVERALIASES online_tcp2
In /etc/hosts
192.168.2.1 hostname1 # NIC 1
100.1.5.2 hostname2 # NIC 2
In /etc/services
service1 1525/tcp
service2 1526/tcp
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.