I'm trying to create an OCF resource agent that will start/stop/monitor SER. I've read through the opencf.org resource agent api doc and the wiki.linux-ha.org OCF resource agent doc and all those documents talk about is what is needed in the resource agent, not necessarily how to format/create it. I did try to take a resource agent from the /usr/lib/ocf/resource.d/heartbeat directory that looked similar to what I wanted to do and change it to work for SER, but it's not working. After running crm_mon the following error message appears in /var/log/syslog:
ERROR: unpack_rsc_op: Hard error - SERapp_monitor_0 failed with rc=5: Preventing SERapp from re-starting on pri-pacemaker Is there another log to check for resource agent error messages? Is there any documentation out there with a simple sample resource agent? Attached is the resource agent I'm using for reference. Thanks.
SER
Description: SER
_______________________________________________ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker