Consultor Eletrônico



Kbase P11616: How to start two or more AdminServer instances on the same UNIX machine
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/10/2009
Status: Verified

GOAL:

How to start two or more AdminServer instances on the same UNIX machine

FACT(s) (Environment):

UNIX
Progress 9.x
OpenEdge 10.0x

FIX:

You can start two separate AdminServers by specifying the -port and -adminport options in proadsv, so that they are started on different ports and do not conflict with each other.
Also, when you start the AdminServers, you will need to specify different locations for the ubroker.properties and conmgr.properties files. Please refer to Solution P94699 (for OpenEdge 10.0x) or Solution 21080 (for Progress 9.x) for further details on how to specify a custom location of the ubroker.properties file.
Be aware that once the two (or more) AdminServer instances are up and running, it's up to you to pay attention that the services configured on one AdminServer do not conflict (by using the same ports) with the services configured on the other AdminServer.

# Start AdminServer 1
proadsv -start -port 4500 -adminport 22000 -f /dir/AdminServerPlugins1.dat -propertyfile /dir/conmgr.properties.1
# Start AdminServer 2
proadsv -start -port 4600 -adminport 22500 -f /dir/AdminServerPlugins2.dat -propertyfile /dir/conmgr.properties.2
The port specified after -adminport is the port you can use to connect to the AdminServer via Progress Explorer.

Querying and stopping the AdminServers must use the -port option to specify with which AdminServer instance they have to communicate:

# Query AdminServer 1
proadsv -query -port 4500
# Query AdminServer 2
proadsv -query -port 4600

# Stop AdminServer 1
proadsv -stop -port 4500
# Stop AdminServer 2
proadsv -stop -port 4600