Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jun 2010 18:49:26 +0900
From:      "hiroshi@soupacific.com" <hiroshi@soupacific.com>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        freebsd-fs@freebsd.org
Subject:   FreeBSD 8.1 and HAST
Message-ID:  <4C10B526.4040908@soupacific.com>
In-Reply-To: <4BD17B0D.5080601@soupacific.com>
References:  <x2u90ed88931004131130m272ab2e4p37c2bdee5353a495@mail.gmail.com> <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>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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