1VOTEQUORUM_QDISK_RECGoIrSoTsEyRn(c3)Cluster Engine ProgrammeVrO'TsEQMUaOnRuUaMl_QDISK_REGISTER(3)
2
3
4

NAME

6       votequorum_qdisk_register - Registers a new quorum device
7

SYNOPSIS

9       #include <corosync/votequorum.h>
10
11       int  votequorum_qdisk_register(votequorum_handle_t handle, char * name,
12       unsigned int votes);
13

DESCRIPTION

15       The votequorum_qdisk_register is used to register a new quorum  device.
16       A  quorum device is an external way of adding votes to a small cluster.
17       The quorum device is, in effect, a pseudo node in the cluster that pro‐
18       vide  votes based on some external device, usually a shared disk parti‐
19       tion or perhaps a network router.
20       This call creates the device but does not  mark  it  active.   votequo‐
21       rum_qdisk_poll  must be called for the votes to be included in the quo‐
22       rum calculation.
23       Note that it is the responsibility of the quorum device subsystem  (not
24       provided  as part of votequorum) to keep all nodes informed of the quo‐
25       rum device status.
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_REGISTER(3)
Impressum