Kbase P186320:  How to find which AppServers have registered with the Name Server and which port they are running o
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  25/04/2011 |
|
Status: Unverified
GOAL:
How to find which AppServers have registered with the Name Server and which port they are running on?
GOAL:
How to determine which port the AppServer broker is running on?
GOAL:
How to find the port number asbroker was started on?
FACT(s) (Environment):
All Supported Operating Systems
Progress 9.x
OpenEdge 10.x
FIX:
There are five methods that may be used to determine which port an AppServer / asbroker is running on.
1. The following will return which AppServers have registered with the name server and the port they are running on.
nsman -name <name-of-NameServer> -q [-port (port number of adminserver-if not-default-port)]
Example:
nsman -name NS1 -q -port 20961
(Typical AppServer listing)
<name of AppServer>
AS.asbroker2
... host-name/<TCPIP address> <port>
02e399e6ffef00a6:222446c7:12ce15472fd:-7818 AS.asbroker2 prihosti/110.222.444.40 4095 0 30
2. The following will give you the port number the appserver/asbroker is running on.
asbman -name <name of AppServer/asbroker> -q [-port (port number of adminserver-if not-default-port)]
Example:
asbman -name asbroker2 -q -port 20961
3. The asbroker log file also contains this information.
The asbroker log file at the start up of the asbroker logs the following information which contains the port number it was started on.
[11/04/20@17:14:46.163-0400] P-005348 T-L-4095 2 UB Basic Started listener thread: L-4095 (8043)
The Listener Thread is the port the broker was started on and in this example is port 4095.
4. The name server log file also lists the port number of each AppServer/asbroker that registered with the Name Server.
T-NS1 2 NS NSPlumbing Registering Broker ... :-7a1c AS.asbroker2 prihosti/110.222.444.40 4095. (8205)
Asbroker2 was started on port 4095.
5. The ubroker.properties file also contains the port numbers used for each asbroker configured.