[libvirt] libvirt-0.3.3-14.el5 (redhat rpm) vs libvirt-0.6.5 (source)

Hello everyone, I am looking to write a simple php interface to create, stop, start, restart, configure, backup, transfer VM's across a network of servers. Storage is done locally on the particular node (lvm), but I am considering to do this through iscsi in the future. Xen, KVM, IP management, firewalling is an important requirement. The redhat backport version looks outdated, but I know the version number isn't the best way to compare features. My questions are: - Featurewise, is the difference between the redhat version and the libvirt.org source version small or as big as it looks (branch versions?) - Considering the above functions I am going to need, will the redhat version suffice? Any help would be truely appreciated, Thank you, Jim

Jim Bergensen wrote:
Hello everyone,
I am looking to write a simple php interface to create, stop, start, restart, configure, backup, transfer VM's across a network of servers. Storage is done locally on the particular node (lvm), but I am considering to do this through iscsi in the future. Xen, KVM, IP management, firewalling is an important requirement.
The redhat backport version looks outdated, but I know the version number isn't the best way to compare features.
My questions are:
- Featurewise, is the difference between the redhat version and the libvirt.org <http://libvirt.org> source version small or as big as it looks (branch versions?)
Feature-wise, it's actually kind of small. Most of the changes in the Red Hat version are bug-fixes and the like.
- Considering the above functions I am going to need, will the redhat version suffice?
Almost certainly not. Since 0.3.3, many, many things have been added, and the KVM support in 0.3.3 is rudimentary at best. Your best bet for now is going to be using the upstream code. -- Chris Lalancette

Chris, Many thanks for your answers. Is it possible to go for the redhat xen kernel and compile libvirt from source? Or should I compile the xen kernel and xen itself from source aswell to get libvirt working? I'd rather go for the redhat stock kernels, to save time in the future, but stability and compatibility is important. Also, does the libvirt API changes alot? Thanks, Jim

On Tue, Aug 04, 2009 at 01:47:18PM +0200, Jim Bergensen wrote:
Chris,
Many thanks for your answers.
Is it possible to go for the redhat xen kernel and compile libvirt from source? Or should I compile the xen kernel and xen itself from source aswell to get libvirt working?
I would say: rebuild libvirt locally from the source rpms provided on libvirt.org FTP, using for example 0.6.3. Then start developping your code against those, until you get to update RHEL-5 to Update 4 in the next months, then use native kernel and libvirt build, then you will have KVM support.
I'd rather go for the redhat stock kernels, to save time in the future, but stability and compatibility is important.
Hence my proposal.
Also, does the libvirt API changes alot?
Only additions, ABI and API compatibility is preserved, but forward only, don't use 0.6.4 or 0.7.0 only features as they won't be in RHEL-5 update 4. Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/

On Mon, Aug 03, 2009 at 05:14:27PM +0200, Jim Bergensen wrote:
Hello everyone,
I am looking to write a simple php interface to create, stop, start, restart, configure, backup, transfer VM's across a network of servers. Storage is done locally on the particular node (lvm), but I am considering to do this through iscsi in the future. Xen, KVM, IP management, firewalling is an important requirement.
The redhat backport version looks outdated, but I know the version number isn't the best way to compare features.
My questions are:
- Featurewise, is the difference between the redhat version and the libvirt.org source version small or as big as it looks (branch versions?) - Considering the above functions I am going to need, will the redhat version suffice?
Version 0.3.3 is too old to be seriously used for KVM support. This is why in RHEL-5.4 you'll find libvirt updated to version 0.6.3, so you probably want to target that version as the minimum required if you want Xen & KVM support on a RHEL-5 host Regards, Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
participants (4)
-
Chris Lalancette
-
Daniel P. Berrange
-
Daniel Veillard
-
Jim Bergensen