1VOTEQUORUM_LEAVING(C3o)rosync Cluster Engine Programmer's ManVuOaTlEQUORUM_LEAVING(3)
2
3
4

NAME

6       votequorum_leaving - Tell other nodes that we are leaving the cluster
7

SYNOPSIS

9       #include <corosync/votequorum.h>
10
11       int votequorum_leaving(votequorum_handle_t handle);
12

DESCRIPTION

14       The  votequorum_leaving function is used to tell the other nodes in the
15       cluster that this node is leaving. They will (when  the  node  actually
16       leaves) reduce quorum to keep the cluster running without this node.
17
18       This  function  should  only  be called if it is known that the node is
19       being shut down for a known reason and could be out of the cluster  for
20       an extended period of time.
21
22       Normal  behaviour  is  for  the  cluster  to reduce the total number of
23       votes, but NOT expected_votes when a node leave  the  cluster,  so  the
24       cluster  could  become inquorate. This is correct behaviour and is ther
25       eto prevent split-brain.
26
27       Do NOT call this function unless you know what you are doing.
28

RETURN VALUE

30       This call returns the CS_OK value if successful, otherwise an error  is
31       returned.
32

ERRORS

34       The errors are undocumented.
35

SEE ALSO

37       votequorum_overview(8),   votequorum_initialize(3),   votequorum_finalā€
38       ize(3), votequorum_dispatch(3), votequorum_fd_get(3),
39
40corosync Man Page                 2009-01-26             VOTEQUORUM_LEAVING(3)
Impressum