Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jul 2010 20:05:37 +0900
From:      "hiroshi@soupacific.com" <hiroshi@soupacific.com>
To:        Mikolaj Golub <to.my.trociny@gmail.com>
Cc:        freebsd-fs@freebsd.org, Pawel Jakub Dawidek <pjd@FreeBSD.org>
Subject:   Re: HAST and CARP
Message-ID:  <4C2DC801.5080108@soupacific.com>
In-Reply-To: <86wrtez14z.fsf@zhuzha.ua1>
References:  <4C139F9C.2090305@soupacific.com><86iq5oc82y.fsf@kopusha.home.net> <4C14215D.9090304@soupacific.com><20100613003635.GA60012@icarus.home.lan><20100613074921.GB1320@garage.freebsd.pl><4C149A5C.3070401@soupacific.com><20100613102401.GE1320@garage.freebsd.pl><86eigavzsg.fsf@kopusha.home.net><20100614095044.GH1721@garage.freebsd.pl><868w6hwt2w.fsf@kopusha.home.net><20100614153746.GN1721@garage.freebsd.pl><86zkyxvc4v.fsf@kopusha.home.net> <4C2C43D5.1080907@soupacific.com><86mxubndrp.fsf@kopusha.home.net> <4C2D7615.5070606@soupacific.com><861vbm1hpr.fsf@zhuzha.ua1> <4C2D9C62.4050105@soupacific.com> <86wrtez14z.fsf@zhuzha.ua1>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks !


>
> When ServerB has become master and modified some data, ServerA, before setting
> to primary again, should be set to secondary to synchronize all changes and
> only after this be switched to primary, otherwise you will have split-brain
> and should synchronize full storage recreating provider on secondary.
>

I understand this idea!  and agree with you this situation.
BUT once we go into split-brain mode, there is no way to solve this 
except hastctl create xxxx.

hastctl create xxx initialize hast device and not recommend idea!! I 
agree this.

Even split-brain condition, hastctl status returns as BACKUP.

I could not find the way to resolve split-brain by script.

But managing ServerB became MASTER, that time we can change advskew to 
prevent booting ServerA keeping as BACKUP.

Of course before booting SerberA, change advskew manually! But this 
manner can not solve split-brain.

Is there any idea to solve split-brain condition?

Thanks

Hiroshi









Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C2DC801.5080108>