On 12/21/06, Serge Dubrouski <[EMAIL PROTECTED]> wrote:
Attached is xen0 external stonith plugin (slightly changes ssh plugin)
that can use Xen Dom0 as a stonith device.
Requirements:
1. hostlist parameter configured in cib.xml in a format
node_name:dom0_hostname:configfile_for_dumU
2. node_name must be the same as DomU name in Xen.
3. xm command has to be available through PATH variable on Dom0
4. ssh access without password from cluster nodes to Xen Dom0.
When this plugin receives "reset" command it tries to kill DomU with
"xm destroy" and then restart it with "xm create". On and Off commands
aren't supported. But can be easily added if required.
i think that would be a good idea
Of course this plugin isn't a good solution for production but can be
used is a testing environment.
a nice addition would be for the RA to detect the list of DomU's at
startup (and redetect during status or some other recurring action).
that would make stonith configuration for clusters of virtual nodes a
no-brainer.
some extra logic allowing the RA to run on the Dom0 might also be a
nice extension
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/