cluster: RHEL6 - config: Add tomcat-6 resource agent to schema

Lon Hohberger lon at fedoraproject.org
Fri Jul 16 21:13:22 UTC 2010


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=81613313c567bf9357cc8218876753dc32fd26f7
Commit:        81613313c567bf9357cc8218876753dc32fd26f7
Parent:        7ef7ad1b3c390981147121bdc55ef13090878688
Author:        Lon Hohberger <lhh at redhat.com>
AuthorDate:    Fri Jul 16 17:00:27 2010 -0400
Committer:     Lon Hohberger <lhh at redhat.com>
CommitterDate: Fri Jul 16 17:07:22 2010 -0400

config: Add tomcat-6 resource agent to schema

Resolves: rhbz#614127

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

diff --git a/config/tools/xml/cluster.rng.in b/config/tools/xml/cluster.rng.in
index 780669f..8176f6f 100644
--- a/config/tools/xml/cluster.rng.in
+++ b/config/tools/xml/cluster.rng.in
@@ -1536,6 +1536,45 @@ To validate your cluster.conf against this schema, run:
   </define>
 
 
+  <define name="TOMCAT-6">
+    <element name="tomcat-6" rha:description="Defines a Tomcat server">
+      <choice>
+      <group>
+        <!-- rgmanager specific stuff -->
+        <attribute name="ref" rha:description="Reference to existing tomcat-6 resource in the resources section."/>
+      </group>
+      <group>
+        <attribute name="name" rha:description="Name"/>
+        <optional>
+          <attribute name="config_file" rha:description="Config File"/>
+        </optional>
+        <optional>
+          <attribute name="shutdown_wait" rha:description="Wait X seconds for correct end of service shutdown"/>
+        </optional>
+        <optional>
+          <attribute name="service_name" rha:description="Inherit the service name."/>
+        </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="LVM">
     <element name="lvm" rha:description="LVM Failover script">
       <choice>
@@ -2024,6 +2063,7 @@ To validate your cluster.conf against this schema, run:
         <ref name="MYSQL"/>
         <ref name="POSTGRES-8"/>
         <ref name="TOMCAT-5"/>
+        <ref name="TOMCAT-6"/>
         <ref name="LVM"/>
         <ref name="VM"/>
         <ref name="SAPINSTANCE"/>


More information about the cluster-commits mailing list