mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2026-02-01 19:36:42 +00:00
defaults in services.c) and can load another module to do the quorum work (eg YKD which I've made more compliant too). All the quorum code has been removed from sync.c. quorum.c is simply a shim later for the coroapi, the main module is in vsf_quorum.c There are coroapi calls to query quorate status and also to get notifications when it changes. I've included the testquorum.lcrso module in this patch because I think it's really helpful for testing. It sets the quorum state based on an objdb variable, this can be set or cleared using corosync-cfgtool git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1704 fd59a12c-fef9-0310-b244-a6a79926bd2f
60 lines
1.0 KiB
Plaintext
60 lines
1.0 KiB
Plaintext
# Version and symbol export for libquorum.so
|
|
|
|
OPENAIS_QUORUM_1.0 {
|
|
global:
|
|
quorum_initialize;
|
|
quorum_finalize;
|
|
quorum_getinfo;
|
|
quorum_setexpected;
|
|
quorum_setvotes;
|
|
quorum_qdisk_register;
|
|
quorum_qdisk_unregister;
|
|
quorum_qdisk_poll;
|
|
quorum_qdisk_getinfo;
|
|
quorum_setdirty;
|
|
quorum_killnode;
|
|
quorum_leaving;
|
|
|
|
local:
|
|
saHandleCreate;
|
|
saHandleDestroy;
|
|
saHandleInstanceGet;
|
|
saHandleInstancePut;
|
|
saRecvRetry;
|
|
saSelectRetry;
|
|
saSendMsgReceiveReply;
|
|
saSendMsgRetry;
|
|
saSendReceiveReply;
|
|
saSendRetry;
|
|
saServiceConnect;
|
|
saVersionVerify;
|
|
clustTimeNow;
|
|
};
|
|
# Version and symbol export for libcpg.so
|
|
|
|
COROSYNC_QUORUM_1.0 {
|
|
global:
|
|
quorum_initialize;
|
|
quorum_finalize;
|
|
quorum_fd_get;
|
|
quorum_dispatch;
|
|
quorum_get_quorate;
|
|
quorum_context_get;
|
|
quorum_context_set;
|
|
|
|
local:
|
|
saHandleCreate;
|
|
saHandleDestroy;
|
|
saHandleInstanceGet;
|
|
saHandleInstancePut;
|
|
saRecvRetry;
|
|
saSelectRetry;
|
|
saSendMsgReceiveReply;
|
|
saSendMsgRetry;
|
|
saSendReceiveReply;
|
|
saSendRetry;
|
|
saServiceConnect;
|
|
saVersionVerify;
|
|
clustTimeNow;
|
|
};
|