Kbase P75133: How to control a WebSpeed broker remotely through a script or batch process?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  4/5/2004 |
|
Status: Verified
GOAL:
How to control a WebSpeed broker remotely through a script or batch process?
GOAL:
How to control a WebSpeed broker remotely through a background process?
GOAL:
How to create a WebSpeed background process so that a remote broker can be controlled?
GOAL:
How to create a script to control a WebSpeed broker remotely?
FACT(s) (Environment):
Progress 9.1x
FACT(s) (Environment):
WebSpeed 3.1x
FIX:
The following example shows how to control the remote webspeed broker with a database backup. This example can be applied to any unified broker within the framework, i.e., AppServer.
/Start of Script/
wtbman -name wsbroker1 -host superhost -user MrX -stop < pswd.txt
proshut sports -by
probkup sports bk_volume
proserve sports -S 2000 -N tcp -H host
wtbman -name wsbroker1 -host superhost -user MrX -start < pswd.txt
/End of Script/
The key here is the "< pswd" is redirecting the input from pswd.txt that contains the password to access the remote host. This file must have execution permission.