cluster: RHEL6 - config: Update cluster schema

Lon Hohberger lon at fedoraproject.org
Fri Jul 9 19:30:29 UTC 2010


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=2688aaefcb107f2174d334d34dbb7fffb76ac131
Commit:        2688aaefcb107f2174d334d34dbb7fffb76ac131
Parent:        4540f05d7bf48cef31726d9446549ffec07a7511
Author:        Lon Hohberger <lhh at redhat.com>
AuthorDate:    Fri Jul 9 14:36:44 2010 -0400
Committer:     Lon Hohberger <lhh at redhat.com>
CommitterDate: Fri Jul 9 15:29:55 2010 -0400

config: Update cluster schema

Resolves: rhbz#595547 rhbz#593015

Signed-off-by: Lon Hohberger <lhh at redhat.com>
---
 config/tools/xml/cluster.rng.in |   37 +++++++++++++++++++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/config/tools/xml/cluster.rng.in b/config/tools/xml/cluster.rng.in
index cc29617..dad3191 100644
--- a/config/tools/xml/cluster.rng.in
+++ b/config/tools/xml/cluster.rng.in
@@ -1872,6 +1872,42 @@ To validate your cluster.conf against this schema, run:
   </define>
 
 
+  <define name="NFSSERVER">
+    <element name="nfsserver" rha:description="This defines an NFS server resource.">
+      <choice>
+      <group>
+        <!-- rgmanager specific stuff -->
+        <attribute name="ref" rha:description="Reference to existing nfsserver resource in the resources section."/>
+      </group>
+      <group>
+        <attribute name="name" rha:description="Name"/>
+        <optional>
+          <attribute name="path" rha:description="This is the path you intend to export."/>
+        </optional>
+        <optional>
+          <attribute name="nfspath" rha:description="This is the path containing shared NFS recovery information, relative to the path parameter."/>
+        </optional>
+      </group>
+      </choice>
+      <optional>
+        <attribute name="__independent_subtree" rha:description="Treat this and all children as an independent subtree."/>
+      </optional>
+      <optional>
+        <attribute name="__enforce_timeouts" rha:description="Consider a timeout for operations as fatal."/>
+      </optional>
+      <optional>
+        <attribute name="__max_failures" rha:description="Maximum number of failures before returning a failure to a status check."/>
+      </optional>
+      <optional>
+        <attribute name="__failure_expire_time" rha:description="Amount of time before a failure is forgotten."/>
+      </optional>
+      <optional>
+        <ref name="CHILDREN"/>
+      </optional>
+    </element>
+  </define>
+
+
   <define name="FS">
     <element name="fs" rha:description="Defines a file system mount.">
       <choice>
@@ -1991,6 +2027,7 @@ To validate your cluster.conf against this schema, run:
         <ref name="SAPDATABASE"/>
         <ref name="NAMED"/>
         <ref name="ASEHAAGENT"/>
+        <ref name="NFSSERVER"/>
         <ref name="FS"/>
         <ref name="ORACLEDB"/>
       <ref name="RESOURCEACTION"/>


More information about the cluster-commits mailing list