]>
git.proxmox.com Git - pve-ha-manager.git/blob - PVE/HA/Env.pm
8 # abstract out the cluster environment
13 my $class = ref($this) || $this;
15 my $self = bless {}, $class;
20 # this should return a hash containing info
21 # what nodes are members and online.
27 # return { node1 => { online => 1, join_time => X }, node2 => ... }
31 my ($self, $level, $msg) = @_;
36 # aquire a cluster wide lock
37 sub get_ha_manager_lock
{
44 # overwrite that if you want to simulate
52 my ($self, $delay) = @_;