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. Of course this plugin isn't a good solution for production but can be used is a testing environment. Serge.
xen0
Description: Binary data
_______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
