<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=content-type content="text/html; charset=ISO-8859-1">
<META content="MSHTML 6.00.6000.16981" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2>it seems on the new versions of corosync/pacemaker
you will have to specify <FONT face="Times New Roman" size=3>monitor interval
for both master and slave drbd resource. I had this problem before but not sure
if you are having the same. </FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=chkoehoorn@live.nl href="mailto:chkoehoorn@live.nl">Kees</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=pacemaker@oss.clusterlabs.org
href="mailto:pacemaker@oss.clusterlabs.org">pacemaker@oss.clusterlabs.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, February 09, 2010 10:18
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Pacemaker] drbd doesn't work on
simple 2-node cluster.</DIV>
<DIV><BR></DIV>Hi, <BR><BR>I'm trying to install a simple 2-node cluster,
drbd/failover-IP/filesystem. <BR>Followed the usual examples, wich are mostly
the same. I got this working before, but now it doesn't work anymore. <BR>The
problem (i think) is this (from de log): <BR><BR>Feb 9 14:03:04 test1
pengine: [5152]: notice: clone_print: Master/Slave Set: ms_drbd_websites
<BR>Feb 9 14:03:04 test1 pengine: [5152]: notice:
short_print: Stopped: [ drbd_websites:0
drbd_websites:1 ] <BR>Feb 9 14:03:04 test1 pengine: [5152]: debug:
native_assign_node: Could not allocate a node for drbd_websites:0
<BR>Feb 9 14:03:04 test1 pengine: [5152]: WARN: native_color: Resource
drbd_websites:0 cannot run anywhere <BR>Feb 9 14:03:04 test1 pengine:
[5152]: debug: native_assign_node: Could not allocate a node for
drbd_websites:1 <BR>Feb 9 14:03:04 test1 pengine: [5152]: WARN:
native_color: Resource drbd_websites:1 cannot run anywhere <BR>Feb 9
14:03:04 test1 pengine: [5152]: debug: clone_color: Allocated 0
ms_drbd_websites instances of a possible 2 <BR>Feb 9 14:03:04 test1
pengine: [5152]: debug: master_color: drbd_websites:0 master score: 0
<BR>Feb 9 14:03:04 test1 pengine: [5152]: debug: master_color:
drbd_websites:1 master score: 0 <BR>Feb 9 14:03:04 test1 pengine:
[5152]: info: master_color: ms_drbd_websites: Promoted 0 instances of a
possible 1 to master <BR>Feb 9 14:03:04 test1 pengine: [5152]: debug:
master_color: drbd_websites:0 master score: 0 <BR>Feb 9 14:03:04 test1
pengine: [5152]: debug: master_color: drbd_websites:1 master score: 0
<BR>Feb 9 14:03:04 test1 pengine: [5152]: info: master_color:
ms_drbd_websites: Promoted 0 instances of a possible 1 to master <BR>Feb
9 14:03:04 test1 pengine: [5152]: debug: native_create_probe: Probing
drbd_websites:0 on test1 (Stopped) <BR>Feb 9 14:03:04 test1 pengine:
[5152]: debug: native_create_probe: Probing drbd_websites:0 on test2 (Stopped)
<BR>Feb 9 14:03:04 test1 pengine: [5152]: debug: master_create_actions:
Creating actions for ms_drbd_websites <BR>Feb 9 14:03:04 test1 pengine:
[5152]: debug: child_starting_constraints: ms_drbd_websites has no active
children <BR>Feb 9 14:03:04 test1 pengine: [5152]: debug:
child_stopping_constraints: ms_drbd_websites has no active children
<BR>Feb 9 14:03:04 test1 pengine: [5152]: notice: LogActions: Leave
resource drbd_websites:0#011(Stopped) <BR><BR>Why can't my drbd not run
anywhere? Must I tell my the drbd-resource which nodes it can use or
something? <BR>(PS the drbd alone without the cluster-stuff is working)
<BR><BR>My config: <BR><BR>Debian Lenny <BR>pacemaker 1.0.7+hg20100203-1
(madkiss) <BR>corosync 1.2.0-1 (madkiss) <BR>drbd-8.3.4 (compiled from soure)
<BR><BR><BR>node test1 \ <BR>
attributes standby="off" <BR>node test2 \
<BR> attributes standby="off"
<BR>primitive drbd_websites ocf:linbit:drbd \
<BR> params
drbdconf="/etc/drbd.conf" drbd_resource="r0" \
<BR> op monitor interval="29s"
<BR>primitive fs_websites ocf:heartbeat:Filesystem \
<BR> params device="<I
class=moz-txt-slash><SPAN class=moz-txt-tag>/</SPAN>dev/drbd/by-res/r0"
directory="/websites<SPAN class=moz-txt-tag>/</SPAN></I>" fstype="ext3"
<BR>primitive ip_storage ocf:heartbeat:IPaddr2 \
<BR> params ip="10.100.5.4"
nic="eth0:0" <BR>group websites fs_websites ip_storage <BR>ms ms_drbd_websites
drbd_websites \ <BR> meta
master-max="1" master-node-max="1" clone-max="2" clone-node-max="1"
notify="true" target-role="Started" <BR>colocation websites_on_drbd inf:
websites ms_drbd_websites:Master <BR>order websites_after_drbd inf:
ms_drbd_websites:promote websites:start <BR>property
$id="cib-bootstrap-options" \ <BR>
expected-quorum-votes="1024" \ <BR>
dc-version="1.0.7-54d7869bfe3691eb723b1d47810e5585d8246b58" \
<BR>
cluster-infrastructure="openais" \
<BR> no-quorum-policy="ignore" \
<BR> stonith-enabled="false" \
<BR> symmetric-cluster="false" \
<BR> last-lrm-refresh="1265725342"
<BR><BR>drbd.conf: <BR><BR>global { <BR> usage-count yes; <BR>}
<BR>common { <BR> protocol C; <BR>} <BR>resource r0 { <BR> device
/dev/drbd0; <BR> meta-disk internal; <BR> on test1 {
<BR> disk /dev/sda11;
<BR> address 10.100.5.1:7789; <BR> }
<BR> on test2 { <BR>
disk /dev/sda10; <BR>
address 10.100.5.2:7789; <BR> } <BR>} <BR><BR><BR>Thanks in
advance for your help. <BR><BR>Kees Koehoorn
<P>
<HR>
<P></P>_______________________________________________<BR>Pacemaker mailing
list<BR>Pacemaker@oss.clusterlabs.org<BR>http://oss.clusterlabs.org/mailman/listinfo/pacemaker<BR></BLOCKQUOTE></BODY></HTML>