Hi Lalith, Then your validation should ensure the smf service is disabled, and I would recommend to check the same at least in the validate script.
It should be verified what happens if somebody enables cron by accident. We should avoid race conditions and failed to stop stuff by all means, so It may be necessary to include the smf check in the probe as well. Detlef Lalith Suresh wrote: > Hi, > > Thanks Detlef. I have just one more clarification. > > > 4) As far as making an agent for Cron is concerned, do you > think I should be using SMF as well? > > the smf component is mainly targeted if your application is > starting some daemons and these should be monitored. So if your > start command does not start any daemons, you should be safe not > using smf. If your start command is just starting the OS crons smf > service my choice would be to use the zsh component. > > > My start command is starting the system cron binary, /usr/sbin/cron . > Like I said, I haven't used SMF anywhere till now. Is it fine? So I > should just proceed to work on the zsh component right? > > > > > Please help me out. And sorry in advance if any of the > questions are too noobish :) > > > Thanks and regards, > -- > Lalith Suresh > Department of Computer Engineering > Malaviya National Institute of Technology, Jaipur > +91-9982190365 , lalithsuresh.wordpress.com > <http://lalithsuresh.wordpress.com> > <http://lalithsuresh.wordpress.com> > > ------------------------------------------------------------------------ > > _______________________________________________ > ha-clusters-discuss mailing list > ha-clusters-discuss at opensolaris.org > <mailto:ha-clusters-discuss at opensolaris.org> > http://mail.opensolaris.org/mailman/listinfo/ha-clusters-discuss > > > > > -- > > > ***************************************************************************** > Detlef Ulherr > Staff Engineer Tel: (++49 6103) > 752-248 > Availability Engineering Fax: (++49 6103) > 752-167 > Sun Microsystems GmbH Amperestr. 6 > mailto:detlef.ulherr at sun.com > <mailto:detlef.ulherr at sun.com> > 63225 Langen http://www.sun.de/ > > ***************************************************************************** > > Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, D-85551 > Kirchheim-Heimstetten > Amtsgericht Muenchen: HRB 161028 > Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland > Boemer > Vorsitzender des Aufsichtsrates: Martin Haering > > > ***************************************************************************** > > > > > > -- > Lalith Suresh > Department of Computer Engineering > Malaviya National Institute of Technology, Jaipur > +91-9982190365 , lalithsuresh.wordpress.com > <http://lalithsuresh.wordpress.com> > ------------------------------------------------------------------------ > > _______________________________________________ > ha-clusters-discuss mailing list > ha-clusters-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/ha-clusters-discuss > -- ***************************************************************************** Detlef Ulherr Staff Engineer Tel: (++49 6103) 752-248 Availability Engineering Fax: (++49 6103) 752-167 Sun Microsystems GmbH Amperestr. 6 mailto:detlef.ulherr at sun.com 63225 Langen http://www.sun.de/ ***************************************************************************** Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten Amtsgericht Muenchen: HRB 161028 Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer Vorsitzender des Aufsichtsrates: Martin Haering *****************************************************************************