Kbase 16287: How to start an Appserver Broker in V8
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  7/7/2005 |
|
Status: Verified
GOAL:
How to start an Appserver Broker process for remote clients.
FIX:
Progress version 8.1x
FIX:
To start an App-Server Broker you would enter the following command on the machine you installed the App-Server software on:
proapbk -H hostname -S service -db dbname -H hostname -S service
-H startup parameter would be the machine hostname that you want the App-Server broker to run on. The -H would be the same ouput provided from uname -a. The -H after the -db parameter is the hostname the DB itself is running on.
Example:
uname -a
HP/UX hp824 10.1
The -H in this case would be hp824.
-S startup parameter would be an entry you made to /etc/services file on your machine as well as the client machine making the remote connection. The syntax of the service line in /etc/services would be: servicename port/tcp.
Example:
appserver 2600/tcp
The -S parameter which follows the -db parameter is the service name the DB was started against for remote client connections. This service name will also need to reside in the /etc/services on the machine where the App-Server broker is being spawned, as well as on the client machine's services file. The App-Server can also be initialized to make use of shared memory by connecting it as a local client. This can be configured by doing:
proapbk -H hostname -S service -db absolute path /dbname
As remote clients make connections to the App-Server Broker, an App-Server will be spawned to handle requests on behalf of that one remote client. App-Server Broker - spawns 1 server for each client making a request for service. This differs from the DB Broker process as 1 server can handle more than 1 client request.
When an App-Server Broker is spawned a log file for that broker is also created. The App-Server log file is called: proapsv.lg This log file will contain information regarding the current status of the App-Server Broker as well as remote servers it spawns. Errors will also be reported in this log file.