Quorum problem

  • Thread starter Thread starter henrik_e
  • Start date Start date
H

henrik_e

Guest
Hi guys,

I have two nodes in a cluster, the problem i have is that i didnt think of the need to make the quorum uneven, eg. set the votes to a uneven number. Ive tried to edit the /etc/pve/cluster.conf but i get a error message saying i dont have permission to change the file, im guessing this is a effect from me not setting uneven votes. So to my question then is there a way to work around this? A reinstallation of the clustermaster machine is not an option since ive put to much time in the VMs and it needs to be up and running on Monday.

this is the /etc/pve/cluster.conf:

<?xml version="1.0"?>
<cluster name="ccit" config_version="4">


<cman keyfile="/var/lib/pve-cluster/corosync.authkey">
</cman>


<clusternodes>
<clusternode name="ccit" votes="1" nodeid="1"/>
<clusternode name="backupccit" votes="1" nodeid="2"/></clusternodes>


</cluster>

[ Error writing /etc/pve/cluster.conf: Permission denied ]


thanks in advance
 
to gain quorum (in the case of errors) you can set the expected votes to 1.

> pvecm e 1
 
thanks for the quick answer, that worked as it should, but i still cant change the cluster.conf file nor use the command pvecm delnode, i still get the error cluster not ready - no quorum?

//henrik
 
> service cman restart

does that help?