Hi, I am sorry it was just a syntax error in my script.
Best regards Andreas -----Ursprüngliche Nachricht----- Von: David Vossel [mailto:dvos...@redhat.com] Gesendet: Donnerstag, 17. April 2014 00:20 An: The Pacemaker cluster resource manager Betreff: Re: [Pacemaker] pcs resource create with one script ----- Original Message ----- > From: "Dvorak Andreas" <andreas.dvo...@baaderbank.de> > To: pacemaker@oss.clusterlabs.org > Sent: Wednesday, April 16, 2014 12:36:14 PM > Subject: [Pacemaker] pcs resource create with one script > > > > 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 Does the ocf script implement the meta-data function? I think pcs will throw errors if it can't retrieve the metadata. You could try the --force option. -- Vossel > > 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 > > _______________________________________________ > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > Project Home: http://www.clusterlabs.org Getting started: > http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org > _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org