<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
I changed my config, but it sill won't run?<br>
The warings i get are the same:<br>
Anyone?<br>
<br>
Feb 10 12:15:49 test1 pengine: [5152]: notice: clone_print:
Master/Slave Set: ms_drbd_websites<br>
Feb 10 12:15:49 test1 pengine: [5152]: notice: short_print:
Stopped: [ drbd_websites:0 drbd_websites:1 ]<br>
Feb 10 12:15:49 test1 pengine: [5152]: debug: native_assign_node: Could
not allocate a node for drbd_websites:0<br>
Feb 10 12:15:49 test1 pengine: [5152]: WARN: native_color: Resource
drbd_websites:0 cannot run anywhere<br>
Feb 10 12:15:49 test1 pengine: [5152]: debug: native_assign_node: Could
not allocate a node for drbd_websites:1<br>
Feb 10 12:15:49 test1 pengine: [5152]: WARN: native_color: Resource
drbd_websites:1 cannot run anywhere<br>
Feb 10 12:15:49 test1 pengine: [5152]: debug: clone_color: Allocated 0
ms_drbd_websites instances of a possible 2<br>
Feb 10 12:15:49 test1 pengine: [5152]: debug: master_color:
drbd_websites:0 master score: 0<br>
Feb 10 12:15:49 test1 pengine: [5152]: debug: master_color:
drbd_websites:1 master score: 0<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="15s" role="Master" timeout="30s" \<br>
op monitor interval="30s" role="Slave" timeout="30s"<br>
primitive fs_websites ocf:heartbeat:Filesystem \<br>
params device="/dev/drbd/by-res/r0" directory="/websites/"
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>
Greetings,<br>
<br>
Kees Koehoorn <br>
<br>
<blockquote
cite="mid:D3CDBD8238B24119A3C8A0002C0F73FE@local.azoogleads.com"
type="cite">
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
<meta content="MSHTML 6.00.6000.16981" name="GENERATOR">
<style></style>
<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> </div>
<blockquote
style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;">-----
Original Message ----- </div>
<div
style="background: rgb(228, 228, 228) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"><b>From:</b>
<a moz-do-not-send="true" title="chkoehoorn@live.nl"
href="mailto:chkoehoorn@live.nl">Kees</a> </div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"><b>To:</b>
<a moz-do-not-send="true" title="pacemaker@oss.clusterlabs.org"
href="mailto:pacemaker@oss.clusterlabs.org">pacemaker@oss.clusterlabs.org</a>
</div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"><b>Sent:</b>
Tuesday, February 09, 2010 10:18 AM</div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"><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> </p>
<hr> _______________________________________________<br>
Pacemaker mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a class="moz-txt-link-freetext" href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
</blockquote>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Pacemaker mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a>
<a class="moz-txt-link-freetext" href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a>
</pre>
</blockquote>
<br>
</body>
</html>