Unix and Linux Discussions Tagged with expected |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
12,955 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
1,448 |
Shell Programming and Scripting |
|
|
|
24 |
26,036 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
4,461 |
Shell Programming and Scripting |
|
|
|
0 |
2,151 |
OS X Support RSS |
|
|
|
6 |
3,073 |
Shell Programming and Scripting |
|
|
|
2 |
3,557 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
12,783 |
Shell Programming and Scripting |
|
|
|
9 |
21,353 |
UNIX for Advanced & Expert Users |
|
|
|
6 |
20,336 |
Shell Programming and Scripting |
|
|
|
1 |
4,232 |
Shell Programming and Scripting |
|
|
|
6 |
42,202 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,420 |
Shell Programming and Scripting |
|
|
|
1 |
8,261 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
10,392 |
Shell Programming and Scripting |
|
|
|
10 |
7,305 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
5,901 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,618 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,889 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
20,045 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
8,234 |
UNIX for Dummies Questions & Answers |
VOTEQUORUM_SETEXPECTED(3) Corosync Cluster Engine Programmer's Manual VOTEQUORUM_SETEXPECTED(3)
NAME
votequorum_setexpected - Sets the expected votes for the cluster
SYNOPSIS
#include <corosync/votequorum.h>
int votequorum_setexpected(votequorum_handle_t handle, int expected_votes);
DESCRIPTION
The votequorum_setexpected function is used to change the expected votes in the cluster. Expected votes is used to calculate quorum and
should normally be the total number of votes that will exist when all the expected nodes are joined. Quorum will usually be half of this
(rounded up). It is not possible to set expected votes up so that it makes the cluster inquorate using this command.
RETURN VALUE
This call returns the CS_OK value if successful, otherwise an error is returned.
ERRORS
CS_ERR_TRY_AGAIN Resource temporarily unavailable
CS_ERR_INVALID_PARAM Invalid argument
CS_ERR_ACCESS Permission denied
CS_ERR_LIBRARY The connection failed
CS_ERR_INTERRUPT System call inturrupted by a signal
CS_ERR_NOT_SUPPORTED The requested protocol/functuality not supported
CS_ERR_MESSAGE_ERROR Incorrect auth message received
CS_ERR_NO_MEMORY Not enough memory to completed the requested task
SEE ALSO
votequorum_overview(8), votequorum_initialize(3), votequorum_finalize(3), votequorum_getinfo(3), votequorum_trackstart(3), votequo-
rum_trackstop(3), votequorum_fd_get(3), votequorum_dispatch(3), votequorum_context_set(3), votequorum_context_get(3), votequo-
rum_setvotes(3)
corosync Man Page 2014-06-10 VOTEQUORUM_SETEXPECTED(3)