[Linux-HA] Resource agent for Xen virtual machines

Robert Wipfel rawipfel at novell.com
Mon Mar 13 12:29:44 MST 2006


Hi,

Attached is an OCF resource agent for Xen, 

#	Resource Agent for the Xen Hypervisor.
#	Manages Xen virtual machine instances by
#	mapping cluster resource start and stop,  
#	to Xen create and shutdown, respectively.
#
#	usage: $0  {start|stop|status|monitor|meta-data}
#
#	  OCF parameters are as below:
#		OCF_RESKEY_xmfile
#		Absolute path to the Xen control file,
#		for this virtual machine.

The Xen hypervisor can keep a VM running (available) via restart on the
same machine, the Xen RA is intended to support failover of virtual
machines from one physical node to another, participating in a Linux-ha
cluster.

The RA is designed (for now) to work with any Xen control file, hand
made, or produced e.g. by the openSUSE Xen YaST module.

Caveat: if you live-migrate (using Xen methods) the VM to some other
node in the cluster, the RA will fail its monitor operation and
complain. I understand from Lars that clone resources were intended to
support this kind of thing, though I'm not sure how to make it work
(yet)....

Thanks,
Robert

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xen
Type: application/octet-stream
Size: 3008 bytes
Desc: not available
Url : http://lists.community.tummy.com/pipermail/linux-ha/attachments/20060313/2896d0e4/Xen.obj


More information about the Linux-HA mailing list