Salesforce

How to define min and max ports for the DataServer Broker server processes?

« Go Back

Information

 
TitleHow to define min and max ports for the DataServer Broker server processes?
URL NameP26779
Article Number000136992
EnvironmentProduct: OpenEdge
Version: 10.x, 11.x, 12.x
OS: All Supported Operating Systems
Other: Oracle DataServer, MSSQL DataServer
Question/Problem Description
How to define a mininimum and maximum port range for the DataServer Broker server processes
How to define a port range for the DataServer Broker server processes like the OpenEdge -minport and -maxport range
How to define a port range for Oracle or MSSQL DataServer Broker server processes
How to define a port range for the DataServer Broker server processes using probroker or unified broker

What ports need to be opened when connecting to a foreign database broker through a firewall
Which ports should be opened in my firewall to allow outside connections to/from the default Oracle or MSSSQL Server DataServer
What is the port range to open in the firewall for MSSQL DataServer or Oracle DataServer
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
OpenEdge 10.2B and later:

Since OpenEdge 10.2B, the DataServer Broker was enhanced to have the capability of configuring and thereby limiting port range for servers:
  • These ports are allocated dynamically, finding the first available port starting from srvrMinPort / dsminport to srvrMaxPort / -dsmaxport
  • The ports are reusable, ie. ports are released when clients disconnect and reused when new clients connect.
  • The number of available ports in the port range only needs to correspond to the number of maximum clients.
1. _probrkr

Start the _probrkr with the -dsminport and -dsmaxport parameters to limit server port range:
            
$   _probrkr -S <service-name> -H <host-name or IP> -dsminport 7000 -dsmaxport 9000

2. Unified broker 

Configure the portrange with the srvrMinPort and srvrMaxPort configuration entries in ubroker.properties file

[UBroker.OR]
# for all Oracle DataServers
    srvrMaxPort=5000
    srvrMinPort=4000

[UBroker.OR.orabroker1]
# for specific Oracle DataServers
    srvrMaxPort=5000
    srvrMinPort=4450

[UBroker.MS]
# for all MSS DataServers
    srvrMaxPort=4000
    srvrMinPort=3000

[UBroker.MS.mssbroker1]
# for specific MSS DataServers
    srvrMaxPort=4000
    srvrMinPort=3350

3. For sites that need to control ports through Firewall:

If this port range is larger than the open port range on the Firewall, a port could be allocated that is not open on the Firewall. In a firewall environment:
  1. One way TCP must be enabled for the ODBC port for the data source need to be open to client connection
  2. Two way or bi-directional TCP must be enabled for the port range between the client and database and client

Progress 9.1E, OpenEdge 10.1x and 10.2A:
  • These versions have no capability to limit the port range for the server processes of the DataServer Broker either using probroker or unified broker.
  • The DataServer Broker(s) dynamically assign the server port(s)
  • The minimum and maximum port range can not be configured for communications across a firewall.
  • For UNIX/LINUX platform, the default range is {1025 ... 2000}
  • For Windows platform, the default range is {3000 ... 5000}
  • For the versions that do not have port range support, even though unified data server broker does not support min and max server ports, Progress Explorer does have these fields but they are not updatable. The help information for these DataServer Brokers in Progress Explorer is wrong in saying these entries control min and max server ports.
Workaround
Notes
Keyword Phrase
Last Modified Date8/25/2021 1:04 PM

Powered by