Linode Forum
https://forum.linode.com/

Heartbit + Pacemaker + drbd error
https://forum.linode.com/viewtopic.php?f=19&t=6116
Page 1 of 1

Author:  jachetto [ Tue Oct 12, 2010 4:10 pm ]
Post subject:  Heartbit + Pacemaker + drbd error

I've this error on my installation. drbd and heartbead are installed both side. Any ideas?

1.
============
2.
Last updated: Tue Oct 12 22:00:02 2010
3.
Stack: Heartbeat
4.
Current DC: ha2 (8de4b285-24ef-4d59-9417-e7a137584e3a) - partition with quorum
5.
Version: 1.0.8-042548a451fce8400660f6031f4da6f0223dd5dd
6.
2 Nodes configured, 1 expected votes
7.
2 Resources configured.
8.
============
9.

10.
Online: [ ha1 ha2 ]
11.

12.
Resource Group: WebServices
13.
fs_webfs (ocf::heartbeat:Filesystem): Started ha1
14.
Master/Slave Set: ms_drbd_webfs
15.
drbd_webfs:1 (ocf::linbit:drbd): Slave ha2 (unmanaged) FAILED
16.
Masters: [ ha1 ]
17.

18.
Failed actions:
19.
drbd_webfs:1_start_0 (node=ha2, call=4, rc=5, status=complete): not installed
20.
drbd_webfs:1_stop_0 (node=ha2, call=7, rc=5, status=complete): not installed

Author:  dotcomguy [ Mon Feb 14, 2011 4:53 pm ]
Post subject: 

I apologize that this post won't be very helpful in terms of addressing your problem, but I have used Heartbeat+DRBD+NFS in the past and based on my experience it is absolutely not worth the trouble.

You can create some really sophisticated setups to failover, and sometimes it works. But a lot of the times the failover process for me got stuck because of open files or some other reason and getting it unstuck was a huge pain. Heartbeat v2 supposedly added some great features, but in practice (at least for me) it added a lot of needless complexity, and the documentation is horribly lacking.

Best of luck getting it working. Perhaps I just didn't have something setup correctly, or maybe there have been improvements since two years ago when I was using it, but that was just my experience FWIW

Author:  vegardx [ Mon Feb 14, 2011 5:06 pm ]
Post subject: 

A qualified guess would be that your volume is not in a safe state or that it for some reason cannot be unmounted.

Check /proc/drbd on both machines. Also dump your pacemaker configuration (crm configure)

If you're playing with dual primaries you should really look into a filesystem with distributed locking mechanisms, like GFS+ or OCFS2. I prefer the latter one, for no apparent reason!

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/