Hide Forgot
RFE: 1. Customer Name: Pages Jaunes 2. What is the nature and description of the request?: - Live migration with non-shared storage for kvm - or To get support for non-incremental live migration - or To include the option "--copy-storage-all" with virsh command. 3. Why does the customer need this? (List the business requirements here): Customer wants to migration Virtual machines from one host to other without the use of a shared storage. 4. How would the customer like to achieve this? : avail the option "--copy-storage-all" with "virsh migrate" 5. For each functional requirement listed in question 4, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.: Migrate VM from one kvm to other kvm host without using shared storage. 6. Is there already an existing RFE upstream or in Red Hat bugzilla? seems its there in upstream. http://libvirt.org/git/?p=libvirt.git;a=commitdiff_plain;h=b0a3f8b6c546aa710f45900797b38cc5fa0f49d9 7. How quickly does this need resolved? RHEL 6 minor version 8. Does this request meet the RHEL Inclusion criteria: yes 9. List the affected packages: libvirtd 10. Would the customer be able to assist in testing this functionality if implemented? yes
Since RHEL 6.1 External Beta has begun, and this bug remains unresolved, it has been rejected as it is not proposed as an exception or blocker. It has been moved to RHEL 6.2 since it is a FutureFeature request.
I haven't tested it yet, but according to http://libvirt.org/news.html , support for "qemu: live migration with non-shared storage for kvm" was added in libvirt 0.8.2, and it appears that the RHEL6.1 beta includes libvirt 0.8.7.
Can the customer test RHEL6.1 and report if this feature is available in current release?
Documentation patch sent upstream for review: https://www.redhat.com/archives/libvir-list/2011-September/msg00986.html
The documentation fix is now upstream as commit 2c1a3dd878f915318e8fd7c152d899c525f2f916 Author: Jiri Denemark <jdenemar> Date: Mon Sep 26 15:09:08 2011 +0200 virsh: Better document --copy-storage migrate options Both --copy-storage-{all,inc} options require disk images to be present on destination host. and sent for internal review: http://post-office.corp.redhat.com/archives/rhvirt-patches/2011-September/msg00897.html
Verify pass on kernel-2.6.32-202.el6.x86_64 libvirt-0.9.4-14.el6.x86_64 qemu-kvm-0.12.1.2-2.192.el6.x86_64 check the man virsh, we can see ... In both cases the disk images have to exist on destination host, the --copy-storage-...options only tell libvirt to transfer data from the images on source host to the images found at the same place on the destination host. ... Steps: 1. do #iptables -F on both hosts 2. start a guest on source host with no shared image # virsh start guest 3. create a empty image on target host with the same size, directory and name as in source host # qemu-img create /IMAGE_DIR/guest.img IMAGE_SIZE 4. do migration on source host # virsh migrate --live rhel6-1 qemu+ssh://10.66.85.202/system --copy-storage-all 5. after migration, the domain is running on target host.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1513.html