http://www.datanet.co.uk/default.aspx http://www.datanet.co.uk/default.aspx
--------------------------------------------------------------------------
Hi Folks,
I'm running pacemaker 1.0.4 and drbd 8 on a Debian 5(Lenny) test cluster,
having followed the lenny and drbd howtos on the wiki. Whenever I setup the
drbd resource I'm seeing errors when trying to initally query the resource. It
seems the /usr/lib/ocf/resource.d/heartbeat/drbd script isn't passing the
resource name to the drbdadm command. The log error and the cluster
configuration are below.
Can anyone give me any pointers? googles not pulling anything that looks
relevant, and neither are the mailing list logs.
-Thanks Max.
Aug 20 13:59:26 pmtest1 lrmd: [1133]: info: RA output: (drbd0:1:stop:stderr)
2009/08/20_13:59:26 ERROR: : Called drbdadm -c /etc/drbd.conf cstate
Aug 20 13:59:26 pmtest1 lrmd: [1133]: info: RA output: (drbd0:1:stop:stderr)
2009/08/20_13:59:26 ERROR: : Exit code 3
Aug 20 13:59:26 pmtest1 lrmd: [1133]: info: RA output: (drbd0:1:stop:stderr)
2009/08/20_13:59:26 ERROR: : Command output: USAGE: drbdadm [OPTION...] [--
DRBDSETUP-OPTION...] COMMAND {all|RESOURCE...} OPTIONS: {--dry-run|-d}
{--verbose|-v} {--config-file|-c} val {--drbdsetup|-s} val {--drbdmeta|-m} val
{--sh-varname|-n} val COMMANDS: attach detach connect disconnect up down
primary secondary invalidate invalidate-remote outdate resize syncer pause-sync
resume-sync adjust wait-connect wait-con-int state cstate dstate dump dump-xml
create-md show-gi get-gi dump-md wipe-md hidden-commands Version: 8.0.14
(api:86) GIT-hash: bb447522fc9a87d0069b7e14f0234911ebdab0f7 build by
p...@fat-tyre, 2008-11-12 16:40:33 missing arguments
crm(live)configure# show
node pmtest1 \
attributes standby="off"
node pmtest2
primitive drbd0-block ocf:heartbeat:drbd \
params drbd_resrource="nfs01" \
op monitor interval="59s" role="Master" timeout="30s" \
op monitor interval="60s" role="Slave" timeout="30s" \
meta target-role="Stopped"
primitive failover-ip ocf:heartbeat:IPaddr \
params ip="172.21.1.227" \
op monitor interval="5s" \
meta target-role="Started" is-managed="true"
property $id="cib-bootstrap-options" \
dc-version="1.0.4-2ec1d189f9c23093bf9239a980534b661baf782d" \
cluster-infrastructure="openais" \
expected-quorum-votes="2" \
stonith-enabled="false" \
no-quorum-policy="ignore"
--------------------------------------------------------------------------
Max Lock - Senior Systems Administrator
Datanet - Hosting & Connectivity
0845 130 6010
0845 130 6020
mailto:[email protected]
http://www.datanet.co.uk/
Registered Office: DATANET.CO.UK Limited, Aspen House, Barley Way, Ancells
Business Park, Fleet, Hampshire, GU51 2UT Registered in England - No. 3214053
Providing Internet Solutions for Business since 1996, Datanet, over 12 years of
excellence in service, support and IP solutions
http://www.datanet.co.uk/datanet_trust.aspx?tbs=3
http://www.datanet.co.uk/datacentre_diary.aspx
NEW FOR JUNE 2009 - visit http://www.datanet.co.uk/ to see our new website
_______________________________________________
Pacemaker mailing list
[email protected]
http://oss.clusterlabs.org/mailman/listinfo/pacemaker