1QUORUM_GETQUORATE(3C)orosync Cluster Engine Programmer's ManuQaUlORUM_GETQUORATE(3)
2
3
4
6 quorum_getquorate - Gets the quorate status of the node.
7
9 #include <corosync/quorum.h>
10
11 int quorum_getquorate(quorum_handle_t handle, int *quorate);
12
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
19 This call returns the CS_OK value if successful, otherwise an error is
20 returned.
21
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
41 quorum_overview(3), quorum_initialize(3), quorum_finalize(3), quo‐
42 rum_trackstart(3), quorum_trackstop(3), quorum_fd_get(3), quorum_dis‐
43 patch(3), quorum_context_set(3), quorum_context_get(3)
44
45corosync Man Page 2019-11-25 QUORUM_GETQUORATE(3)