Hello,<div>I tried this approach and it seems to work ootb.</div><div>But I would like to know if there could be silent drawbacks or potential problems from a technical point of view.</div><div><br></div><div>Under /usr/lib/ocf/resource.d/ I create a directory named myocfdir and inside it I put a copy of an existing RA (eg apache) </div>
<div>/usr/lib/ocf/resource.d/heartbeat/apache renaming it apache2 in this new directory</div><div><br></div><div>Then I can customize its parameters or workflow or whatever else, respecting RA principles, and refer to it in my resources in this way:</div>
<div> </div><div><div>primitive myapache ocf:myocfdir:apache2 \</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>params configfile="/usr/local/apache2/conf/httpd.conf" statusurl="<a href="http://localhost:80/server-status">http://localhost:80/server-status</a>" \</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>op monitor interval="1min" \</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>op start interval="0" timeout="40" \</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>op stop interval="0" timeout="60"</div></div><div><br></div><div>Keeping save gpl obligations for the ra, the sharing of personalizations that could be useful for the community, ecc...</div>
<div>(it is only an example to give the idea... no intention to modify the apache RA ;-)</div><div><br></div><div>Could this be a runnable approach?</div><div>Also to put for example totally new personal RAs in new dirs? </div>
<div><br></div><div>Thanks in advance,</div><div>Gianluca</div><div><br></div>