[Linux-cluster] Patch for cluster.rng to add support for Node Assassin
Digimer
linux at alteeve.com
Sun Aug 15 23:12:24 UTC 2010
This is the patch to add support for the home-brew cluster fence device
called "Node Assassin" (http://nodeassassin.org) in the cluster.rng
file. I am not sure what format is generally requested when submitting
patches, so please let me know if another format is better. This was
generated with 'diff -Bub cluster.rng.original cluster.rng'
Also, what would the steps / requirements be to add the supporting fence
agent. It currently can be downloaded here if anyone would like to check
it out for compatibility/suitability:
http://wiki.alteeve.com/index.php/Node_Assassin_v1.1.4#Download
The current installer modifies the cluster.rng file after making a
backup. If this patch is accepted, I will remove that function.
Thanks. :)
PS: Patch submitted as per:
https://bugzilla.redhat.com/show_bug.cgi?id=624289
--- cluster.rng.original 2010-08-15 18:44:17.029743618 -0400
+++ cluster.rng 2010-07-11 16:14:38.000000000 -0400
@@ -2830,6 +2830,36 @@
</optional>
</group>
+ <!-- fence_na -->
+ <group>
+ <optional>
+ <attribute name="option"/> <!-- deprecated; for
compatibility. use "action" -->
+ </optional>
+ <!-- I don't think I need this yet.
+ <optional>
+ <attribute name="auth" rha:description="Node Assassin Auth
type (password or none)" />
+ </optional>
+ -->
+ <optional>
+ <attribute name="ipaddr" rha:description="Node Assassin IP or
name to talk to" />
+ </optional>
+ <optional>
+ <attribute name="passwd" rha:description="Password needed to
access the Node Assassin(s)" />
+ </optional>
+ <optional>
+ <attribute name="passwd_script" rha:description="Script to
retrieve password (not implemented)" />
+ </optional>
+ <optional>
+ <attribute name="login" rha:description="Login name used to
log into the Node Assassin(s)" />
+ </optional>
+ <optional>
+ <attribute name="action" rha:description="Operation to
perform. Valid operations: on, off, reboot, status, list, release, boot
or shutdown" />
+ </optional>
+ <optional>
+ <attribute name="quiet" rha:description="Supress output" />
+ </optional>
+ </group>
+
<!-- fence_rsa -->
<group>
<optional>
--
Digimer
E-Mail: linux at alteeve.com
AN!Whitepapers: http://alteeve.com
Node Assassin: http://nodeassassin.org
More information about the Linux-cluster
mailing list