hello<br><br>I have 2 node cluster with follow conf:<br><div style="margin-left: 40px;">node storage0<br>node storage1<br>primitive drbd_web ocf:linbit:drbd \<br> params drbd_resource="web" \<br> op monitor interval="30s" timeout="60s"<br>
primitive iscsi_ip ocf:heartbeat:IPaddr2 \<br> params ip="192.168.17.19" nic="eth1:1" cidr_netmask="24" \<br> op monitor interval="10s" \<br> meta target-role="Started"<br>
primitive iscsi_web_target ocf:heartbeat:iSCSITarget \<br> params iqn="iqn.2010-06.playrix.local:san.web" implementation="iet" \<br> op monitor interval="10s" timeout="30s" depth="0" \<br>
meta target-role="Started"<br>primitive iscsi_web_target_lun1 ocf:heartbeat:iSCSILogicalUnit \<br> params lun="1" path="/dev/drbd1" target_iqn="iqn.2010-06.playrix.local:san.web" implementation="iet" \<br>
op monitor interval="10s" timeout="30s"<br>group iscsi iscsi_ip iscsi_web_target iscsi_web_target_lun1<br>ms ms_drbd_web drbd_web \<br> meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true" target-role="Started"<br>
colocation iscsi_on_drbd inf: ms_drbd_web:Master iscsi<br>order iscsi_target_after_drbd inf: ms_drbd_web:promote iscsi_web_target<br>order iscsi_target_lun_after_iscsi_target inf: iscsi_web_target iscsi_web_target_lun1<br>
property $id="cib-bootstrap-options" \<br> dc-version="1.0.10-b0266dd5ffa9c51377c68b1f29d6bc84367f51dd" \<br> cluster-infrastructure="openais" \<br> expected-quorum-votes="2" \<br>
stonith-enabled="false" \<br> no-quorum-policy="ignore"<br>rsc_defaults $id="rsc-options" \<br> resource-stickiness="100"<br><br></div><br>after some throbles with pacemaker(segfault in older version in ubuntu) I can not get to work ms_drbd_web. It always show only slaves status:<br>
<div style="margin-left: 40px;">============<br>Last updated: Tue Dec 7 14:00:13 2010<br>Stack: openais<br>Current DC: storage0 - partition with quorum<br>Version: 1.0.10-b0266dd5ffa9c51377c68b1f29d6bc84367f51dd<br>2 Nodes configured, 2 expected votes<br>
2 Resources configured.<br>============<br><br>Online: [ storage1 storage0 ]<br><br> Master/Slave Set: ms_drbd_web<br> Slaves: [ storage0 storage1 ]<br> Resource Group: iscsi<br> iscsi_ip (ocf::heartbeat:IPaddr2): Started storage1<br>
iscsi_web_target (ocf::heartbeat:iSCSITarget): Started storage1<br> iscsi_web_target_lun1 (ocf::heartbeat:iSCSILogicalUnit): Stopped<br><br>Failed actions:<br> iscsi_web_target_lun1_monitor_0 (node=storage0, call=5, rc=5, status=complete): not installed<br>
iscsi_web_target_monitor_0 (node=storage0, call=4, rc=5, status=complete): not installed<br> iscsi_web_target_lun1_start_0 (node=storage1, call=13, rc=1, status=complete): unknown error<br></div><br>but no split brain situation(nothing about in logs)<br>
If i do master selection myself, <br><br><div style="margin-left: 40px;">drbdadm -- --overwrite-data-of-peer primary all<br></div><br>pacemaker still switch move to [Slave, Slave]<br><br>I found follow errors in my corosync.log:<br>
<br><div style="margin-left: 40px;">ERROR: clone_rsc_order_rh_non_clone: Unknown action: iscsi_web_target_demote_0<br></div><br><br>What i do wrong, and how can i restore drdb to work?<br>