Operating system
|
Syntax
|
UNIX
Windows
|
wtbman
-name transaction-server-name -kill -start -stop -query -addagents number-to-start -trimagents number-to-trim -listallprops -refresh -refreshStatus -cancelRefresh -host host-name -user user-name -user user-name -port port-number -help |
Task
|
Command
|
Start a local Transaction Server
|
wtbman -name wsbroker1 -start
|
Start a remote Transaction Server1
|
wtbman -name wsbroker1 -host finance
-port 9999 -user tom -start |
Query a local Transaction Server
|
wtbman -name wsbroker1 -query
|
Query a remote Transaction Server2
|
wtbman -name wsbroker1 -host finance
-port 9999 -user tom -query |
Add agents (for example, 2) to a local Transaction Server
|
wtbman -name wsbroker1 -addagents 2
|
Add agents (for example, 2) to a remote Transaction Server3
|
wtbman -name wsbroker1 -host finance
-port 9999 -user tom -addagents 2 |
Trim agents (for example, 3) from a local Transaction Server
|
wtbman -name wsbroker1 -trimagents 3
|
Trim agents (for example, 3) from a remote Transaction Server4
|
wtbman -name wsbroker1 -host finance
-port 9999 -user tom -trimagents 3 |
Stop a local Transaction Server
|
wtbman -name wsbroker1 -stop
|
Stop a remote Transaction Server5
|
wtbman -name wsbroker1 -host finance
-port 9999 -user tom -stop |
wtbman -name <name> -agentdetail <pid>
|
wtbman -name <name> -agentkill <pid>
|
wtbman -name <name> -refresh
|
wtbman -name <name> -cancelRefresh
|
Field
|
Value
|
Description
|
Refresh Active
|
Yes/No
|
If the refresh is not active, and if there was a refresh operation issued earlier, it shows the refreshStatus of that that operation
|
Refresh Start Time
|
yyyy-MM-dd'T'HH:mm:ss.SSS
|
Start time of the currently executing refresh operation. If no refresh is active, it shows the start time of the latest refresh operation that was completed
|
Refresh End Time
|
yyyy-MM-dd'T'HH:mm:ss.SSS
|
End time of the latest refresh operation that was completed. This is not applicable for a running refresh operation
|
Refresh Cancel Time
|
yyyy-MM-dd'T'HH:mm:ss.SSS
|
The time when a refresh operation was cancelled
|
Agents at refresh start
|
Integer value >= 0
|
Number of agents that were running at the time when refresh command was issued
|
Agents marked for refresh
|
Integer value >= 0
|
Number of agents that are marked to be refreshed. Agents that are busy will be marked for refresh and will be stopped only after they become available. Also the agents that were added after refresh operation started will not be refreshed. This field will be displayed for active refresh operation only.
|
New agents added during refresh
|
Integer value >= 0
|
No. of agents that got added after the refresh was issued. These agents won't be running old r-code, so they will not be marked for refresh
|
Agents at refresh cancel
|
Integer value >= 0
|
No. of agents running at the time of refresh cancellation
|
Agents refreshed
|
Integer value >= 0
|
It shows the actual number of agents refreshed for a refresh operation that is complete
|
Refresh operation count
|
Integer value >= 0
|
No. of times a refresh operation is invoked including the currently executing refresh operation since start of the broker
|
Refresh cancel count
|
Integer value >= 0
|
No. of times a refresh cancellation was is invoked since start of the broker
|
PID of agents marked for refresh
|
Integer value >= 0
|
Number of agents added after the refresh was issued. This doesn't include the agents that were started as replacement agents. This include agents added due to addservers or new client requests.
|
PID of agents refreshed
|
Integer value >= 0
|
List the PID of agents that were Refreshed(replaced by new agents)..
|
wtbman -name <name> -refreshStatus
|