F.77. referee — управление кворумом в кластере с чётным числом узлов, реализованном с использованием multimaster #
referee — это расширение Postgres Pro Enterprise, предназначенное для управления кворумом в кластере с чётным числом узлов, реализованном с использованием multimaster. Устанавливаемое в отдельной системе, расширение referee реализует узел, отдающий голос кворума подмножеству узлов, когда связанность сохраняется ровно в половине узлов кластера.
Если кластер с несколькими ведущими разделяется на две равные части либо половина узлов кластера отключается, работающее подмножество узлов пытается обратиться к рефери. Первое подмножество, которому это удаётся, получает выигрышный голос и продолжает работать, а все остальные узлы исключаются из кластера во избежание проблемы «раздвоения» кластера.
Узел рефери не хранит никакие данные кластера, поэтому он не создаёт значительной нагрузки и может быть размещён в системах с ограниченными ресурсами. Подробнее о том, как настроить и использовать узел рефери с multimaster, рассказывается в Подразделе F.36.4.3.
F.77.1. Авторы #
Postgres Professional, Москва, Россия
F.77. referee — manage quorum settings with an even number of nodes configured with multimaster #
referee is a Postgres Pro Enterprise extension for managing quorum settings in clusters with an even number of nodes configured with multimaster. Installed on a separate system, the referee extension provides a voting node to assign the quorum status to a subset of nodes if only half of the cluster nodes remain connected to each other.
If a multi-master cluster is split into equal parts, or half of the cluster nodes fail, each subset of nodes that equals half of the cluster tries to access the referee. The first subset that gets connected to the referee wins the voting and continues working, while all the other nodes are excluded from the cluster to avoid split-brain problems.
The referee node does not store any cluster data, so it is very lightweight and can be located on systems with limited resources. For details on how to set up and use a referee node with multimaster, see Section F.36.4.3.
F.77.1. Authors #
Postgres Professional, Moscow, Russia