Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 2016 11:31:58 +0300
From:      Anton Sayetsky <vsasjason@gmail.com>
To:        Shahin Hasanov <shahinhasanov@hotmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: the switching time hastd from secondary to primary
Message-ID:  <CAA2O=b84TtRyjYgFL9v1e36nERE4QFQoePx9LLFi10bC-cXHSA@mail.gmail.com>
In-Reply-To: <DUB127-W2563827245EC96990575DDB6CC0@phx.gbl>
References:  <DUB127-W2563827245EC96990575DDB6CC0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
14 =D1=8F=D0=BD=D0=B2. 2016 =D0=B3. 10:25 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=
=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Shahin Hasanov" <
shahinhasanov@hotmail.com> =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB:
>
> I can't change the switching time hastd from secondary to primary. it is
default time 20 sec.is it possible? In despite of that in etc/hast.conf was
written timeout 10
>
> resource HAST0 {
>    replication memsync
>    compression lzf
>    timeout 10
>    on node1 {
>          local /dev/da1p1
>          remote 10.190.190.4
>     }
>    on node2 {
>          local /dev/da1p1
>           remote 10.190.190.3
>          }
> }
http://www.freebsd.org/cgi/man.cgi?hastd
A hastd daemon never picks its role automatically. The role has to be
configured with the hastctl(8) control utility by additional software like
ucarp or heartbeat that can reliably manage role separation and switch
secondary node to primary role in case of the primary's failure.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAA2O=b84TtRyjYgFL9v1e36nERE4QFQoePx9LLFi10bC-cXHSA>