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="/dev/mapper/3600601600350220035325c4ae011_part1" directory="/DB_DEPOT" fstype="ocfs2" options="acl" \</div>
<div>        op monitor interval="40s" \</div><div>        op start interval="0" timeout="60" \</div><div>        op stop interval="0" timeout="60"</div><div>primitive FS_DB_ESP_AUDIT ocf:heartbeat:Filesystem \</div>
<div>        params device="/dev/mapper/36006016003502200a1575c4ae011_part1" directory="/DB_ESP_AUDIT" fstype="ocfs2" options="acl" \</div><div>        op monitor interval="40s" \</div>
<div>        op start interval="0" timeout="60" \</div><div>        op stop interval="0" timeout="60"</div><div>primitive FS_DB_SHARED ocf:heartbeat:Filesystem \</div><div>        params device="/dev/mapper/360060160035022007eab5c4ae011_part1" directory="/DB_SHARED" fstype="ocfs2" options="acl" \</div>
<div>        op monitor interval="40s" \</div><div>        op start interval="0" timeout="60" \</div><div>        op stop interval="0" timeout="60"</div><div>primitive FS_LOGS_DEPOT ocf:heartbeat:Filesystem \</div>
<div>        params device="/dev/mapper/36006016003502200c3735c4ae011_part1" directory="/LOGS_DEPOT" fstype="ocfs2" options="data=writeback,noatime,acl" \</div><div>        op monitor interval="40s" \</div>
<div>        op start interval="0" timeout="60" \</div><div>        op stop interval="0" timeout="60"</div><div>primitive FS_LOGS_ESP_AUDIT ocf:heartbeat:Filesystem \</div><div>        params device="/dev/mapper/3600601600350220034585c4ae011_part1" directory="/LOGS_ESP_AUDIT" fstype="ocfs2" options="data=writeback,noatime,acl" \</div>
<div>        op monitor interval="40s" \</div><div>        op start interval="0" timeout="60" \</div><div>        op stop interval="0" timeout="60"</div><div>primitive IP_DEPOT_115 ocf:heartbeat:IPaddr2 \</div>
<div>        params ip="192.168.115.93" cidr_netmask="24" \</div><div>        op monitor interval="30s"</div><div>primitive IP_DEPOT_72 ocf:heartbeat:IPaddr2 \</div><div>        params ip="192.168.132.93" cidr_netmask="24" \</div>
<div>        op monitor interval="30s"</div><div>primitive IP_ESP_AUDIT_115 ocf:heartbeat:IPaddr2 \</div><div>        params ip="192.168.115.92" cidr_netmask="24" \</div><div>        op monitor interval="30s"</div>
<div>primitive IP_ESP_AUDIT_72 ocf:heartbeat:IPaddr2 \</div><div>        params ip="192.168.132.92" cidr_netmask="24" \</div><div>        op monitor interval="30s"</div><div>primitive MAIL_ALERT ocf:heartbeat:MailTo \</div>
<div>        params email="<a href="mailto:helpdesk@company.com">helpdesk@company.com</a>" \</div><div>        op monitor interval="60" timeout="10"</div><div>primitive PGSQL_AUDIT ocf:heartbeat:pgsql \</div>
<div>        params pgdata="/DB_ESP_AUDIT/audit/dbdata/data/" pgport="5432" pgdba="audit" \</div><div>        op start interval="0" timeout="120" \</div><div>        op stop interval="0" timeout="120" \</div>
<div>        op monitor interval="60" timeout="30"</div><div>primitive PGSQL_DEPOT ocf:heartbeat:pgsql \</div><div>        params pgdata="/DB_DEPOT/depot/dbdata/data/" pgport="5433" pgdba="depot" \</div>
<div>        op start interval="0" timeout="120" \</div><div>        op stop interval="0" timeout="120" \</div><div>        op monitor interval="60" timeout="30"</div>
<div>primitive PGSQL_ESP ocf:heartbeat:pgsql \</div><div>        params pgdata="/DB_ESP_AUDIT/esp/dbdata/data/" pgport="5434" pgdba="esp" \</div><div>        op start interval="0" timeout="120" \</div>
<div>        op stop interval="0" timeout="120" \</div><div>        op monitor interval="60" timeout="30"</div><div>primitive STONITH-DB-001 stonith:external/ipmi \</div><div>        params hostname="company-prod-database-001" ipaddr="192.168.132.80" userid="thatguy" passwd="password" interface="lan" \</div>
<div>        op monitor interval="60s" timeout="30s"</div><div>primitive STONITH-DB-002 stonith:external/ipmi \</div><div>        params hostname="company-prod-database-002" ipaddr="192.168.132.81" userid="thatguy" passwd="password" interface="lan" \</div>
<div>        op monitor interval="60s" timeout="30s"</div><div>primitive dlm ocf:pacemaker:controld \</div><div>        op monitor interval="60" timeout="60"</div><div>primitive o2cb ocf:ocfs2:o2cb \</div>
<div>        op monitor interval="60" timeout="60"</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="true"</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="cib-bootstrap-options" \</div><div>        dc-version="1.1.2-ecb1e2ea172ba2551f0bd763e557fccde68c849b" \</div><div>        cluster-infrastructure="openais" \</div><div>        expected-quorum-votes="2" \</div>
<div>        no-quorum-policy="ignore" \</div><div>        start-failure-is-fatal="false"</div></div><div><br></div></div></div>