[DRBD-user] My first splitbrain

Florian Haas florian at hastexo.com
Tue Nov 8 23:15:20 CET 2011

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On 2011-11-08 22:46, Gerald Brandt wrote:
> Hi,
> 
> I did:
> 
> drbdadm secondary iscsi.target.0
> drbdadm -- --discard-my-data connect iscsi.target.0
>  
> and heartbeat immediately made the box primary again.  I killed heartbeat and did it again, and this time it stayed secondary.  I'm just about ready to reconnect the DRBD sync ethernet cable (and the iSCSI cable).  I hope it works.

Well if this is really standalone heartbeat, i.e. without Pacemaker, you
had better ditch that setup straight as soon as possible and replace it
with one based on Pacemaker.

And of course, it's not an extremely good idea to reconnect your DRBD
and recover from split brain while there is still (evidently) a cluster
partition. So you need to fix your network issues, ensure that your
cluster is properly communicating (I assumed you had), and only then
should you reconnect your DRBD.

Hope this helps.
Florian

-- 
Need help with High Availability?
http://www.hastexo.com/now



More information about the drbd-user mailing list