the switching time hastd from secondary to primary

Anton Sayetsky vsasjason at gmail.com
Thu Jan 14 08:32:00 UTC 2016


14 янв. 2016 г. 10:25 пользователь "Shahin Hasanov" <
shahinhasanov at hotmail.com> написал:
>
> 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.


More information about the freebsd-questions mailing list