1VOTEQUORUM_SETEXPECCToErDo(s3y)nc Cluster Engine Programmer'sVOMTaEnQuUaOlRUM_SETEXPECTED(3)
2
3
4
6 votequorum_setexpected - Sets the expected votes for the cluster
7
9 #include <corosync/votequorum.h>
10
11 int votequorum_setexpected(votequorum_handle_t handle, int
12 expected_votes);
13
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).
20 It is not possible to set expected votes up so that it makes the clus‐
21 ter inquorate using this command.
22
24 This call returns the CS_OK value if successful, otherwise an error is
25 returned.
26
28 The errors are undocumented.
29
31 votequorum_overview(8), votequorum_initialize(3), votequorum_final‐
32 ize(3), votequorum_dispatch(3), votequorum_fd_get(3),
33
34corosync Man Page 2009-01-26 VOTEQUORUM_SETEXPECTED(3)