Kbase P59622: Is it possible to connect two web servers to one WebSpeed broker / transaction server (via the NameS
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/10/2008 |
|
Status: Verified
GOAL:
Is it possible to connect two web servers to one WebSpeed broker / transaction server (via the NameServer)?
GOAL:
Can two web servers connect to one WebSpeed Transaction Server?
GOAL:
How to configure 2 Web Servers connecting to one WebSpeed Transaction Server.
GOAL:
How to configure 2 Web Servers connecting to one WebSpeed broker.
FIX:
The configuration would be like the following:
Distributed Environment
-----------------------
1) Machine A: Web Server & Messengers
2) Machine B: Web Server & Messengers
3) Machine C: WebSpeed Transaction Server - NameServer & Broker
Machine A
---------
1a) With Progress Explorer:
- right click on NameServer
- select New
- select Remote
- go to the property for the new NameServer
- only changes - location:
- IP
ame of Machine C where the NameServer is running
- Port number which the NameServer is running on
1b) If you DO NOT have Progress Explorer:
In the ubroker.properties files change the definition of the NameServer "NS1" as follows:
[NameServer.NS1]
location=remote
hostName={TCP hostName of machine C}
portNumber=(TCP port of NameServer.NS1 on machine C}
autoStart=0
2a) With Progress Explorer:
- go to the selected Messenger (CGIIP, WSASP, WSISA, WSNSA)
- go to properties:
- Under General tab: Make sure that the Messenger executable file is using the file within the scripts or cgi-bin directory
- Under the Controlling NameServer tab: select the new created 'remote' NameServer.
2b) If you DO NOT have Progress Explorer:
In the ubroker.properties files change the Messenger section to reference the remote NameServer.
Example of CGIIP messenger:
[WebSpeed.Messengers.CGIIP]
controllingNameServer=NS1 (This is the remote NameSever)
msngrExecFile=C:\Inetpub\scripts\cgiip.exe (Path to cgi-bin or scripts directory for the web server)
Machine B
---------
3.) Do the same steps outlined for Machine A
Machine C
---------
4.) First, start the AdminServer and NameServer
note: If NameServer (on machine C) has been set to autoStart=1, then there is no need to start the NameServer.
Next, start an instance of a WebSpeed Broker
5.) Using a browser, test the following
The URL for Workshop on machine A will be:
(http://MachineA/scripts/cgiip.exe/WService=wsbroker1/workshop)
| | |
WebServer A Messenger Broker on TS
The URL for Workshop on machine B will be:
(http://MachineB/scripts/cgiip.exe/WService=wsbroker1/workshop)
| | |
WebServer B Messenger Broker on TS