<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Dear all,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I want to create a resource with an own script, but it does not work.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>pcs resource create MYSQLFS ocf:baader:MYSQLFS op monitor interval=30s<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Error: unable to locate command: /usr/lib/ocf/resource.d/baader/MYSQLFS<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>But the script does exit.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>ls -l /usr/lib/ocf/resource.d/baader/MYSQLFS<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>-rwxr-xr-x 1 root root 2548 Apr 16 19:16 /usr/lib/ocf/resource.d/baader/MYSQLFS<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Can somebody please explain who to solve this problem?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>pcs status<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Cluster name: mysql-int-prod<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Last updated: Wed Apr 16 19:27:07 2014<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Last change: Fri Dec 13 15:54:04 2013 via crmd on sv2828-p1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Stack: cman<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Current DC: sv2827-p1 - partition with quorum<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Version: 1.1.10-1.el6_4.4-368c726<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>4 Nodes configured<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>2 Resources configured<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal>Online: [ sv2827-p1 sv2828-p1 ]<o:p></o:p></p><p class=MsoNormal><span lang=EN-US>OFFLINE: [ sv2827 sv2828 ]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Full list of resources:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US> ipmi-fencing-sv2827 (stonith:fence_ipmilan): Started sv2827-p1 <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> ipmi-fencing-sv2828 (stonith:fence_ipmilan): Started sv2828-p1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE'>Best regards<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE'>Andreas Dvorak</span><span style='mso-fareast-language:DE'><o:p></o:p></span></p></div></body></html>