<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
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
</body>
</html>