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.
Benji Long, mimicking a production HDR pair on 11.5 in dev, could not find an rhosts or hosts.equiv file in production. David explained entries go in /etc/hosts.equiv or a .rhosts file in the informix home, secured as informix with chmod 600, and that these files may not exist. For 11.5 he suggested .rhosts; 11.7 and 12.1 can use REMOTE_SERVER_CFG. Benji planned to try his example.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
BENJI LONG — — source: IIUG Forums & Mailing Lists
We have a primary and secondary setup in PROD that I am trying to mimic in dev
with version 11.5
I watched Lesters webinar, and he mentions the use of an rhost file. On other
searches, I see some people use hosts.equiv file
When I look for both of these in our PROD environment, I can't find either of
them. Is there another way the two servers could be letting each other connect?
I'm wondering if I actually need this step to let server A send its logs over
to server B to complete the replication.
You can either put the entries in
- /etc/hosts.equiv
- a file called .rhosts in user informix's home directory.
The .rhosts file needs to be secured by being owner/group informix and chmod
600.
I did an example HADR setup in
http://smooth1.co.uk/installs/dbinstalls.html#6.1.2
Regards,
David.
> On 25 April 2017 at 13:42 BENJI LONG <ruggedmouse@hotmail.com> wrote:
>
>
> We have a primary and secondary setup in PROD that I am trying to mimic in
dev
> with version 11.5
>
> I watched Lesters webinar, and he mentions the use of an rhost file. On other
> searches, I see some people use hosts.equiv file
>
> When I look for both of these in our PROD environment, I can't find either of
> them. Is there another way the two servers could be letting each other
> connect?
>
> I'm wondering if I actually need this step to let server A send its logs over
> to server B to complete the replication.
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
↪ replying to david@smooth1.co.uk
BENJI LONG — — source: IIUG Forums & Mailing Lists
Thanks David, I will take a look at your example.
I can't find those files on our PROD environment. I'm not that great on Linux,
so maybe they are hidden from me or something.
Hi,
You would have to create one of the files, they may well not exist on your
system.
For 11.5 version I would go with a .rhosts file in user informix's home
directory.
If instead you create /etc/hosts.equiv that would need UNIX system
adminstrator permissions (root) to create it.
NOTE: For Informix 11.7 and 12.1 you can set onconfig parameter
REMOTE_SERVER_CFG to the name of a file in $INFORMIXDIR/etc which contains the
same information. The IBM recommended name for this file changed in 12.1 to
authfile.$INFORMIXSERVER -
https://www.ibm.com/support/knowledgecenter/en/SSGU8G_12.1.0/com.ibm.adref.doc/i
ds_adr_1123.htm
Regards,
David.
> On 25 April 2017 at 14:12 BENJI LONG <ruggedmouse@hotmail.com> wrote:
>
>
> Thanks David, I will take a look at your example.
> I can't find those files on our PROD environment. I'm not that great on
Linux,
> so maybe they are hidden from me or something.
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
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.