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

Thanks,

Jared

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Lars Ellenberg
Sent: Wednesday, April 03, 2013 9:24 AM
To: [email protected]
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@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@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@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
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user
________________________________

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.
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to