1VOTEQUORUM_QDEVICE_CMoArSoTsEyRn_cWICNlSu(s3t)er Engine ProgVrOaTmEmQeUrO'RsUMM_aQnDuEaVlICE_MASTER_WINS(3)
2
3
4

NAME

6       votequorum_qdevice_master_wins  -  Sets  or  clears  quorum device mas‐
7       ter_wins flag
8

SYNOPSIS

10       #include <corosync/votequorum.h>
11
12       int  votequorum_qdevice_master_wins(votequorum_handle_t  handle   const
13       char name, unsigned int allow);
14

DESCRIPTION

16       The  votequorum_qdevice_master_wins  informs  votequorum whether or not
17       the currently registered qdevice subsystem supports 'master_wins'  mode
18       (default 0).  This mode allows the qdevice to effectively take over the
19       quorum calculations of votequorum. Any node with an active qdevice that
20       also  has  master_wins set becomes quorate regardless of the node votes
21       of the cluster. It is left up to the qdevice subsystem itself (not part
22       of  votequorum)  to  communicate  across the nodes or otherwise provide
23       some system of deciding which nodes will be part of the  quorate  clus‐
24       ter,  if any. eg They may be the set of nodes that has access to a quo‐
25       rum disk.
26       name The name of the currently registered quorum device on  this  node.
27       This must match the existing name known to votequorum.
28       allow  0  (the  default)  means  that master_wins is not active on this
29       node. 1 means that master_wins is active on this node.
30

RETURN VALUE

32       This call returns the CS_OK value if successful, otherwise an error  is
33       returned.
34

ERRORS

36       CS_ERR_TRY_AGAIN Resource temporarily unavailable
37
38       CS_ERR_INVALID_PARAM Invalid argument
39
40       CS_ERR_ACCESS Permission denied
41
42       CS_ERR_LIBRARY The connection failed
43
44       CS_ERR_INTERRUPT System call interrupted by a signal
45
46       CS_ERR_NOT_SUPPORTED The requested protocol/functionality not supported
47
48       CS_ERR_MESSAGE_ERROR Incorrect auth message received
49
50       CS_ERR_NO_MEMORY Not enough memory to complete the requested task
51
52

SEE ALSO

54       votequorum_overview(3),   votequorum_initialize(3),   votequorum_final‐
55       ize(3),   votequorum_getinfo(3),   votequorum_trackstart(3),   votequo‐
56       rum_trackstop(3),  votequorum_fd_get(3),  votequorum_dispatch(3), vote‐
57       quorum_context_set(3),   votequorum_context_get(3),   votequorum_setex‐
58       pected(3),    votequorum_setvotes(3),   votequorum_qdevice_register(3),
59       votequorum_qdevice_poll(3), votequorum_qdevice_update(3),
60
61corosync Man Page                 2019-11-25 VOTEQUORUM_QDEVICE_MASTER_WINS(3)
Impressum