Consultor Eletrônico



Kbase P75181: How to start/stop/query the webspeed broker through the command line?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/28/2006
Status: Verified

GOAL:

How to start the webspeed broker through the command line?

GOAL:

How to stop the ws broker through the command line

GOAL:

How to query the ws broker through the command line?

GOAL:

Quick reference commands used for the webspeed broker

GOAL:

Quick reference commands for wtbman tool

GOAL:

What commands can be used with wtbman (WebSpeed broker)?

GOAL:

How to control the WebSpeed broker without using Progress Explorer?

FACT(s) (Environment):

WebSpeed

FIX:

Before you use following command, make sure that either %dlc%\bin (for windows) or $DLC/bin is in your PATH environment variable.
wtbman command:

-name transaction server-name
Specifies the name of a Transaction Server.

-kill
Stops and removes the NameServer from memory, no matter what it is doing.

-start | -stop | query
Starts the Transaction Server.
Tells the NameServer to stop itself.
Tells the NameServer to stop itself.

-addagents number-to-start | -trimagents number-to-trim
Specifies the number of additional agents to start.
Specifies the number of additional agents to trim.

-host host-name
Specifies the name of the machine where the AdminServer is running. If a host name is not specified, it defaults to the local host name.

-user user-name
Specifies a user name and prompts for a password when logging into a remote machine. A user name and password are required only when you use the -host parameter and specify a remote host name. If you specify a remote host name with the -host parameter, but do not specify a user name with the -user parameter, you receive a prompt for a user name and password.

-port port-number
Specifies the port number of the machine on which the AdminServer controlling the WebSpeed Transaction Server is running. If a port number is not specified, it defaults to 20931.

-help
Displays command-line help.


EXAMPLES
Assume that the Transaction Server name is wsbroker1; the user name is tom; and the AdminServer is on the remote host finance at port 9999.

Start a local Transaction Server.
wtbman -name wsbroker1 -start

Start a remote Transaction Server.1
wtbman -name wsbroker1 -host finance -port 9999 -user tom -start

Query a local Transaction Server.
wtbman -name wsbroker1 -query

Query a remote Transaction Server.1
wtbman -name wsbroker1 -host finance -port 9999 -user tom -query

Add agents to a local Transaction Server.
wtbman -name wsbroker1 -addagents 2

Add agents to a remote Transaction Server.1
wtbman -name wsbroker1 -host finance -port 9999 -user tom -addagents 2

Trim agents from a local Transaction Server.
wtbman -name wsbroker1 -trimagents 3

Trim agents from a remote Transaction Server.1
wtbman -name wsbroker1 -host finance -port 9999 -user tom -trimagents 3

Stop a local Transaction Server.
wtbman -name wsbroker1 -stop

Stop a remote Transaction Server.1
wtbman -name wsbroker1 -host finance -port 9999 -user tom -stop