Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

votequorum_setexpected(3) [debian man page]

VOTEQUORUM_SETEXPECTED(3)			    Corosync Cluster Engine Programmer's Manual 			 VOTEQUORUM_SETEXPECTED(3)

NAME
votequorum_setexpected - Sets the expected votes for the cluster SYNOPSIS
#include <corosync/votequorum.h> int votequorum_setexpected(votequorum_handle_t handle, int expected_votes); DESCRIPTION
The votequorum_setexpected function is used to change the expected votes in the cluster. Expected votes is used to calculate quorum and should normally be the total number of votes that will exist when all the expected nodes are joined. Quorum will usually be half of this (rounded up). It is not possible to set expected votes up so that it makes the cluster inquorate using this command. RETURN VALUE
This call returns the CS_OK value if successful, otherwise an error is returned. ERRORS
The errors are undocumented. SEE ALSO
votequorum_overview(8), votequorum_initialize(3), votequorum_finalize(3), votequorum_dispatch(3), votequorum_fd_get(3), corosync Man Page 2009-01-26 VOTEQUORUM_SETEXPECTED(3)

Check Out this Related Man Page

VOTEQUORUM_OVERVIEW(8)				    Corosync Cluster Engine Programmer's Manual 			    VOTEQUORUM_OVERVIEW(8)

NAME
votequorum_overview - Votequorum Library Overview OVERVIEW
The votequuorum library is delivered with the corosync project. It is the external interface to the vote-based quorum service. This service is optionally loaded into all ndes in a corosync cluster to avoid split-brain situations. It does this by having a number of votes assigned to each system in the cluster and ensuring that only when a majority of the votes are present, cluster operations are allowed to proceed. The library provides a mechanism to: * Query the quorum status * Get a list of nodes known to the quorum service * Receive notifications of quorum state changes * Change the number of votes assigned to a node * Change the number of expected votes for a cluster to be quorate * Connect an additional quorum device to allow small clusters to remain quorate during node outages. votequorum reads its configuration from the objdb. The following keys are read when it starts up: * quorum.expected_votes * quorum.votes * quorum.quorumdev_poll * quorum.disallowed * quorum.two_node Most of those values can be changed while corosync is running with the following exceptions: quorum.disallowed cannot be changed, and two_node cannot be set on-the-fly, though it can be cleared. ie you can start with two nodes in the cluster and add a third without reboot- ing all the nodes. BUGS
This software is not yet production, so there may still be some bugs. SEE ALSO
corosync-quorumtool(8), votequorum_initialize(3), votequorum_finalize(3), votequorum_fd_get(3), votequorum_dispatch(3), votequorum_con- text_get(3), votequorum_context_set(3), corosync Man Page 2009-01-26 VOTEQUORUM_OVERVIEW(8)
Man Page

4 More Discussions You Might Find Interesting

1. AIX

Can only ls 50 file on NFS mount?

Please can anybody help me with this weird behaviour. There are 2 x-servers running Fedora 16 work as a cluster with DRBD, corosync & pacemaker. The cluster exports a filesystem using the following statement in /etc/exports /drbd/home 10.49.17.0/255.255.255.0... (0 Replies)
Discussion started by: spitzie
0 Replies

2. What is on Your Mind?

A public thank you...

AudioScope.sh has now had 2 votes of 5 stars. It has also been thanked in the latest upload... Although I know who thanked this kids project, and I have personally thanked that person, this is a public thank you to the two anonymous people who have voted it 5 stars. Thank you. It has... (0 Replies)
Discussion started by: wisecracker
0 Replies

3. Shell Programming and Scripting

Trying to implement count_collatz_step function

Can anyone give me a clue why this code doesn't work as expected? The function count_collatz_step() take one parameter which a number that need to calculate collatz until it reaches 1. The func should return steps it takes. # # Count steps of collatz conjecture takes, until the number reach 1.... (8 Replies)
Discussion started by: Bunchhieng
8 Replies

4. UNIX for Beginners Questions & Answers

Problem with cluster on centos 6.5

Hallo to everyone.From sometime i have problems with my asterisk pbx on cent os which is in corosync cluster mode with resource groups.The problem is for time the cluster just swap the active one with the other and the only messages in \var\log\messages is that bond0:link status defenitly down for... (0 Replies)
Discussion started by: evolintend
0 Replies