Re: HDR and sqlhosts files (reposted)
Posted in 2000
On Mon, 30 Oct 2000, Bogdan Neagu wrote:
>Hi, Jonathan
>
>Would you mind helping me with this? I posted it in the newsgroup, but
>nobody loves me there.
I saw it there an hour or two ago, decided I didn't really know the
answer (partly because most of it is at least as much to do with HDR as
it is with sqlhosts), and skipped on because I'm catching up after most
of a week out of the office. However, I'll pretend I know the answer,
and copy the news group so anybody out there who knows more about it
than I do can correct my erroneous comments.
>Date: Mon, 30 Oct 2000 13:32:17 -0500
>From: Bogdan Neagu <bogdan.neagu@alcatel.com>
>Newsgroups: comp.databases.informix
>Subject: Help please (reposted)
>
>Hi all.
>
>We try to configure an IDS 9.21 FC2 on Solaris 7 with HDR. The clients
>though are 32-bits, so we were told to use TCP connections, not shared
>memory.
Correct; FCx servers can't talk to UCx clients over shared memory, and
UCx servers can't talk to FCx clients over shared memory.
>For the previous version used (7.30), we were using shared memory, and
>our sqlhosts on one of the servers looks like:
>
>inf_shm onipcshm server_1 some_name
>inf_tlia ontlitcp server_1 infserv_sys
>otherinf_tlia ontlitcp server_1 otherserv_sys
>inf_tlib ontlitcp server_2 infserv_sys
>otherinf_tlib ontlitcp server_2 otherserv_sys>
>My questions are:
>1. How does HDR know which connection to use for HDR if there are more
> entries in the sqlhosts for the secondary server?
I've no idea. I assume you identify the server you are replicating to,
and you can specify any entry in the sqlhosts file that identifies the
server. But I still don't know, which is why I did not respond.
>2. Do we need to replace the shared memory connection with a new TCP
> one, listening to a new port, or we can use the existing TCP
> connection?
AFAIK, you can use the existing TCP connection. You might decide to
allocate a second connection as discussed below...
>3. Are there any performance issues if we use the same TCP connection?
The only one that springs to mind is ensuring that there are spare
connections for the HDR to use. I don't know whether the HDR stuff
connects once at system initialization and thereafter uses the
connection in perpetuity (probable, but by no means guaranteed), or
whether it connects more frequently. If it connects more frequently,
you might decide to configure a second TCP connection with its own NET
VP and only allow that to be used by HDR operations. Or you could
consider MaxConnect...
--
Yours,
Jonathan Leffler (Jonathan.Leffler@Informix.com) #include <disclaimer.h>
Guardian of DBD::Informix v1.00.PC1 -- http://www.perl.com/CPAN
"I don't suffer from insanity; I enjoy every minute of it!"