II_GC_PORT/II_GCC_PROT meaning

Oleg M Moskalenko  wrote:


>What 'II_GC_PROT'-variable means ?

>Thanks.
>Oleg.
>holger@rpb.msk.ru

Oleg,

If you mean II_GC_PORT, it is a way of fixing the port identity of
your server.  This is a useful thing to do if you are bypassing the
Name Server and using II_DBMS_SERVER to allocate sessions to
particular iidbms servers directly - it means you don't have to grep
around to find what your servers are called today.  You simply set the
environment variable (by export II_GC_PORT=8000 for example) just
before calling runrundbms.  Check /etc/services to make sure you
aren't reusing an existing well-known port!

If you mean II_GCC_PROT (I think there's an extra 'C' in it!), this is
a way of defining the type of socket connection to be used between
your user session and the iidbms server.  Ingres always used to use
TCP/IP (Internet) sockets, and still does on many platforms.  Sequent
led the way in noting that this was pretty daft in a single system
image, and defined a way of using UNIX domain stream sockets instead -
much more efficient!  If you set this environment variable to UNIX,
you will achieve the same result (if it's supported at all on your
system, that is).  

Happy hunting,

Dave C
Ingres Q & A
To William's Home Page

© William Yuan 2000

Email William