[ClusterLabs] custom cluster module

jim jimod4 at yahoo.com
Thu Jun 11 11:37:34 EDT 2020


I made a copy on the anything module and modified for the application I want to monitor.  I put the script in /usr/lib/ocf/resoure.d/<vendor>/<application>. The script works from the command line to start and stop the application.  when I try to add the module with "pcs resource create <some_name> ocf:heartbeat:<module_name> --group <some_group> " i get an error, "Error: Agent 'ocf:heartbeat:<module_name>' is not installed or does not provide valid metadata: Metadata query for ocf:heartbeat:<module_name> failed: Input/Output error, use --force to override".  the script supports meta-data|metadata|meta_data.  I'm not sure how to know what is valid metadat. I know i saw a utility to check the scripts, but that does not appear to be installed/available on redhat.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20200611/04afc76a/attachment-0001.htm>


More information about the Users mailing list