Thanks Serge, I have changed the resource agents as you have suggested and everything appears to be working fine ... example below from a &#39;crm configure show&#39;. Still looking for advice on the other items .... anyone ?<div>
<br></div><div><div>primitive PGSQL_DEPOT ocf:heartbeat:pgsql \</div><div>        params pgdata=&quot;/DB_DEPOT/depot/dbdata/data/&quot; pgport=&quot;5433&quot; pgdba=&quot;depot&quot; \</div><div>        op start interval=&quot;0&quot; timeout=&quot;120&quot; \</div>
<div>        op stop interval=&quot;0&quot; timeout=&quot;120&quot;</div></div><div><br></div><div><div class="gmail_quote">On Fri, Feb 11, 2011 at 2:39 PM, Serge Dubrouski <span dir="ltr">&lt;<a href="mailto:sergeyfd@gmail.com">sergeyfd@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I won&#39;t talk about other parts but approach for pgsql configuration is<br>
incorrect. You shouldn&#39;t create a new RA for each of your instances<br>
like it seems you are trying to do:<br>
<div class="im"><br>
primitive PGSQL_DEPOT ocf:heartbeat:pgsql.depot \<br>
<br>
</div>instead you should you different set of meta attributes for each of<br>
your instances:<br>
<br>
primitive PGSQL_DEPOT ocf:heartbeat:pgsql \<br>
      pgdata=&#39;/var/lib/pgsql/depot&#39; \<br>
      pghost=&#39;depot_vip&#39; \<br>
      pgdb=&#39;depot&#39;<br>
<br>
and so on.<br>
<br>
Check out How-To page for pgsql on clusterlabs web site<br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
On Thu, Feb 10, 2011 at 6:27 PM, David Morton &lt;<a href="mailto:davidmorton78@gmail.com">davidmorton78@gmail.com</a>&gt; wrote:<br>
&gt; Afternoon all,<br>
&gt; We&#39;re cutting over from OpenSUSE and straight heartbeat based on ext3 (two<br>
&gt; node active passive) to SLES, Pacemaker / Corosync, and OCFS2 in a split<br>
&gt; role active/passive configuration (three databases, two on one server and<br>
&gt; one on the other which can fail over to each other).<br>
&gt; As this is my first experience with the new Pacemaker / Corosync stack and<br>
&gt; OCFS2 I would like to get the configuration validated by more experienced<br>
&gt; users to ensure there will be no big issues.<br>
&gt; Also I have some related queries:<br>
&gt; 1) On a latest gen x86 IBM server what is the best / appropriate STONITH<br>
&gt; resource to use for control via the built in IMM interface ?<br>
&gt; 2) Is there an OCF compliant resource agent for JavaDB / Derby ? Currently<br>
&gt; am using a nasty init script for its start / stop. I can&#39;t seem to find one<br>
&gt; anywhere.<br>
&gt; 3) Does the use of a group command negate the use of a colocation command ?<br>
&gt; 4) Do you have to be very careful around the timeout values specified for<br>
&gt; timeouts relative to things like SAN multipath failover times, bonded<br>
&gt; interface convergence times and OCFS2 / filesystem related timeouts ? ie:<br>
&gt; Can Pacemaker end up with things chasing their tail, small blip in<br>
&gt; connectivity turns into a major ?<br>
&gt; Also an unrelated query which I&#39;m sure somebody will know:<br>
&gt; 5) Is the use of CLVM mandatory for the OCFS2 filesystem, or is it simply<br>
&gt; used if you wish to use logical volumes with online resizing capability ?<br>
&gt; 6) Is there danger in having a SAN disk visible to two servers at once (with<br>
&gt; non clustered filesystem such as ext3) but only ever mounted on one ? This<br>
&gt; is the scenario we will be using and ext3 gives performance gains over OCFS2<br>
&gt; so if there is no danger it would be preferable to use.<br>
&gt; Current config is as per the below for review:<br>
&gt; node company-prod-db-001<br>
&gt; node company-prod-db-002<br>
&gt; primitive DERBYDB lsb:derby<br>
&gt; primitive FS_DB_DEPOT ocf:heartbeat:Filesystem \<br>
&gt;         params device=&quot;-LDB_DEPOT&quot; directory=&quot;/DB_DEPOT&quot; fstype=&quot;ocfs2&quot;<br>
&gt; options=&quot;acl&quot; \<br>
&gt;         op start interval=&quot;0&quot; timeout=&quot;60&quot; \<br>
&gt;         op stop interval=&quot;0&quot; timeout=&quot;60&quot;<br>
&gt; primitive FS_DB_ESP_AUDIT ocf:heartbeat:Filesystem \<br>
&gt;         params device=&quot;-LDB_ESP_AUDIT&quot; directory=&quot;/DB_ESP_AUDIT&quot;<br>
&gt; fstype=&quot;ocfs2&quot; options=&quot;acl&quot; \<br>
&gt;         op start interval=&quot;0&quot; timeout=&quot;60&quot; \<br>
&gt;         op stop interval=&quot;0&quot; timeout=&quot;60&quot;<br>
&gt; primitive FS_LOGS_DEPOT ocf:heartbeat:Filesystem \<br>
&gt;         params device=&quot;-LLOGS_DEPOT&quot; directory=&quot;/LOGS_DEPOT&quot; fstype=&quot;ocfs2&quot;<br>
&gt; options=&quot;data=writeback,noatime,acl&quot; \<br>
&gt;         op start interval=&quot;0&quot; timeout=&quot;60&quot; \<br>
&gt;         op stop interval=&quot;0&quot; timeout=&quot;60&quot;<br>
&gt; primitive FS_LOGS_ESP_AUDIT ocf:heartbeat:Filesystem \<br>
&gt;         params device=&quot;-LLOGS_ESP_AUDIT&quot; directory=&quot;/LOGS_ESP_AUDIT&quot;<br>
&gt; fstype=&quot;ocfs2&quot; options=&quot;data=writeback,noatime,acl&quot; \<br>
&gt;         op start interval=&quot;0&quot; timeout=&quot;60&quot; \<br>
&gt;         op stop interval=&quot;0&quot; timeout=&quot;60&quot;<br>
&gt; primitive IP_DEPOT_15 ocf:heartbeat:IPaddr2 \<br>
&gt;         params ip=&quot;192.168.15.93&quot; cidr_netmask=&quot;24&quot; \<br>
&gt;         op monitor interval=&quot;30s&quot;<br>
&gt; primitive IP_DEPOT_72 ocf:heartbeat:IPaddr2 \<br>
&gt;         params ip=&quot;192.168.72.93&quot; cidr_netmask=&quot;24&quot; \<br>
&gt;         op monitor interval=&quot;30s&quot;<br>
&gt; primitive IP_ESP_AUDIT_15 ocf:heartbeat:IPaddr2 \<br>
&gt;         params ip=&quot;192.168.15.92&quot; cidr_netmask=&quot;24&quot; \<br>
&gt;         op monitor interval=&quot;30s&quot;<br>
&gt; primitive IP_ESP_AUDIT_72 ocf:heartbeat:IPaddr2 \<br>
&gt;         params ip=&quot;192.168.72.92&quot; cidr_netmask=&quot;24&quot; \<br>
&gt;         op monitor interval=&quot;30s&quot;<br>
&gt; primitive PGSQL_AUDIT ocf:heartbeat:pgsql.audit \<br>
&gt;         op start interval=&quot;0&quot; timeout=&quot;120&quot; \<br>
&gt;         op stop interval=&quot;0&quot; timeout=&quot;120&quot;<br>
&gt; primitive PGSQL_DEPOT ocf:heartbeat:pgsql.depot \<br>
&gt;         op start interval=&quot;0&quot; timeout=&quot;120&quot; \<br>
&gt;         op stop interval=&quot;0&quot; timeout=&quot;120&quot;<br>
&gt; primitive PGSQL_ESP ocf:heartbeat:pgsql.esp \<br>
&gt;         op start interval=&quot;0&quot; timeout=&quot;120&quot; \<br>
&gt;         op stop interval=&quot;0&quot; timeout=&quot;120&quot;<br>
&gt; group DEPOT FS_LOGS_DEPOT FS_DB_DEPOT IP_DEPOT_15 IP_DEPOT_72 DERBYDB<br>
&gt; PGSQL_DEPOT<br>
&gt; group ESP_AUDIT FS_LOGS_ESP_AUDIT FS_DB_ESP_AUDIT IP_ESP_AUDIT_15<br>
&gt; IP_ESP_AUDIT_72 PGSQL_AUDIT PGSQL_ESP<br>
&gt; location LOC_DEPOT DEPOT 25: company-prod-db-001<br>
&gt; location LOC_ESP_AUDIT ESP_AUDIT 25: company-prod-db-002<br>
&gt; property $id=&quot;cib-bootstrap-options&quot; \<br>
&gt;         dc-version=&quot;1.1.2-2e096a41a5f9e184a1c1537c82c6da1093698eb5&quot; \<br>
&gt;         cluster-infrastructure=&quot;openais&quot; \<br>
&gt;         expected-quorum-votes=&quot;2&quot; \<br>
&gt;         no-quorum-policy=&quot;ignore&quot; \<br>
&gt;         stonith-enabled=&quot;false&quot; \<br>
&gt;         start-failure-is-fatal=&quot;false&quot;<br>
&gt; rsc_defaults $id=&quot;rsc-options&quot; \<br>
&gt;         resource-stickiness=&quot;100&quot;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt;<br>
&gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
&gt; Bugs:<br>
&gt; <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
Serge Dubrouski.<br>
<br>
_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
</blockquote></div><br></div>