Re: rgmanager vm.sh using virsh under RHEL5.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ?
> 
> Yes.
> 

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:

http://git.fedorahosted.org/git/?p=resource-agents.git;a=commit;h=1e42add4f2ec63d4c796d544118dfcccbd8a042b

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.

-- Lon

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux