Consultor Eletrônico



Kbase P3103: How to start, stop & query an AppServer broker from the command line?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/14/2011
Status: Verified

GOAL:

Quick reference commands used for the Progress AppServer

GOAL:

Quick reference commands for asbman

GOAL:

How to start the AppServer through the command line?

GOAL:

How to stop the AppServer through the command line?

GOAL:

How to query the AppServer through the command line?

GOAL:

How to start a remote AppServer through the command line?

GOAL:

What command line options are used with the asbman tool?

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x

FIX:

Below you will find the different command used on command line for the AppServer broker. Note that the AppServer name is case-sensitive with the parameter "-name".

- View an AppServer configuration in the ubroker.properties file:
asconfig -name <AppServer-name>

- Validate the syntax and view the configurations of all
AppServer instances defined within a specified property file:
asconfig -propfile property-file-path -validate

- Start a local AppServer:
asbman -name <AppServer-name> -start

- Start a remote AppServer1:
asbman -name <AppServer-name> -host <host-name> -port
<port-number> -user <user-name> -start

- Query a local AppServer:
asbman -name <AppServer-name> -query

- Query a remote AppServer1:
asbman -name <AppServer-name> -host <host-name>
-user <user-name> -query

- Add Application Server processes to a local AppServer:
asbman -name <AppServer-name> -addservers #

- Add Application Server processes to a remote AppServer1:
asbman -name <AppServer-name> -host <host-name> -user
-addservers #

- Trim Application Server processes from a local AppServer:
asbman -name <AppServer-name> -trimservers #

- Trim Application Server processes from a remote AppServer1:
asbman -name <AppServer-name> -host <host-name> -user
<user-name> -trimservers #

- Stop a local AppServer:
asbman -name <AppServer-name> -stop

- Stop a remote AppServer1:
asbman -name <AppServer-name> -host <host-name> -port
<port-number> -user <user-name> -stop
Command Tool Usage for AppServer

========================================================================

-help or -h Display command line help.

-name or -i (Name) (Required) Name of AppServer

-start or -x Start named AppServer

-user or -u (UserName) User name

-host or -r Host name where AdminServer is running

-port &n.bsp; Port number of running AdminServer

-query or -q Query named AppServer

-trimservers or -trim (NumToTrim) Trim AppServer back by (NumToTrim)

-addservers or -s (NumToStart) Add (NumToStart) additional AppServer

-kill or -k Emergency shutdown of AppServer

-stop or -e Shutdown specified AppServer.

.