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

Jared Harvey jharvey at pioneershospital.org
Thu Apr 4 20:36:51 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.

Just an update.  I got it working with DRBD-8.4.3.



-----Original Message-----
From: drbd-user-bounces at lists.linbit.com [mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Lars Ellenberg
Sent: Wednesday, April 03, 2013 9:24 AM
To: drbd-user at lists.linbit.com
Subject: Re: [DRBD-user] Problem with Failover with DRBD, Heartbeat, and Pacemaker

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 environment.

> 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(r) and LINBIT(r) are registered trademarks of LINBIT, Austria.
please don't Cc me, but send to list   --   I'm subscribed
drbd-user mailing list
drbd-user at lists.linbit.com

This email and any files transmitted with it are intended solely for the use of the individuals or entities to which they are addressed and are not to be disclosed to any other party. If you have received this email in error please return it to the sender, and delete any copies thereof. Thank you for your cooperation.

More information about the drbd-user mailing list