wiki:Xen_Live_Migration

Version 15 (modified by rock, 16 years ago) (diff)

--

Live Migration

Author: Rock Kuo

0.Testbed Architecture

  • config DRBL client
    * rm /tftpboot/boot
    $ mkdir /tftpboot/boot
    $ cp /boot/*xen* /tftpboot/node_root/boot
    
  • Xen in DRBL

xen in drbl

1.Config Xen

$ sudo vim /etc/xen/xend-config.sxp
(xend-relocation-server yes)
(xend-relocation-address '')
(xend-relocation-hosts-allow '')


2.Command

= xen01 =
$ xm migrate --live vm01 xen03
$ xm list
= xen03=
$ xm list
  • When we migrate vm01, we still ping vm06. You can see icmp_seq 37~52, the ethX of vm01 will don't networking until vm01 migrate success.

ping vm01

3.Theory of Live Migration

migration timline

4.Reference

  • Christopher C., Keir F., Steven H., Jacob G. H., Live migration of virtual machines, 2005


5.Problem

  • xen01
    • VmError: Device 2049 (vbd) could not be connected. Backend device not found.
      check loop module
      
  • vm01 in xen01
    • netfront: device eth0 has flipping receive path
  • vm01 in xen01 can't networking
    • Xen maybe use xen01 eth0 configuration, but drbl client interface is work in initrd step. (/etc/network/interface in xen01 has nothing )
    • It maybe xen don't bridge to eth0 of xen01.
  • If you use two NIC in DRBl client
    • you must edit route table, then startup xen (it will bridge to second ethX)

Attachments (3)

Download all attachments as: .zip