Greetings All,
I have two questions.
1. How do I determine what port is used, from the Installation Identifier
2. Is there any way to specify permanently which ports are used on a specific Ingres installation (wintcp, tcp_ip and the DAS is used)
I have an installation being set up, where the servers are firewalled from the general users, and they want to specify exactly which ports are used / opened to allow the application to work.
Reading the Wiki, it states that for example
If II_Installation Is set to II, then the port has a specific value, and that port plus the next 7 are used.
My listen address is NZ, what port does that map to.
Sorry.
Ingres 9.2 SP1 on windows 32bit
TIA
Cheers
Richard
/++++++++++++++++++++++++++++++++++\
| New Zealander, Leading the world |
\++++++++++++++++++++++++++++++++++/
Hi Richard,
Check the first few lines in errlog.log
Here is excerpt from Ingres 10 log.
EDLYNINGRES1 ::[II\COMSVR\4998 , 18840 , 00000000ffffffff]: Wed Sep 04 01:51:32 2013 E_GC2815_NTWK_OPEN Network open complete for protocol TCP_IP, port II (21064)
EDLYNINGRES1 ::[II\DASVR\5024 , 20516 , 0000000000000000]: Wed Sep 04 01:51:35 2013 E_GC4803_NTWK_OPEN Network open complete for protocol TCP_IP, port II7 (21071)
If you check old postings at this forum you will probably find a much smarter method.
Cheers
Paul White
&
Shift Seven Solutions
www.shift7solutions.com.au
Hi Richard,
The installation identifier NZ will map to port 23760. I can send you a program to determine port numbers from the installation identifier if you want.
And you are correct that it will use that port plus the next seven for the various dodads that make Ingres. And as far as I know there is no way to say bring up specific components on specific ports.
Martin Bowes
Thanks Paul,
I was aware that the error log mentioned them,
But I also understood (rightly or wrongly) that they were randomly assigned (Wiki implies) – When probably at ingres start-up.
So I both need to map Installation identifier to port, but also
See if there was a way to override the random assignation and assign permanent ports
So that our firewall people could make the firewall porous for our Ingres applications.
Martin has replied off-line, with some additional options, but is unaware of any method to set the ports permanently.
Cheers
Richard
/++++++++++++++++++++++++++++++++++\
| New Zealander, Leading the world |
\++++++++++++++++++++++++++++++++++/
From: info-ingr...@kettleriverconsulting.com [mailto:info-ingr...@kettleriverconsulting.com] On Behalf Of Paul White
Sent: Wednesday, 4 September 2013 6:00 p.m.
To: 'Ingres and related product discussion forum'
Subject: Re: [Info-Ingres] Ingres ports used
Hi Richard,
Check the first few lines in errlog.log
Here is excerpt from Ingres 10 log.
EDLYNINGRES1 ::[II\COMSVR\4998 , 18840 , 00000000ffffffff]: Wed Sep 04 01:51:32 2013 E_GC2815_NTWK_OPEN Network open complete for protocol TCP_IP, port II (21064)
EDLYNINGRES1 ::[II\DASVR\5024 , 20516 , 0000000000000000]: Wed Sep 04 01:51:35 2013 E_GC4803_NTWK_OPEN Network open complete for protocol TCP_IP, port II7 (21071)
If you check old postings at this forum you will probably find a much smarter method.
Cheers
Paul White
&
Shift Seven Solutions
www.shift7solutions.com.au
From: info-ingr...@kettleriverconsulting.com [mailto:info-ingr...@kettleriverconsulting.com] On Behalf Of Richard Harden
Sent: Wednesday, 4 September 2013 3:10 PM
To: info-...@kettleriverconsulting.com
Subject: [Info-Ingres] Ingres ports used
Hi Richard,
There is a knowledgebase article, entitled “Manual Calculation of the tcp_ip Port Number from Listen Address”, which provides a reasoned answer to this question.
Please also note that use of ‘wintcp’ is deprecated.
So, for NZ
N = 14
Z = 26
The formula (for 2 alphas) is = 16384 + 512*N + 8*Z or (16384 + 512*14 + 8*26 = 23760)
So NZ = 23760 (gcc0)
NZ2 = 23762 (gcc2)
NZ7 = 23767 (DAS) (Take care if you need more than 7 gcc servers.)
See also knowledgebase article, entitled “Number of GCC Servers”.
In all cases, when a iigcc process starts up, the listen address and the numerical port are printed in the errlog.log.
Please note that the GCN server, DBMS server, STAR server, etc use random, OS allocated ports and these can change when Ingres is re-started.
I hope this helps.
Michael
From: info-ingr...@kettleriverconsulting.com [mailto:info-ingr...@kettleriverconsulting.com] On Behalf Of Richard Harden
Sent: 04 September 2013 06:10
To: info-...@kettleriverconsulting.com
Subject: [Info-Ingres] Ingres ports used
There is a Wiki page that also has a program you can use to calculate
the port numbers from the installation ID (ahead of time, before they
are reported via the "errlog.log"):
http://community.actian.com/wiki/Ingres_TCP_Ports The program will also
do the reverse calculation.
~Roger
-----Original Message-----
From: info-ingr...@kettleriverconsulting.com
[mailto:info-ingr...@kettleriverconsulting.com] On Behalf Of
Subject: Re: [Info-Ingres] Ingres ports used