Consultor Eletrônico



Kbase P11650: How to configure the Webspeed Broker without the NameServer option?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/12/2010
Status: Verified

GOAL:

How to configure the Webspeed Broker without the NameServer option?

GOAL:

Why configure the WebSpeed Broker without the NameServer option?

GOAL:

How to configure webspeed with no name server?

GOAL:

How to configure messenger with no name server option?

GOAL:

How to setup Webspeed to bypass NameServer

FACT(s) (Environment):

All Supported Operating Systems
Webspeed 3.1D
WebSpeed 3.1E
OpenEdge 10.x

FIX:

In previous versions of WebSpeed, prior to WebSpeed 3.1D, the WebSpeed Messenger required a connection to the server instance using a NameServer. **The exception was if the CGIIP messenger was being used. CGIIP could optionally be configured to connect directly to the broker without using the NameServer, however this process needs to be manually invoked via the cgiip.wsc file (on Windows) and/or the wspd_cgi.sh file (on Unix). See P15789, "How to configure CGIIP messenger to talk directly to the WebSpeed Broker?".

In WebSpeed 3.1D, a new feature has been implemented. Now, despite the messenger being used, the WS messenger can connect to the WS broker by by-passing the NameServer. This new feature can be implemented within ubroker.properties file of the Messenger. There are two ways to configure this feature.

Method 1- Configure from the Progress Explorer Tool
Method 2- Edit the ubroker.properties file

Method 1- Configure from the Progress Explorer Tool

1. Open Progress Explorer
2. Go to the messenger that you are using
3. Right click on the Messenger
4. Select Properties
5. Go to the "Controlling NameServer" menu
6. Deselect button "Connect using NameServer"
This will disable this section and enable the bottom section "WebSpeed Transaction Server Location"
7. Specify hostname of the WS Transaction Server
8. Specify the port of the WS Transaction Server
9. Select Okay.

There is another attribute you must change and that is within the WS Broker that you are using

10. Go to the WS Broker
11. Right click WS Broker that you are using, i.e., wsbroker1
12. Go to the "Controlling NameServer" menu of the Broker
13. Deselect button "Register With NameServer"
14. Select Okay.

Method 2- Edit the ubroker.properties file

1. In the Messenger's ubroker.properties file, edit the following entry in the corresponding messenger's section

registerNameServer=0
Host=hostname
Port=portnumber

2. In the Broker's ubroker.properties file, edit the following entry in the corresponding WS Broker's section. If this attribute is not present, enter in the
line.

registerNameServer=0

Why one would configure the WebSpeed Broker without the NameServer? Some reason could be;

A) The NameServer allows for location transparency and load balancing.
Simple or static configurations might not require those features.

B) The communications protocol employed by the NameServer is the User
Datagram Protocol (UDP). Some sites have restrictions that
prohibit the use of UDP.