1VOTEQUORUM_SETEXPECCToErDo(s3y)nc Cluster Engine Programmer'sVOMTaEnQuUaOlRUM_SETEXPECTED(3)
2
3
4

NAME

6       votequorum_setexpected - Sets the expected votes for the cluster
7

SYNOPSIS

9       #include <corosync/votequorum.h>
10
11       int    votequorum_setexpected(votequorum_handle_t   handle,   int   ex‐
12       pected_votes);
13

DESCRIPTION

15       The votequorum_setexpected function is  used  to  change  the  expected
16       votes  in  the  cluster. Expected votes is used to calculate quorum and
17       should normally be the total number of votes that will exist  when  all
18       the  expected  nodes  are  joined.  Quorum will usually be half of this
19       (rounded up).   It is not possible to set expected votes up so that  it
20       makes the cluster inquorate using this command.
21

RETURN VALUE

23       This  call returns the CS_OK value if successful, otherwise an error is
24       returned.
25

ERRORS

27       CS_ERR_TRY_AGAIN Resource temporarily unavailable
28
29       CS_ERR_INVALID_PARAM Invalid argument
30
31       CS_ERR_ACCESS Permission denied
32
33       CS_ERR_LIBRARY The connection failed
34
35       CS_ERR_INTERRUPT System call interrupted by a signal
36
37       CS_ERR_NOT_SUPPORTED The requested protocol/functionality not supported
38
39       CS_ERR_MESSAGE_ERROR Incorrect auth message received
40
41       CS_ERR_NO_MEMORY Not enough memory to complete the requested task
42
43

SEE ALSO

45       votequorum_overview(3),   votequorum_initialize(3),   votequorum_final‐
46       ize(3),   votequorum_getinfo(3),   votequorum_trackstart(3),   votequo‐
47       rum_trackstop(3), votequorum_fd_get(3),  votequorum_dispatch(3),  vote‐
48       quorum_context_set(3),        votequorum_context_get(3),       votequo‐
49       rum_setvotes(3)
50
51corosync Man Page                 2021-06-03         VOTEQUORUM_SETEXPECTED(3)
Impressum