HAST and CARP

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Jul 5 14:34:40 UTC 2010


On Mon, Jul 05, 2010 at 08:24:19PM +0900, hiroshi at soupacific.com wrote:
> Hi !
> 
> I checked without ifstate, without CARP !
> 
> ServerA
> #hastctl create zfshast
> #hastd
> #hastctl role primary zfshast
> 
> ServerB
> #hastctl create zfshast
> #hastd
> #hastctl role secondary zfshast
> 
> check synch on ServerA
> after nodirty bytes
> 
> #zpool create hasthome /dev/hast/zfshast
> 
> then
> disconnect ethernet.

Split-brain happens when two nodes think they are masters. This is
exactly what happens when you disconnect ethernet. In other words you
asked for split-brain and you got it.

The rule is that at any given time there should at most one master.
If you have two masters at some point you will cause split-brain.

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20100705/7fbed054/attachment.pgp


More information about the freebsd-fs mailing list