From owner-freebsd-fs@FreeBSD.ORG Sat Jun 12 10:47:50 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7AAE1065679 for ; Sat, 12 Jun 2010 10:47:50 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello089077043238.chello.pl [89.77.43.238]) by mx1.freebsd.org (Postfix) with ESMTP id 0DACB8FC1D for ; Sat, 12 Jun 2010 10:47:48 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 9C03845CBA; Sat, 12 Jun 2010 12:47:46 +0200 (CEST) Received: from localhost (gate.wheel.pl [10.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 8F588456B1; Sat, 12 Jun 2010 12:47:40 +0200 (CEST) Date: Sat, 12 Jun 2010 12:47:32 +0200 From: Pawel Jakub Dawidek To: "hiroshi@soupacific.com" Message-ID: <20100612104336.GA2253@garage.freebsd.pl> 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UHN/qo2QbUvPLonB" Content-Disposition: inline In-Reply-To: <4C10B526.4040908@soupacific.com> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT amd64 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=4.5 tests=ALL_TRUSTED,BAYES_00, TO_ADDRESS_EQ_REAL autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: FreeBSD 8.1 and HAST X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jun 2010 10:47:50 -0000 --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--