package corosync

  1. Overview
  2. Docs
OCaml Corosync binding

Install

Dune Dependency

Authors

Maintainers

Sources

corosync-0.1.0.tbz
sha256=50dfd86c7142e6fcd1a9aac3f17733e4ce4036823d3447852afa753152a88821
sha512=d43d33f1073bea24dfe3443859673dceeb7c26bae8198d7fef0477dc9779e51ffb5771e1a2964c0ae9ff73625c48e3e74d6d221dbcc3c803e8481331e443c7a3

doc/corosync.tools/Corosync_tools/Quorumtool/index.html

Module Corosync_tools.QuorumtoolSource

Sourcetype name_format =
  1. | AddressFormatName
  2. | AddressFormatIP
Sourcemodule ViewList : sig ... end
Sourceval is_quorate : unit -> (bool, Corosync_lib.Corotypes.CsError.t) result

is_quorate () returns whether the current cluster is quorate

Sourceval using_votequorum : unit -> bool

using_votequorum () returns whether votequorum is used in the current cluster

votequorum_info nodeid returns the votequoruminfo for the node with nodeid

my_votequorum_info () returns the votequoruminfo for the node on which this function is called

quorum_members format returns the members and their information in the current quorum as a list. The format can either be an ip address or the host name.

OCaml

Innovation. Community. Security.