Corosync_tools.Cfgtoolval local_get : unit -> (int, Corosync_lib.Corotypes.CsError.t) Stdlib.resultlocal_get () returns the nodeid of the node on which this function is called.
val reload_config :
unit ->
(unit, Corosync_lib.Corotypes.CsError.t) Stdlib.resultrealod_config () will ask corosync to reload config on the current node.
val get_node_addrs :
int ->
(Corosync_lib.Cfg.cfg_node_address list, Corosync_lib.Corotypes.CsError.t)
Stdlib.resultget_node_addrs nodeid returns the addresses of the node with id nodeid. Note that Corosync 3 supports multiple homing, so there could be multiple addresses for one node.