cluster: STABLE3 - config: Add hints for more fencing agents to cluster.rng

Lon Hohberger lon at fedoraproject.org
Thu Sep 2 13:25:20 UTC 2010


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=f30bf21ec0a72f214aa51669644301d35f7f4676
Commit:        f30bf21ec0a72f214aa51669644301d35f7f4676
Parent:        48079d389591ad5a4ae6f1b8a981b50e2563dea6
Author:        Lon Hohberger <lhh at redhat.com>
AuthorDate:    Thu Sep 2 09:23:26 2010 -0400
Committer:     Lon Hohberger <lhh at redhat.com>
CommitterDate: Thu Sep 2 09:23:26 2010 -0400

config: Add hints for more fencing agents to cluster.rng

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

diff --git a/config/tools/xml/cluster.rng.in b/config/tools/xml/cluster.rng.in
index a9366d9..e5ee893 100644
--- a/config/tools/xml/cluster.rng.in
+++ b/config/tools/xml/cluster.rng.in
@@ -2224,7 +2224,7 @@ To validate your cluster.conf against this schema, run:
 
        <!-- begin non-generated device definitions -->
        <!-- RPS10 -->
-       <group rha:description="RPS10 Serial Switch" >
+       <group rha:fence_agent="fence_rps10" rha:description="RPS10 Serial Switch" >
         <attribute name="device" rha:description="The device the switch
             is connected to on the controlling host."
             rha:sample="/dev/ttys2"/>
@@ -2235,6 +2235,8 @@ To validate your cluster.conf against this schema, run:
        the auth and lanplus attributes. Those attributes apply only to
        the impilan fence device.-->
        <!-- Brocade, McData, SANBox2, Bladecenter,bullpap, ipmilan -->
+       <!-- FIXME split apart and add rha:fence_agent hints for
+	    configuration utilities -->
        <group>
         <attribute name="ipaddr" rha:description="IP address or the name
             of the device." rha:sample="rack007"/>
@@ -2264,7 +2266,7 @@ To validate your cluster.conf against this schema, run:
         </optional>
        </group>
        <!-- Vixel -->
-       <group>
+       <group rha:fence_agent="fence_vixel">
         <optional>
          <attribute name="ipaddr" rha:description="IP address or the
              name of the device." rha:sample="10.1.0.1"/>
@@ -2282,7 +2284,7 @@ To validate your cluster.conf against this schema, run:
         </optional>
        </group>
        <!-- scsi reservations -->
-       <group>
+       <group rha:fence_agent="fence_scsi">
         <optional>
          <attribute name="nodename" rha:description="Name of the node to
             be fenced. Refer to fence_scsi(8) for more
@@ -2310,7 +2312,7 @@ To validate your cluster.conf against this schema, run:
         </optional>
        </group>
        <!-- GNBD -->
-       <group>
+       <group rha:fence_agent="fence_gnbd">
         <attribute name="servers" rha:description="The hostname of each
             GNBD to disable. For multiple hostnames, separate each
             hostname with a space." rha:sample=""/>
@@ -2321,7 +2323,7 @@ To validate your cluster.conf against this schema, run:
        and pserver parameters. Also, in Conga, the esh parameter is
        an optional ESH path. Presumably those should be attributes in
        the schema. We need more invormation on this. -->
-       <group>
+       <group rha:fence_agent="fence_egenera">
         <optional>
          <attribute name="cserver" rha:description="The hostname (and
             optionally the username in the form of username at hostname)
@@ -2350,11 +2352,11 @@ To validate your cluster.conf against this schema, run:
        <!-- FIXME: It appears that xCat is no longer supported. Found no
        fence agents for x Cat in RHEL 5.3. -->
        <!-- xCAT -->
-       <group>
+       <group rha:fence_agent="fence_xcat">
         <attribute name="rpowerpath" rha:description="" rha:sample=""/>
        </group>
        <!-- fence_xvm ( provided by fence-virt package ) -->
-       <group>
+       <group rha:fence_agent="fence_xvm">
         <optional>
           <attribute name="option"/> <!-- deprecated; for compatibility.  use "action" -->
         </optional>
@@ -2399,8 +2401,7 @@ To validate your cluster.conf against this schema, run:
         </optional>
        </group>
 
-       <!-- fence_virt -->
-       <group>
+       <group rha:fence_agent="fence_virt">
         <optional>
           <attribute name="option"/> <!-- deprecated; for compatibility.  use "action" -->
         </optional>
@@ -2433,8 +2434,7 @@ To validate your cluster.conf against this schema, run:
         </optional>
        </group>
 
-       <!-- fence_na -->
-       <group>
+       <group rha:fence_agent="fence_na" rha:description="Node Assassin">
          <optional>
            <attribute name="option"/> <!-- deprecated; for compatibility.  use "action" -->
          </optional>


More information about the cluster-commits mailing list