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

Re: [Linux-cluster] zero vote node with cman



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 max-t com
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>

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