1QUORUM_GETQUORATE(3C)orosync Cluster Engine Programmer's ManuQaUlORUM_GETQUORATE(3)
2
3
4

NAME

6       quorum_getquorate - Gets the quorate status of the node.
7

SYNOPSIS

9       #include <corosync/quorum.h>
10
11       int quorum_getquorate(quorum_handle_t handle, int *quorate);
12

DESCRIPTION

14       The  quorum_getquorate  function is used to retrieve the quorate status
15       of the node. Quorate is 0 if the node is not part of a  quorate  parti‐
16       tion or 1 otherwise.
17

RETURN VALUE

19       This  call returns the CS_OK value if successful, otherwise an error is
20       returned.
21

ERRORS

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

SEE ALSO

41       quorum_overview(3),  quorum_initialize(3),  quorum_model_initialize(3),
42       quorum_finalize(3),   quorum_trackstart(3),  quorum_trackstop(3),  quo‐
43       rum_fd_get(3), quorum_dispatch(3),  quorum_context_set(3),  quorum_con‐
44       text_get(3)
45
46corosync Man Page                 2022-03-30              QUORUM_GETQUORATE(3)
Impressum