On Tue, 19 Nov 2002 03:12, Leo Simons wrote:
> So, what would you recommend me, if I will have a couple of
> serverside apps+servers (A, B and C), each in its own
> block, where at least one of them (A) will depend on all
> the others.
> Let's say one of them (B) doesn't respond to any requests
> anymore, because of some internal problem.
> Do I need a fourth hosted app (D) to manage this situation,
> e.g. like that: have (D) be notified that (B) is not OK,
> and have (D) consequently initiate a restart of (B)?

I am not entirely sure what you mean. Most of the components hosted in Phoenix 
are fine grained components and as such we do not consider health monitoring 
and restarts to be an issue in that situation.

We have health monitoring of JVM via wrapper.sourceforge.net. If you want to 
monitor the health of a particular application then that is perfectly 
possible and restarts can be forced via JMX.

For example - if you had installed a webserver application - you could write a 
monitor that did a HEAD http request every minute and if that failed you 
could restart the webserver via JMX. 

In one of the applications I built (RMI based) I did much the same thing. 
Every 10 seconds or so we would ping the server (using a noop RMI method) and 
if it ever failed we would schedule a restart of the server.

-- 
Cheers,

Peter Donald
*---------------------------------------------------------*
| Contrary to popular belief, UNIX is user-friendly. It   |
| just happens to be selective on who it makes friendship |
| with.                                                   |
|                       - Richard Cook                    |
*---------------------------------------------------------* 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to