1VOTEQUORUM_QDEVICE_CUoPrDoAsTyEn(c3)Cluster Engine ProgrammeVrO'TsEQMUaOnRuUaMl_QDEVICE_UPDATE(3)
2
3
4
6 votequorum_qdevice_update - Updates quorum device name
7
9 #include <corosync/votequorum.h>
10
11 int votequorum_qdevice_update(votequorum_handle_t handleconst char old‐
12 name, const char newname);
13
15 The votequorum_qdevice_update is used to change the name of the quorum
16 device to corosync. The name of q quorum device is purely informational
17 and has no significance to votequorum itself, but it's useful for the
18 name (displayed by corosync-quorumtool) to reflect the actual device
19 contributing votes to quorum to avoid user confusion.
20
22 This call returns the CS_OK value if successful, otherwise an error is
23 returned.
24
26 CS_ERR_TRY_AGAIN Resource temporarily unavailable
27
28 CS_ERR_INVALID_PARAM Invalid argument
29
30 CS_ERR_ACCESS Permission denied
31
32 CS_ERR_LIBRARY The connection failed
33
34 CS_ERR_INTERRUPT System call interrupted by a signal
35
36 CS_ERR_NOT_SUPPORTED The requested protocol/functionality not supported
37
38 CS_ERR_MESSAGE_ERROR Incorrect auth message received
39
40 CS_ERR_NO_MEMORY Not enough memory to complete the requested task
41
42
44 votequorum_overview(3), votequorum_initialize(3), votequorum_final‐
45 ize(3), votequorum_getinfo(3), votequorum_trackstart(3), votequo‐
46 rum_trackstop(3), votequorum_fd_get(3), votequorum_dispatch(3), vote‐
47 quorum_context_set(3), votequorum_context_get(3), votequorum_setex‐
48 pected(3), votequorum_setvotes(3), votequorum_qdevice_register(3),
49 votequorum_qdevice_poll(3), votequorum_qdevice_master_wins(3),
50 corosync-quorumtool(8)
51
52corosync Man Page 2021-06-03 VOTEQUORUM_QDEVICE_UPDATE(3)