tag:blogger.com,1999:blog-1479824033506250875.post6263668382190559630..comments2022-04-04T02:04:07.405-07:00Comments on What I Know About Linux That You May Not Know: How to migrate guests using virsh commands?Sadique Puthenhttp://www.blogger.com/profile/15174000939443129488noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-1479824033506250875.post-18997743874718943632009-05-18T05:07:00.000-07:002009-05-18T05:07:00.000-07:00AFAIK, there is no need to have configuration file...AFAIK, there is no need to have configuration files for the migrating guest on both source and destination machines for live migration to work.Sadique Puthenhttps://www.blogger.com/profile/15174000939443129488noreply@blogger.comtag:blogger.com,1999:blog-1479824033506250875.post-35525502585704263162009-05-14T03:19:00.000-07:002009-05-14T03:19:00.000-07:00Apologies - I've just discovered that there was a ...Apologies - I've just discovered that there was a difference in the config files for the guest on the 2 hosts - fixing this allows the migration to work successfully.Matthttps://www.blogger.com/profile/07696466249926635792noreply@blogger.comtag:blogger.com,1999:blog-1479824033506250875.post-60124338280411148852009-05-14T02:45:00.000-07:002009-05-14T02:45:00.000-07:00Matt,
U r using Xen or KVM? What version and what...Matt,<br /><br />U r using Xen or KVM? What version and what libvirt version?<br /><br />If you log in to HostA and run "virsh migrate --live xen+ssh://HostB", does it work?<br /><br />If you login to HostA and do, "xm migrate -l guest HostB", does it work?Sadique Puthenhttps://www.blogger.com/profile/15174000939443129488noreply@blogger.comtag:blogger.com,1999:blog-1479824033506250875.post-81311294347055087152009-05-14T02:31:00.000-07:002009-05-14T02:31:00.000-07:00I'm trying this at the moment without success. 'v...I'm trying this at the moment without success. 'virsh help migrate' says the syntax is:<br /><br />migrate [--live] domain desturi<br /><br />Having verified that:<br /><br />virsh -c xen+ssh://HostA list<br /><br />is running a Domain called 'Guest', I'm then trying:<br /><br />virsh -c xen+ssh://HostA migrate --live Guest xen+ssh://HostB<br /><br />Results in:<br /><br />libvir: Xen error : Domain not found: xenUnifiedDomainLookupByName<br /><br />I've tried replacing the Domain name with its id/uuid, but with no success. <br /><br />Any ideas?Matthttps://www.blogger.com/profile/07696466249926635792noreply@blogger.comtag:blogger.com,1999:blog-1479824033506250875.post-1120159537603713962009-03-02T08:45:00.000-08:002009-03-02T08:45:00.000-08:00I tested this using two RHEL5.2 + xen. Used libvir...I tested this using two RHEL5.2 + xen. Used libvirt-0.3.3-7.el5. Have not yet tested with KVM.Sadique Puthenhttps://www.blogger.com/profile/15174000939443129488noreply@blogger.comtag:blogger.com,1999:blog-1479824033506250875.post-13364036181905914342009-03-02T08:08:00.000-08:002009-03-02T08:08:00.000-08:00Hi could you please post what linux distro / versi...Hi could you please post what linux distro / version / libvirt version you used for the live migration? I'm trying this with ubuntu 8.10, stock libvirt and kvm with no success, thanks!osdocshttps://www.blogger.com/profile/09641074420207466389noreply@blogger.com