From owner-freebsd-fs@FreeBSD.ORG Fri Jun 11 23:19:21 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 ADA39106567D for ; Fri, 11 Jun 2010 23:19:21 +0000 (UTC) (envelope-from hiroshi@soupacific.com) Received: from mail.soupacific.com (mail.soupacific.com [211.19.53.201]) by mx1.freebsd.org (Postfix) with ESMTP id 46D638FC20 for ; Fri, 11 Jun 2010 23:19:21 +0000 (UTC) Received: from [127.0.0.1] (unknown [192.168.1.239]) by mail.soupacific.com (Postfix) with ESMTP id 6EE966ABBB; Thu, 10 Jun 2010 09:40:54 +0000 (UTC) Message-ID: <4C10B526.4040908@soupacific.com> Date: Thu, 10 Jun 2010 18:49:26 +0900 From: "hiroshi@soupacific.com" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20100416065126.GG1705@garage.freebsd.pl> <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> In-Reply-To: <4BD17B0D.5080601@soupacific.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: 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: Fri, 11 Jun 2010 23:19:21 -0000 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 primary. And now I try to run HAST on FreeBSD 8.0. Exact same configuration but soething wrong. On Primary server sv01A#hastctl crate zfshast sv01A#hastd sv01A#hastctl role primary zfshast On secondary sv01B#hastctl create zfshast sv01B#hastd sv01B#hastctl role secondary zfshast Then Secondary shows following Jun ..... [zfshast] (secondary) Unable to recieve request header: socket is not connected. Jun...... [zfshast] (secondary) worker process exited I checked and found proto_recv() function always returns socket is not connected. sv01A and sv01B is looks working, since before hastctl role secondary zfshast. hastd shows Jun.... sv01B hastd: [zfshast] (init) we acr as init for the resource and not as secondary as requested by tcp4:/192.168.0.240:56279 Tow time above message are shown. hast.conf is #global section control /var/run/hastctl listen tcp:/0.0.0.0.:8547 ## timeout 50 resource zfshast { on sv01A { local /dev/ad8 remote 192.168.0.241 } on sv01B { local /dev/ad8 remote 192.168.0.240 } } I change timeout value but no difference. 8.1 also same result. What shall I do ? Thanks Hiroshi P.S. I have to change postfix ip soon.