Consultor Eletrônico



Kbase P59916: How to configure a WebSpeed agent to connect to foriegn data
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/15/2004
Status: Unverified

GOAL:

How to configure a WebSpeed agent to connect to foreign database through Dataserver Broker?

GOAL:

WebSpeed agent connecting to the DataServer Broker, not through NameServer

FACT(s) (Environment):

DataServer

FIX:

1. Ensure that the DataServer Broker is up and running.

Refer to Solution P72265, "How to start/stop DataServer Broker" on how to do this.

2. Configure your webspeed agents to connect to the DataServer the broker. The connection string will depend on how the DataServer broker was started.

In the case of WebSpeed, the client process that is connecting to the schema holder is the the _progres client.

Follow these steps:
a. Since the client connection parameters can become long, create a basic .pf (test.pf) file that will hold the schema holder connection parameters

Example:
-db <schema-holder>
-RO or -S/-H/-N
-db <schema-image>
-ld <logical-name>
-dt ORACLE/MSS/ODBC
-U user
-P password
-Dsrv svub,1 (use this connection parameter if you are using the unified broker)

Refer to Solution P14687, "What client connection parameters are needed when using a DataServer Broker?" for more information.

b. Open ubroker.properties file
c. Go down to the webspeed broker
d. Edit the srvrStartupParam to include "-pf test.pf"
Example how string should look:
srvrStartupParam=-p web\objects\web-disp.p -weblogerror -pf test.pf

If you are using the Progress Explorer, simply enter the "-pf test.pf" file into the Agent Startup Parameters.

3. Start the agent through the command line and/or through Progress Explorer

Command line:
wtbman -name wsbroker-name -start

Progress Explorer
Select the WebSpeed broker of choice, right click and select start

For more information on how to start the WebSpeed broker, refer to chapters Starting WebSpeed Transaction Server and NameServer Instances within the WebSpeed Installation and Configuration Guide.