[Libvir] Probs migrating domain with libvirt 0.4.0

Daniel Schwager Daniel.Schwager at dtnet.de
Tue Jan 22 18:24:22 UTC 2008


Hi,

I try migrate a domain from xen02 to xen03-server (both fedora core-8 linux) 
- but it failed. Could you tell me, where a can look for more information 
About this failure ?


[root at xen02 ~]# rpm -qa | grep libvirt
libvirt-0.4.0-3.fc8
libvirt-0.4.0-3.fc8
libvirt-devel-0.4.0-3.fc8
libvirt-python-0.4.0-3.fc8


[root at xen03 log]# rpm -qa | grep libvirt
libvirt-0.4.0-3.fc8
libvirt-python-0.4.0-3.fc8


**********
**** Migration with native XEN
**********
[root at xen02 ~]# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0   512     8     r-----   1610.6
vm-home.winxp100-home.winxp100.1200950924765.2.1200950924765.4     1   250     1     -b----    735.4
vm-home.winxp100-home.winxp100.1200951541281.2.1200951541281.4     2   250     1     -b----   1564.2
vm-home.winxp100-home.winxp100.1200951640937.2.1200951640937.4     3   250     1     -b----   1540.6
[root at xen02 ~]# xm migrate -l 2 xen03.domain.com
[root at xen02 ~]# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0   512     8     r-----   1618.5
vm-home.winxp100-home.winxp100.1200950924765.2.1200950924765.4     1   250     1     -b----    735.6
vm-home.winxp100-home.winxp100.1200951640937.2.1200951640937.4     3   250     1     -b----   1541.1

**********
**** Check remote access (show migrated domain)
**********
[root at xen02 ~]# virsh -c xen://xen03.domain.com/ list
 Id Name                 State
----------------------------------
  0 Domain-0             running
  1 vm-home.winxp100-home.winxp100.1200951541281.2.1200951541281.4 no state

**********
**** Migration with libvirtd
**********

[root at xen02 ~]# virsh
Welcome to virsh, the virtualization interactive terminal.
virsh # list
 Id Name                 State
----------------------------------
  0 Domain-0             running
  1 vm-home.winxp100-home.winxp100.1200950924765.2.1200950924765.4 blocked
  3 vm-home.winxp100-home.winxp100.1200951640937.2.1200951640937.4 blocked

virsh # migrate 3 xen://xen03.domain.com
libvir: Remote error : remoteDispatchClientRequest: internal error: library function returned error but did not set virterror

regards

Danny

-------------------------------------------------------------------
DT Netsolution GmbH   -   Taläckerstr. 30    -    D-70437 Stuttgart
Geschäftsführer: Daniel Schwager, Stefan Hörz - HRB Stuttgart 19870
Tel: +49-711-849910-32, Fax: -932 - Mailto:daniel.schwager at dtnet.de





More information about the libvir-list mailing list