Yes, AMF supports Linux HA LSB/OCF style resource agents. It can be configured in this way: Add to the component type an attribute named osafAmfCtRelPathHcCmd for example: osafAmfCtRelPathHcCmd=/etc/init.d/postfix status Add a health check type object (SaAmfHealthcheckType) as a child to the component type where the key must be safHealthcheckKey=osafHealthCheck and specify duration and period accordingly.
Execution of such a command is automatically started (if configured) when a component is instantiated. The same health check object classes are reused to configure period and duration. Period specifies the frequency that the monitor command will be called by AMF. Duration specifies the time each invocation of the monitor command is allowed to take before considered an error by AMF.The function is normally used to monitor non-sa-aware components but can also be used to monitor sa-aware components. Thanks, Praveen On 10-Feb-16 4:10 AM, Dmitry Konstantinov wrote: > Thank you for the fast answer. > Does an out of the box support in OpenSAF exist for some existing agent > technologies, for example: http://www.linux-ha.org/wiki/OCF_Resource_Agents > (http://linux-ha.org/doc/man-pages/re-ra-IPaddr2.html) to not write such > logic from scratch? > > 2016-02-10 1:08 GMT+03:00 Suryanarayana.Garlapati < > [email protected]>: > >> >> ifsv service was deprecated from opensaf 4.0.0 onwards. >> You can write an application of your own through AMF to do the same. >> >> >> On Tuesday 09 February 2016 02:05 PM, Dmitry Konstantinov wrote: >> >>> Is management of virtual IPs supported by OpenSAF (like virtual IP >>> resource >>> agent in Pacemaker)? >>> Some old mail threads and old installation notes point to Opensaf >>> Interface >>> service but I cannot find any details about it.. >>> >>> Regards, >>> >> >> > > ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Opensaf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-users
