On 2011-11-06 09:13, Robinson, Eric wrote:
> Two little problems with my new cluster.
>  
> 1. When I put the primary node in standby, the resources failover to the
> other node just fine. When I put the primary back online, the resources
> automatically fail back, but DRBD on the stanby node goes into
> Standalone/Secondary. Trying to reconnect it to the resource causes
> split brain and I have to do drbdadm connect --discard-my-data to make
> it reconnect. That does not sound right to me. Any idea why it does
> that?

That's quite definitely a misconfiguration. Please create a CIB dump
with "cibadmin -Q", make that available on an HTTP server somewhere
(might as well be pastebin or similar), and share the URL here.

> 2. When I do drbdadm up, I get the following error, but everything seems
> to work okay...
>  
> [root@ha08b ~]# drbdadm up ha02_mysql
> /usr/local/var/run/drbd: No such file or directory
> /usr/local/var/run/drbd: No such file or directory

That would look like drbdadm and/or drbdsetup is not evaluating $PREFIX
properly; can you share your DRBD version please?

Also, DRBD looking for /usr/local means that you've evidently built from
source, with a somewhat non-standard configuration. Most people build with

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var

It's probably a good idea to consider rebuilding with those configure
options, lest your DRBD utilities install into paths different from
those mentioned in the documentation.

Cheers,
Florian

-- 
Need help with High Availability?
http://www.hastexo.com/now
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to