HAST and CARP
Mikolaj Golub
to.my.trociny at gmail.com
Mon Jul 5 14:46:57 UTC 2010
On Mon, 5 Jul 2010 16:34:10 +0200 Pawel Jakub Dawidek wrote:
PJD> 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.
PJD> Split-brain happens when two nodes think they are masters. This is
PJD> exactly what happens when you disconnect ethernet. In other words you
PJD> asked for split-brain and you got it.
Ah! When reading hiroshi@'s description I missed that ServerB was set as
primary before ServerA was rebooted (thus it was still primary). So there is
no need in reproducing this :-).
--
Mikolaj Golub
More information about the freebsd-fs
mailing list