]> git.proxmox.com Git - pve-cluster.git/commitdiff
use corosync-quorumtool to set expected votes
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 25 Feb 2015 17:24:50 +0000 (18:24 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 25 Feb 2015 17:33:06 +0000 (18:33 +0100)
data/PVE/pvecm
debian/changelog

index 8fc1c8b4c95e3e80175db24640db89ea279156d2..3ef511cd87e1221fe38405795d8c15d70d3b2f43 100755 (executable)
@@ -270,7 +270,7 @@ __PACKAGE__->register_method ({
 
        my $cmd = ['ccs_tool', 'addnode', '-c', $clusterconf];
 
-       # NOTE: cman does not like votes="0"
+       # NOTE: corosync does not like votes="0"
        if ($param->{votes}) {
            push @$cmd, '-v', $param->{votes};
        }
@@ -522,7 +522,7 @@ __PACKAGE__->register_method ({
     code => sub {
        my ($param) = @_;
 
-       my $cmd = ['cman_tool', 'expected', '-e', $param->{expected}];
+       my $cmd = ['corosync-quorumtool', '-e', $param->{expected}];
 
        exec (@$cmd);
 
index b817409ae5401b8d9a1e70c35c87c75c6e708695..f63ee188a15fecc2a80703df469dc5165aae6591 100644 (file)
@@ -2,6 +2,8 @@ pve-cluster (4.0-1) unstable; urgency=medium
 
   * updated for Debian Jessie
 
+  * use corosync votequorum instead of cman
+
   * add systemd support
   
   * depend on glib >= 2.42