Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jun 2010 12:47:32 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        "hiroshi@soupacific.com" <hiroshi@soupacific.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: FreeBSD 8.1 and HAST
Message-ID:  <20100612104336.GA2253@garage.freebsd.pl>
In-Reply-To: <4C10B526.4040908@soupacific.com>
References:  <4BCD3979.8050107@soupacific.com> <4BCD5AD7.8070502@soupacific.com> <4BCFA4C2.6000109@soupacific.com> <4BCFB1C5.5000908@soupacific.com> <4BD01800.9040901@soupacific.com> <4BD0438B.5080308@soupacific.com> <4BD0E432.1000108@soupacific.com> <20100423061521.GC1670@garage.freebsd.pl> <4BD17B0D.5080601@soupacific.com> <4C10B526.4040908@soupacific.com>

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

--UHN/qo2QbUvPLonB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 10, 2010 at 06:49:26PM +0900, hiroshi@soupacific.com wrote:
> Thanks for your supporting timeout and it works great for 9.0.
> One fo two server shutdown, then rebooting only one server, it works as=
=20
> primary.
>=20
>=20
> And now I try to run HAST on FreeBSD 8.0.

Is this 8.0 or 8-STABLE?

> Exact same configuration but soething wrong.
>=20
> On Primary server
> sv01A#hastctl crate zfshast
> sv01A#hastd
> sv01A#hastctl role primary zfshast
>=20
> On secondary
>=20
> sv01B#hastctl create zfshast
> sv01B#hastd
> sv01B#hastctl role secondary zfshast
>=20
> Then
> Secondary shows following
>=20
> Jun ..... [zfshast] (secondary) Unable to recieve request header: socket=
=20
> is not connected.
> Jun...... [zfshast] (secondary) worker process exited
>=20
> I checked and found proto_recv() function always returns socket is not=20
> connected.
>=20
> sv01A and sv01B is looks working, since before hastctl role secondary=20
> zfshast.
>=20
> hastd shows
> Jun.... sv01B hastd: [zfshast] (init) we acr as init for the resource=20
> and not as secondary as requested by tcp4:/192.168.0.240:56279

So is the resource configured as secondary or not?
Could you stop hastd and start it manually with debug turned on?
Don't forget to mark it as secondary.

--=20
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--UHN/qo2QbUvPLonB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkwTZcMACgkQForvXbEpPzQ7mgCfRIjXlsXpptQ/3w4xTmW7De+/
pxMAn0GYsiQT1XUhpu7d03yOiyXJKlCf
=9tGV
-----END PGP SIGNATURE-----

--UHN/qo2QbUvPLonB--



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