Try OpenEdge Now
skip to main content
Administration
WebSpeed Administration : Connecting WebSpeed to a Data Source : Connecting to an OpenEdge RDBMS : Connecting to a remote database
 
Connecting to a remote database
When connecting to a remote database, an agent needs information about the database's physical location. Unlike a local connection, where you can choose not to include them, you must include the parameters described in the following table for a remote connection.
Table 59. Remote connection parameters
Parameter
Description
Host Name (-H)
Indicates the name of the machine where the database server resides.
Service Name (-S)
Indicates the name of the available service you are calling. This is the service that the database server uses, not a WebSpeed service. See your \etc\services file for a list of available services. Note that the database server does not have to use a named service.
The following example of a SrvrStartupParam setting from ubroker.properties connects to a remote Sports2000 database:
srvrStartupParam=-p web\objects\web-disp.p -cpstream iso8859-1 -weblogerror -db sports2000 -H pluto -S mysv12
Note: The srvrStartupParam property is a dynamic property. Any changes to this property only affects new agents started after the value changes because the change affects how the agent is started. Existing (running) brokers and agents are not updated with the new value.
The remote database is on the pluto host and the database server uses the service, mysv12.