This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster: STABLE3 - cluster.rng: cluster_id and nodeid
- From: David Teigland <teigland at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Mon, 27 Jul 2009 21:23:14 +0000 (UTC)
- Subject: cluster: STABLE3 - cluster.rng: cluster_id and nodeid
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=5d55508f14db4363cd78759e6988a915fed1a417
Commit: 5d55508f14db4363cd78759e6988a915fed1a417
Parent: 4be2a85079cd05df9dd07b555f88ad0184d9f7a5
Author: David Teigland <teigland@redhat.com>
AuthorDate: Mon Jul 27 16:14:10 2009 -0500
Committer: David Teigland <teigland@redhat.com>
CommitterDate: Mon Jul 27 16:14:10 2009 -0500
cluster.rng: cluster_id and nodeid
add cluster_id, fix up nodeid
Signed-off-by: David Teigland <teigland@redhat.com>
---
config/tools/xml/cluster.rng | 21 +++++++--------------
1 files changed, 7 insertions(+), 14 deletions(-)
diff --git a/config/tools/xml/cluster.rng b/config/tools/xml/cluster.rng
index 1fb1b65..7954ab0 100644
--- a/config/tools/xml/cluster.rng
+++ b/config/tools/xml/cluster.rng
@@ -104,6 +104,11 @@ To validate your cluster.conf against this schema, run:
</attribute>
</optional>
<optional>
+ <attribute name="cluster_id">
+ <data type="nonNegativeInteger"/>
+ </attribute>
+ </optional>
+ <optional>
<attribute name="broadcast">
<data type="nonNegativeInteger"/>
</attribute>
@@ -149,19 +154,9 @@ To validate your cluster.conf against this schema, run:
<data type="positiveInteger"/>
</attribute>
</optional>
- <!--FIXME: Verify if the nodeid attribute is optional. I think
- it is required for RHEL 5. The sources.redhat.com site states
- that the attribute is required; however, that must mean that a
- cluster.conf file must have a nodeid for each node. The value
- is automatically assigned a value; however, you can change its
- value.-->
<optional>
- <attribute name="nodeid" rha:description="Each node is assigned
- a unique integer value as its node ID. You can change a
- node's nodeid; hoever, it must be a unique integer value
- in the cluster. A node's application to join a cluster may
- be rejected if you try to set the nodeid to one that is
- already used in a cluster." rha:sample="1">
+ <attribute name="nodeid" rha:description="Each node requires
+ a unique integer value as its node ID." rha:sample="1">
<data type="positiveInteger"/>
</attribute>
</optional>
@@ -1220,8 +1215,6 @@ block before determining success or failure.
fencing of nodes with no fence methods defined." rha:default="0"
rha:sample="1"/>
</optional>
- -->
-
</element>
</optional>