Consultor Eletrônico



Kbase P165932: How to connect more than one database using one AppServer?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/17/2010
Status: Unverified

GOAL:

How to connect more than one database using one AppServer?

GOAL:

How to use srvrStartupParm in ubroker.properties to connect AppServer to defined database(s)?

GOAL:

How to define -db parameter to connect an AppServer to more than one database using Progress Explorer Tools?

GOAL:

How to use AppServer to connect to databases?

FACT(s) (Environment):

Progress 9.1x
OpenEdge 10.x

FIX:

In ubroker.properties and AppServer Broker Definition section define srvrStartupParam to connect to more than one database as follows:

srvrStartupParam=-db /db1/sports -U userid - password paswd -db /db2/sports2000 -U userid -password passwd
Using Progress Explorer Tools :
AppServer > Broker > Properties > Agent >
In Server startup parameters field type:
(If database is local to the AppServer)
-db /db1/sports -U userid - password paswd -db /db2/sports2000 -U userid -password passwd
(If database is remote to the AppServer)
-db sports -S port -H host -U userid - password paswd -db sports2000 -S port -H host -U userid -password passwd