FreeBSD 8.1 and HAST

hiroshi at soupacific.com hiroshi at soupacific.com
Fri Jun 11 23:19:21 UTC 2010


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.


More information about the freebsd-fs mailing list