Hi all
There is a situation here when we migrating our service to be managed by
SMF on solaris 10

We have a monitor process (say MONITOR) and main process (say MAIN)
MONITOR starts MAIN and keep track of MAIN's status, MAIN may be stop
and started by MONITOR. 
MAIN will start a number of subprocesses (say PLUGIN).

MONITOR ----> MAIN -----> ( PLUGIN1, PLUGIN2, ...)


Using SMF, we can just remove the MONITOR, let MAIN to be managed by
SMF, 
If in contract mode, when I disable MAIN, all PLUGINs will be stoped,
that's what I want
But when I enable MAIN, Will SMF restart all the PLUGINs ? If so, that
would be confusing, because MAIN is able to start all the PLUGINs its
self.
Is it possible that SMF just ignores these child processes and let my
MAIN manage them independently? That means not all the (sub)processes
are in on contract.

Is child mode service an alternative?


Thanks


//James



-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/smf-discuss/attachments/20060824/ceebfab7/attachment.html>

Reply via email to