Re: zero vote node with cman

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2005-19-08 at 11:51 -0400, Olivier Crete wrote:
> On Fri, 2005-19-08 at 08:19 +0100, Patrick Caulfield wrote:
> > Olivier Crete wrote:
> > > I tried setting the votes to 0, but it seems that it wont let me do it..
> > > Is there another solution?
> > 
> > It seems to be a bug in cman_tool that's overriding the votes rather
> > over-enthusiastically.
> > 
> > This patch should fix:
> 
> Actually it doesnt.. it sets the default to 0... the attached patch
> seems to work better. 

The cluster.ng relaxng schema included in the system-config-cluster
package refuses zero votes, I've attached a patch that fixes that.


-- 
Olivier Crête
ocrete@xxxxxxxxx
Maximum Throughput Inc.
--- cluster.ng.orig	2005-09-16 12:05:11.000000000 -0400
+++ cluster.ng	2005-09-16 12:05:32.000000000 -0400
@@ -39,7 +39,7 @@
       </attribute>
       <optional>
        <attribute name="votes">
-        <data type="positiveInteger"/>
+        <data type="nonNegativeInteger"/>
        </attribute>
       </optional>
       <optional>
--

Linux-cluster@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux