[Pacemaker] pcs resource create with one script
Dvorak Andreas
Andreas.Dvorak at baaderbank.de
Wed Apr 16 17:36:14 UTC 2014
Dear all,
I want to create a resource with an own script, but it does not work.
pcs resource create MYSQLFS ocf:baader:MYSQLFS op monitor interval=30s
Error: unable to locate command: /usr/lib/ocf/resource.d/baader/MYSQLFS
But the script does exit.
ls -l /usr/lib/ocf/resource.d/baader/MYSQLFS
-rwxr-xr-x 1 root root 2548 Apr 16 19:16 /usr/lib/ocf/resource.d/baader/MYSQLFS
Can somebody please explain who to solve this problem?
pcs status
Cluster name: mysql-int-prod
Last updated: Wed Apr 16 19:27:07 2014
Last change: Fri Dec 13 15:54:04 2013 via crmd on sv2828-p1
Stack: cman
Current DC: sv2827-p1 - partition with quorum
Version: 1.1.10-1.el6_4.4-368c726
4 Nodes configured
2 Resources configured
Online: [ sv2827-p1 sv2828-p1 ]
OFFLINE: [ sv2827 sv2828 ]
Full list of resources:
ipmi-fencing-sv2827 (stonith:fence_ipmilan): Started sv2827-p1
ipmi-fencing-sv2828 (stonith:fence_ipmilan): Started sv2828-p1
Best regards
Andreas Dvorak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140416/d62a3083/attachment-0003.html>
More information about the Pacemaker
mailing list