[Linux-cluster] rgmanager vm.sh using virsh under RHEL5.4
lhh at redhat.com
Tue Nov 3 17:56:18 UTC 2009
On Tue, 2009-11-03 at 08:20 -0500, Lon Hohberger wrote:
> > yes, this is this one I hope to see backported under RHEL5.x.
> > Should I open a case under bugzilla to ask for the backport ?
Federico kicked be in to finishing this... Want to give it a shot?
Effectively, it makes 'path' work with virsh - making virsh mode upgrade
compatible with 'xm' mode. This means that we can really (actually)
deprecate 'xm' support.
Pay no attention to the fact that it uses a global var called 'xmlfile';
it doesn't do any config file parsing, so it still works with Xen and
libvirt (xml) style config files:
It just splits up a OCF_RESKEY_path on ':' and looks for a file in each
directory named NAME or NAME.xml. The requirement is obviously that
your config files need to be named after your VM. If this is a problem,
you must use the full 'xmlfile' option.
More information about the Linux-cluster