[Libvir] Updating an existing libvirt installation

Hi, I am wondering if its possible to upgrade an existing libvirt installation to a newer version. Actually one of my clients is still have libvirt-0.1.8while my software works ver 0.1.9 upwards. Many thanks for your help, Cheers Omer -- ---------------------------------------------------------- CERN – European Organization for Nuclear Research, IT Department, CH-1211 Geneva 23, Switzerland Phone: +41 (0) 22 767 2224 Fax: +41 (0) 22 766 8683 E-mail : Omer.Khalid@cern.ch Homepage: http://cern.ch/Omer.Khalid

On Tue, Jul 10, 2007 at 04:10:35PM +0200, Omer Khalid wrote:
Hi,
I am wondering if its possible to upgrade an existing libvirt installation to a newer version. Actually one of my clients is still have libvirt-0.1.8while my software works ver 0.1.9 upwards.
We aim to maintain ABI compatability in the library for all ongoing releases, so it should be possible to upgrade from 0.1.8 -> 0.1.9 (or even later) without any significant problems. Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|

Omer Khalid wrote:
Hi,
I am wondering if its possible to upgrade an existing libvirt installation to a newer version. Actually one of my clients is still have libvirt-0.1.8 while my software works ver 0.1.9 upwards.
As Dan said, ABI compatibility should be maintained, pretty much forever. I guess if we ever did break it, there would be a major jump in version number (like 1.x -> 2.x or similar). Another issue is that upgrades between versions require different daemons running. In < 0.2.0 there was no daemon at all. In < 0.3.0 the daemon was called libvirt_qemud (unless you were also playing with the experimental remote patches, in which case you may have needed two daemons running). In >= 0.3.0 the daemon is called libvirtd and combines the functions of qemu management, network management and remote access all in one handy package. So when upgrading between versions, bear this in mind. Restarting the libvirt service should be sufficient, but if that doesn't work there is a small possibility you might need to reboot. Also we are maintaining a list of what features work with what hypervisor in what version. You can find that here: http://libvirt.org/hvsupport.html Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 03798903

Thanks a lot for your prompt reply and the explaination. The upgrade I would like to make is from 0.1.8 to 0.1.9. Could you please guide me to a HowTo link? Many thanks, Omer On 7/10/07, Richard W.M. Jones <rjones@redhat.com> wrote:
Omer Khalid wrote:
Hi,
I am wondering if its possible to upgrade an existing libvirt installation to a newer version. Actually one of my clients is still have libvirt-0.1.8 while my software works ver 0.1.9 upwards.
As Dan said, ABI compatibility should be maintained, pretty much forever. I guess if we ever did break it, there would be a major jump in version number (like 1.x -> 2.x or similar).
Another issue is that upgrades between versions require different daemons running. In < 0.2.0 there was no daemon at all. In < 0.3.0 the daemon was called libvirt_qemud (unless you were also playing with the experimental remote patches, in which case you may have needed two daemons running). In >= 0.3.0 the daemon is called libvirtd and combines the functions of qemu management, network management and remote access all in one handy package. So when upgrading between versions, bear this in mind. Restarting the libvirt service should be sufficient, but if that doesn't work there is a small possibility you might need to reboot.
Also we are maintaining a list of what features work with what hypervisor in what version. You can find that here: http://libvirt.org/hvsupport.html
Rich.
-- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 03798903
-- ---------------------------------------------------------- CERN – European Organization for Nuclear Research, IT Department, CH-1211 Geneva 23, Switzerland Phone: +41 (0) 22 767 2224 Fax: +41 (0) 22 766 8683 E-mail : Omer.Khalid@cern.ch Homepage: http://cern.ch/Omer.Khalid

On Tue, Jul 10, 2007 at 05:41:16PM +0200, Omer Khalid wrote:
Thanks a lot for your prompt reply and the explaination.
The upgrade I would like to make is from 0.1.8 to 0.1.9. Could you please guide me to a HowTo link?
This may depend on your system, the sources are at ftp://libvirt.org/libvirt/ and the FAQ should list how to build from source: http://libvirt.org/FAQ.html#Installati Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
participants (4)
-
Daniel P. Berrange
-
Daniel Veillard
-
Omer Khalid
-
Richard W.M. Jones