[Pacemaker] Configuring Pacemaker & DRBD

Cliff Massey cliffm304 at cliffmassey.com
Thu Sep 29 20:06:00 UTC 2011


After digging around in the messages I found the following:

notice: unpack_rsc_op: Operation convirt-drbd:0_monitor_0 found resource convirt-drbd:0 active on admin01
notice: unpack_rsc_op: Operation convirt-drbd:0_monitor_0 found resource convirt-drbd:0 active on admin02
admin01 pengine: [3178]: notice: clone_print:  Master/Slave Set: ms-convirt [convirt-drbd]
pengine: [3178]: notice: short_print:      Stopped: [ convirt-drbd:0 convirt-drbd:1 ]
pengine: [3178]: info: native_color: Resource convirt-drbd:0 cannot run anywhere
pengine: [3178]: info: native_color: Resource convirt-drbd:1 cannot run anywhere
pengine: [3178]: info: master_color: ms-convirt: Promoted 0 instances of a possible 1 to master
pengine: [3178]: notice: LogActions: Leave   convirt-drbd:0#011(Stopped)
pengine: [3178]: notice: LogActions: Leave   convirt-drbd:1#011(Stopped)

Could this be a location problem?

kernel: block drbd0: disk( UpToDate -> Failed ) 
kernel: block drbd0: disk( Failed -> Diskless ) 
kernel: block drbd0: drbd_bm_resize called with capacity == 0
kernel: d-con convirt: Terminating worker thread
lrmd: [3185]: info: RA output: (convirt-drbd:0:stop:stdout) 
lrmd: [3185]: info: RA output: (convirt-drbd:0:stop:stdout) 


 Is it having a problem updating one of the disks? If I start drbd manually it looks ok:
  
  drbd-overview
  0:convirt/0    Connected Secondary/Secondary UpToDate/UpToDate C r----- 
 

On Sep 28, 2011, at 7:25 PM, Cliff Massey wrote:

> 
> I'm trying to configure Pacemaker to manage a drbd resource on a two-node RHEL 6 cluster by the following guide: http://www.clusterlabs.org/wiki/DRBD_HowTo_1.0
> 
> drbd is 8.04 and works outside of Pacemaker.
> 
> My configuration is very simple:
> 
> primitive convirt_drbd ocf:linbit:drbd \
> 	params drbd_resource="convirt" \
> 	op monitor interval="59s" role="Master" timeout="30s" \
> 	op monitor interval="60s" role="Slave" timeout="30s"
> ms ms-convirt convirt_drbd \
> 	meta clone-max="2" notify="true" globally-unique="false" target-role="Started"
> property $id="cib-bootstrap-options" \
> 	dc-version="1.1.5-5.el6-01e86afaaa6d4a8c4836f68df80ababd6ca3902f" \
> 	cluster-infrastructure="Heartbeat" \
> 	expected-quorum-votes="2" \
> 	no-quorum-policy="ignore" \
> 	symmetric-cluster="false" \
> 	stonith-enabled="false"
> rsc_defaults $id="rsc-options" \
> 	resource-stickiness="200"
> 
> I start the resource by using: resource start ms-convirt. However, the resource doesn't start:
> 
> drbd-overview
> drbd not loaded
> 
> Am I missing any steps?
> 
> Cliff Massey 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
> 





More information about the Pacemaker mailing list