Hi Atul, For a single node, I guess smf should be able to handle all your requirements. If you have sun cluster installed on your machine, you could also launch your application within pmf control. I am not sure if the additional facilities provided by pmf are useful for you; however you may like to take a look at pmfadm(1M) Note that if you do decide to use pmf, you will probably still need to have an smf service depending on network/filesystem, etc, and that service can launch your application under pmf control.
Note also that post 3.2, sun cluster provides a better integration with smf facility. In a few simple steps, you can convert an existing smf service running on a single node, to a multi-node HA agent. See http://blogs.sun.com/SC/entry/making_smf_services_highly_available for details. Thanks Suraj Sambit Nayak wrote: > Hi Atul, > > For single node case, SMF should suffice, as I understand. > But I might be missing something, can someone else chip in too? > > -Sambit > > On Tue, 9 Oct 2007, Atul Vidwansa wrote: > > >> I have a doubt about using combination of SMF and Sun Cluster Agent >> Framework. Say an application has following requirements: >> 1. Application depends on trivial things like availability of network >> and local filesystem before starting >> 2. Application needs to be restarted on the same node if it fails and >> is deployed in single node configuration. Application should be able >> to failover to another node in case of multi node configurations. >> >> I know that building an SC agent is the only choice for multinode >> configurations. What about single node? Do I need an SC agent or just >> tying with SMF will do? >> >> Regards, >> _Atul >> >> -- >> Atul Vidwansa >> Cluster File Systems Inc. >> http://www.clusterfs.com >> _______________________________________________ >> ha-clusters-discuss mailing list >> ha-clusters-discuss at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/ha-clusters-discuss >> >> > _______________________________________________ > ha-clusters-discuss mailing list > ha-clusters-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/ha-clusters-discuss >
