Kbase P64116: How to communicate between 2 AppServers to control their sta
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/28/2004 |
|
Status: Unverified
GOAL:
How to communicate between 2 AppServers to control their status
FACT(s) (Environment):
Progress 9.1D
FIX:
Specify a Startup procedure for AppServer1 which connects to the
AppServer2 to initiate a new procedure running on AppServer2. For AppServer2
specify a Shutdown procedure which than initiates a new procedure at
AppServer1 indicating that it's shutting down now and not available anymore.
Same vise versa. It's important to know that the any AppServer using a
startup procedure will not be available as long as the Startup procedure has
not returned. Also will the AppServer not shutdown as long as the shutdown
procedure does not return.
As you can run from Progress 4GL anything ( also a OS-command ) it is
possible to use the asbman utility to control the status of the AppServers.
More info to AppServer Startup procedure and Shutdown procedures you will
find in Chapter 4 : Programming the AppServer within the Product document:
Building Distributed Applications Using the Progress AppServer.