<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">Hi Guys,</span><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">
<br></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">I was hoping that someone might be able to do a quick review of my cluster config, shown below, to work out why when I shutdown corosync on the master all the resources failover to the slave without a problem, but if I shutdown corosync on the slave all of the resources on the master stop as well, leaving me with both nodes broken.  Obviously what I want to happen is to be able to shutdown corosync on the slave and all of the resources running on the master to remain untouched. I must have something not quite right in the logic of my cluster config.</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">
It is a two server cluster running DRBD in active/passive mode.  The servers are running Redhat 5.7 with corosync-1.2.7-1.1.el5 and pacemaker-1.0.11-1.2.el5:</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">
<br></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><div><div>root@mq102:~# crm configure show</div><div>node mq101.back.live.telhc.local</div>
<div>node mq102.back.live.telhc.local</div><div>primitive activemq_drbd ocf:linbit:drbd \</div><div><span style="white-space: pre-wrap; ">        </span>params drbd_resource=&quot;r0&quot; \</div><div><span style="white-space: pre-wrap; ">        </span>op monitor interval=&quot;15s&quot; timeout=&quot;20s&quot; \</div>
<div><span style="white-space: pre-wrap; ">        </span>op start interval=&quot;0&quot; timeout=&quot;240&quot; \</div><div><span style="white-space: pre-wrap; ">        </span>op stop interval=&quot;0&quot; timeout=&quot;100&quot;</div>
<div>primitive activemq-emp lsb:activemq-emp \</div><div><span style="white-space: pre-wrap; ">        </span>op monitor interval=&quot;30s&quot; timeout=&quot;30s&quot; \</div><div><span style="white-space: pre-wrap; ">        </span>op stop interval=&quot;0&quot; timeout=&quot;60s&quot; \</div>
<div><span style="white-space: pre-wrap; ">        </span>op start interval=&quot;0&quot; timeout=&quot;60s&quot; \</div><div><span style="white-space: pre-wrap; ">        </span>meta target-role=&quot;Started&quot;</div><div>primitive cluster_IP ocf:heartbeat:IPaddr2 \</div>
<div><span style="white-space: pre-wrap; ">        </span>params ip=&quot;172.23.68.61&quot; nic=&quot;eth0&quot; \</div><div><span style="white-space: pre-wrap; ">        </span>op monitor interval=&quot;30s&quot; timeout=&quot;90&quot; \</div>
<div><span style="white-space: pre-wrap; ">        </span>op start interval=&quot;0&quot; timeout=&quot;90&quot; \</div><div><span style="white-space: pre-wrap; ">        </span>op stop interval=&quot;0&quot; timeout=&quot;100&quot;</div>
<div>primitive drbd_fs ocf:heartbeat:Filesystem \</div><div><span style="white-space: pre-wrap; ">        </span>params device=&quot;/dev/drbd1&quot; directory=&quot;/drbd&quot; fstype=&quot;ext3&quot; \</div><div><span style="white-space: pre-wrap; ">        </span>op monitor interval=&quot;15s&quot; timeout=&quot;40s&quot; \</div>
<div><span style="white-space: pre-wrap; ">        </span>op start interval=&quot;0&quot; timeout=&quot;60&quot; \</div><div><span style="white-space: pre-wrap; ">        </span>op stop interval=&quot;0&quot; timeout=&quot;60&quot;</div>
<div>primitive ping_gateway ocf:pacemaker:ping \</div><div><span style="white-space: pre-wrap; ">        </span>params name=&quot;ping_gateway&quot; host_list=&quot;172.23.68.1&quot; multiplier=&quot;100&quot; \</div><div><span style="white-space: pre-wrap; ">        </span>op monitor interval=&quot;15s&quot; timeout=&quot;20s&quot; \</div>
<div><span style="white-space: pre-wrap; ">        </span>op start interval=&quot;0&quot; timeout=&quot;90&quot; \</div><div><span style="white-space: pre-wrap; ">        </span>op stop interval=&quot;0&quot; timeout=&quot;100&quot;</div>
<div>ms ActiveMQ_Data activemq_drbd \</div><div><span style="white-space: pre-wrap; ">        </span>meta master-max=&quot;1&quot; master-node-max=&quot;1&quot; clone-max=&quot;2&quot; clone-node-max=&quot;1&quot; notify=&quot;true&quot; target-role=&quot;Master&quot;</div>
<div>clone ping_gateway_clone ping_gateway</div><div>location ActiveMQ_Data_on_connected_node_only ActiveMQ_Data \</div><div><span style="white-space: pre-wrap; ">        </span>rule $id=&quot;ActiveMQ_Data_on_connected_node_only-rule&quot; -inf: not_defined ping_gateway or ping_gateway lte 0</div>
<div>location ActiveMQ_Data_prefer_mq101 ActiveMQ_Data \</div><div><span style="white-space: pre-wrap; ">        </span>rule $id=&quot;ActiveMQ_Data_prefer_mq101-rule&quot; $role=&quot;Master&quot; 500: #uname eq mq101.back.live.telhc.local</div>
<div>colocation activemq-emp_with_ActiveMQ_Data inf: activemq-emp ActiveMQ_Data:Master</div><div>colocation cluster_IP_with_ActiveMQ_Data inf: cluster_IP ActiveMQ_Data:Master</div><div>colocation drbd_fs_with_ActiveMQ_Data inf: drbd_fs ActiveMQ_Data:Master</div>
<div>order ActiveMQ_Data_after_ping_gateway_clone inf: ping_gateway_clone:start ActiveMQ_Data:promote</div><div>order activemq-emp_after_drbd_fs inf: drbd_fs:start activemq-emp:start</div><div>order cluster_IP_after_drbd_fs inf: drbd_fs:start cluster_IP:start</div>
<div>order drbd_fs_after_ActiveMQ_Data inf: ActiveMQ_Data:promote drbd_fs:start</div><div>property $id=&quot;cib-bootstrap-options&quot; \</div><div><span style="white-space: pre-wrap; ">        </span>dc-version=&quot;1.0.11-1554a83db0d3c3e546cfd3aaff6af1184f79ee87&quot; \</div>
<div><span style="white-space: pre-wrap; ">        </span>cluster-infrastructure=&quot;openais&quot; \</div><div><span style="white-space: pre-wrap; ">        </span>expected-quorum-votes=&quot;2&quot; \</div><div><span style="white-space: pre-wrap; ">        </span>no-quorum-policy=&quot;ignore&quot; \</div>
<div><span style="white-space: pre-wrap; ">        </span>stonith-enabled=&quot;false&quot; \</div><div><span style="white-space: pre-wrap; ">        </span>last-lrm-refresh=&quot;1317808706&quot;</div><div>rsc_defaults $id=&quot;rsc-options&quot; \</div>
<div><span style="white-space: pre-wrap; ">        </span>resource-stickiness=&quot;100&quot;</div></div></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">
<br></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">Cheers,</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">
Tom</div>