[DRBD-user] Problem with Failover with DRBD, Heartbeat, and Pacemaker

Lars Ellenberg lars.ellenberg at linbit.com
Wed Apr 3 17:24:08 CEST 2013

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.

On Tue, Apr 02, 2013 at 07:31:42PM +0000, Jared Harvey wrote:
> Hi,
> I have managed to get this setup to work in a virtual environment, but
> am running into problems when running on physical hardware.  My
> current setup is the latest debian linux with the approved packages
> for drbd and heartbeat
> This is my heartbeat status when running.
> root at HPSATA01:~# crm_mon -1
> ============
> Last updated: Tue Apr  2 11:14:32 2013
> Stack: Heartbeat
> Current DC: hpsata02 (9e01243d-9232-437e-81ad-e00aabffef8f) - partition with quorum
> Version: 1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b

Please upgrade your pacemaker to at least 1.0.12,
don't forget to also upgrade the cluster glue packages.

I think this version still sends "notify" actions with broken

> And my DRBD status:
> root at HPSATA01:~# service drbd status
> drbd driver loaded OK; device status:
> version: 8.3.7 (api:88/proto:86-91)

You may also try upgrading your DRBD,
at least the DRBD resource agent.

It may help, as because of above mentioned bug we changed behaviour.

Your problem is that apparently stopping the primary side
sometimes/always causes the secondary side to outdate itself:

> root at HPSATA02:~# service drbd status
> drbd driver loaded OK; device status:
> version: 8.3.7 (api:88/proto:86-91)
> srcversion: EE47D8BF18AC166BE219757
> m:res   cs            ro                 ds                 p  mounted  fstype
> 0:meta  WFConnection  Secondary/Unknown  Outdated/DUnknown  C
> 1:data  WFConnection  Secondary/Unknown  Outdated/DUnknown  C

Once "Outdated", DRBD will refuse to be promoted.

: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
please don't Cc me, but send to list   --   I'm subscribed

More information about the drbd-user mailing list