The config below is behaving well and doing what I want it to do, however there is one situation where it is misbehaving .... after a failover (using standby for testing purposes) when resources failback to their preferred node, all of the resources in the main group (DEPOT or ESP_AUDIT) bounce on the node which they do not move from. ie: if DEPOT group is running on server 1 which is its preferred node and resource group ESP_AUDIT moves from node 1 to node 2, the DEPOT group stops and then promptly starts again with no movement in location.<div>
<br></div><div>Secondary question:</div><div>Is the colocation statement required given the order of start is specified and the clone will create two resources (one for each node) by default ? Essentially I just need to ensure the OCFS2 modules / DLM are loaded before the only actual shared filesystem.<br>
<div><br></div><div>This is on SLES 11 SP1</div><div>openais-1.1.3-0.2.3</div><div>pacemaker-1.1.2-0.7.1</div><div>corosync-1.2.6-0.2.2<br><div><br></div><div># Config below</div><div><div>node company-prod-database-001</div>
<div>node company-prod-database-002</div><div>primitive DERBYDB lsb:derby</div><div>primitive FS_DB_DEPOT ocf:heartbeat:Filesystem \</div><div>        params device=&quot;/dev/mapper/3600601600350220035325c4ae011_part1&quot; directory=&quot;/DB_DEPOT&quot; fstype=&quot;ocfs2&quot; options=&quot;acl&quot; \</div>
<div>        op monitor interval=&quot;40s&quot; \</div><div>        op start interval=&quot;0&quot; timeout=&quot;60&quot; \</div><div>        op stop interval=&quot;0&quot; timeout=&quot;60&quot;</div><div>primitive FS_DB_ESP_AUDIT ocf:heartbeat:Filesystem \</div>
<div>        params device=&quot;/dev/mapper/36006016003502200a1575c4ae011_part1&quot; directory=&quot;/DB_ESP_AUDIT&quot; fstype=&quot;ocfs2&quot; options=&quot;acl&quot; \</div><div>        op monitor interval=&quot;40s&quot; \</div>
<div>        op start interval=&quot;0&quot; timeout=&quot;60&quot; \</div><div>        op stop interval=&quot;0&quot; timeout=&quot;60&quot;</div><div>primitive FS_DB_SHARED ocf:heartbeat:Filesystem \</div><div>        params device=&quot;/dev/mapper/360060160035022007eab5c4ae011_part1&quot; directory=&quot;/DB_SHARED&quot; fstype=&quot;ocfs2&quot; options=&quot;acl&quot; \</div>
<div>        op monitor interval=&quot;40s&quot; \</div><div>        op start interval=&quot;0&quot; timeout=&quot;60&quot; \</div><div>        op stop interval=&quot;0&quot; timeout=&quot;60&quot;</div><div>primitive FS_LOGS_DEPOT ocf:heartbeat:Filesystem \</div>
<div>        params device=&quot;/dev/mapper/36006016003502200c3735c4ae011_part1&quot; directory=&quot;/LOGS_DEPOT&quot; fstype=&quot;ocfs2&quot; options=&quot;data=writeback,noatime,acl&quot; \</div><div>        op monitor interval=&quot;40s&quot; \</div>
<div>        op start interval=&quot;0&quot; timeout=&quot;60&quot; \</div><div>        op stop interval=&quot;0&quot; timeout=&quot;60&quot;</div><div>primitive FS_LOGS_ESP_AUDIT ocf:heartbeat:Filesystem \</div><div>        params device=&quot;/dev/mapper/3600601600350220034585c4ae011_part1&quot; directory=&quot;/LOGS_ESP_AUDIT&quot; fstype=&quot;ocfs2&quot; options=&quot;data=writeback,noatime,acl&quot; \</div>
<div>        op monitor interval=&quot;40s&quot; \</div><div>        op start interval=&quot;0&quot; timeout=&quot;60&quot; \</div><div>        op stop interval=&quot;0&quot; timeout=&quot;60&quot;</div><div>primitive IP_DEPOT_115 ocf:heartbeat:IPaddr2 \</div>
<div>        params ip=&quot;192.168.115.93&quot; cidr_netmask=&quot;24&quot; \</div><div>        op monitor interval=&quot;30s&quot;</div><div>primitive IP_DEPOT_72 ocf:heartbeat:IPaddr2 \</div><div>        params ip=&quot;192.168.132.93&quot; cidr_netmask=&quot;24&quot; \</div>
<div>        op monitor interval=&quot;30s&quot;</div><div>primitive IP_ESP_AUDIT_115 ocf:heartbeat:IPaddr2 \</div><div>        params ip=&quot;192.168.115.92&quot; cidr_netmask=&quot;24&quot; \</div><div>        op monitor interval=&quot;30s&quot;</div>
<div>primitive IP_ESP_AUDIT_72 ocf:heartbeat:IPaddr2 \</div><div>        params ip=&quot;192.168.132.92&quot; cidr_netmask=&quot;24&quot; \</div><div>        op monitor interval=&quot;30s&quot;</div><div>primitive MAIL_ALERT ocf:heartbeat:MailTo \</div>
<div>        params email=&quot;<a href="mailto:helpdesk@company.com">helpdesk@company.com</a>&quot; \</div><div>        op monitor interval=&quot;60&quot; timeout=&quot;10&quot;</div><div>primitive PGSQL_AUDIT ocf:heartbeat:pgsql \</div>
<div>        params pgdata=&quot;/DB_ESP_AUDIT/audit/dbdata/data/&quot; pgport=&quot;5432&quot; pgdba=&quot;audit&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>        op monitor interval=&quot;60&quot; timeout=&quot;30&quot;</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>        op monitor interval=&quot;60&quot; timeout=&quot;30&quot;</div>
<div>primitive PGSQL_ESP ocf:heartbeat:pgsql \</div><div>        params pgdata=&quot;/DB_ESP_AUDIT/esp/dbdata/data/&quot; pgport=&quot;5434&quot; pgdba=&quot;esp&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>        op monitor interval=&quot;60&quot; timeout=&quot;30&quot;</div><div>primitive STONITH-DB-001 stonith:external/ipmi \</div><div>        params hostname=&quot;company-prod-database-001&quot; ipaddr=&quot;192.168.132.80&quot; userid=&quot;thatguy&quot; passwd=&quot;password&quot; interface=&quot;lan&quot; \</div>
<div>        op monitor interval=&quot;60s&quot; timeout=&quot;30s&quot;</div><div>primitive STONITH-DB-002 stonith:external/ipmi \</div><div>        params hostname=&quot;company-prod-database-002&quot; ipaddr=&quot;192.168.132.81&quot; userid=&quot;thatguy&quot; passwd=&quot;password&quot; interface=&quot;lan&quot; \</div>
<div>        op monitor interval=&quot;60s&quot; timeout=&quot;30s&quot;</div><div>primitive dlm ocf:pacemaker:controld \</div><div>        op monitor interval=&quot;60&quot; timeout=&quot;60&quot;</div><div>primitive o2cb ocf:ocfs2:o2cb \</div>
<div>        op monitor interval=&quot;60&quot; timeout=&quot;60&quot;</div><div>group DEPOT FS_LOGS_DEPOT FS_DB_DEPOT IP_DEPOT_115 IP_DEPOT_132 DERBYDB PGSQL_DEPOT</div><div>group ESP_AUDIT FS_LOGS_ESP_AUDIT FS_DB_ESP_AUDIT IP_ESP_AUDIT_115 IP_ESP_AUDIT_132 PGSQL_AUDIT PGSQL_ESP</div>
<div>group OCFS2_SHARED dlm o2cb FS_DB_SHARED</div><div>clone CL_MAIL_ALERT MAIL_ALERT</div><div>clone CL_OCFS2_SHARED OCFS2_SHARED \</div><div>        meta interleave=&quot;true&quot;</div><div>location LOC_DEPOT DEPOT 25: company-prod-database-001</div>
<div>location LOC_ESP_AUDIT ESP_AUDIT 25: company-prod-database-002</div><div>location LOC_STONITH-001 STONITH-DB-001 -inf: company-prod-database-001</div><div>location LOC_STONITH-002 STONITH-DB-002 -inf: company-prod-database-002</div>
<div>colocation COL_DB_SHARED_DEPOT inf: DEPOT CL_OCFS2_SHARED</div><div>colocation COL_DB_SHARED_ESP_AUDIT inf: ESP_AUDIT CL_OCFS2_SHARED</div><div>order DB_SHARE_FIRST_DEPOT inf: CL_OCFS2_SHARED DEPOT</div><div>order DB_SHARE_FIRST_ESP_AUDIT inf: CL_OCFS2_SHARED ESP_AUDIT</div>
<div>property $id=&quot;cib-bootstrap-options&quot; \</div><div>        dc-version=&quot;1.1.2-ecb1e2ea172ba2551f0bd763e557fccde68c849b&quot; \</div><div>        cluster-infrastructure=&quot;openais&quot; \</div><div>        expected-quorum-votes=&quot;2&quot; \</div>
<div>        no-quorum-policy=&quot;ignore&quot; \</div><div>        start-failure-is-fatal=&quot;false&quot;</div></div><div><br></div></div></div>