 |
Linode Forum Linode Community Forums
|
| Author |
Message |
jachetto
Joined: 19 Jun 2010
Posts: 1
|
| Posted: Tue Oct 12, 2010 3: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 |
|
| Back to top |
|
dotcomguy
Joined: 12 Aug 2010
Posts: 2
|
| Posted: Mon Feb 14, 2011 3: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 |
|
| Back to top |
|
vegardx
Joined: 14 Feb 2011
Posts: 4
Location: Norway
|
| Posted: Mon Feb 14, 2011 4: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! |
|
| Back to top |
|
| |
|