1VOTEQUORUM_QDISK_POCLoLr(o3s)ync Cluster Engine Programmer'sVMOaTnEuQaUlORUM_QDISK_POLL(3)
2
3
4

NAME

6       votequorum_qdisk_poll  -  Tells  votequorum  the  result  of the quorum
7       device poll
8

SYNOPSIS

10       #include <corosync/votequorum.h>
11
12       int  votequorum_qdisk_poll(votequorum_handle_t  handle,  unsigned   int
13       state);
14

DESCRIPTION

16       The votequorum_qdisk_poll is called by the quorum device subsyetem (not
17       provided as part of votequorum) to tell the voting system if the  qurum
18       device  is  present/active or not. If state is 1 then the votes for the
19       device are included in the quorum  calculation,  otherwise  not.   This
20       routine should be called at regular intervals to ensure that the device
21       status is always known to votequorum. If votequorum_qdisk_poll  is  not
22       called  after (default) 10 seconds then the device will be deeded to be
23       dead and its votes removed from the cluster. This does  not  unregister
24       the device.  The default poll time can be changed by setting the object
25       database variable quorum.quorumdev_poll.
26

RETURN VALUE

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

ERRORS

32       The errors are undocumented.
33

SEE ALSO

35       votequorum_overview(8),   votequorum_initialize(3),   votequorum_final‐
36       ize(3),    votequorum_dispatch(3),    votequorum_fd_get(3),    votequo‐
37       rum_qdisk_poll(3),       votequorum_qdisk_unregister(3),       votequo‐
38       rum_qdisk_getinfo(3),
39
40corosync Man Page                 2009-01-26          VOTEQUORUM_QDISK_POLL(3)
Impressum