[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Network faillure after domU migration



Hi all,
I am using xen 3.1.0 on debian Lenny, installed by using debian packets.
You will see the out put of the "xm info" command at the end of this mail.

I configure xen to use route mode for network. domUs have private adress
(1.0.0.1). The communication between domU woks perfectly. I use iptables
command to make this communication possible.

I write a simple network bench in C language which content two program:
client and server. The client and server communicates infinitely and print
their received messages.

The bench work well when I run them. The problem occur after à migration
of a domU. A run the client and the server on different domUs. After à
moment, I initiate a live migration of one domU (for example those which
host the server ). After this migration, the program running on the
migrated domU crash and the bench stop working.

To be completely, befor initiate a migration, I configure the destination
physical machine with iptables commands to route packets for domU. I also
configure client machines dom0 to comunicate route packets to the new
machine (which will receive the domU).

My questions are:
---how does the live migration work in xen for route mode
---in the xen source code, which programm files contents live migration
implementation?

Thank you for your answer.

################################xm_info############################################
release                : 2.6.26-1-xen-686
version                : #1 SMP Sat Jan 10 22:52:47 UTC 2009
machine                : i686
nr_cpus                : 2
nr_nodes               : 1
sockets_per_node       : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 2660
hw_caps                :
bfebfbff:20100000:00000000:00000040:0008e39d:00000000:00000001
total_memory           : 3956
free_memory            : 128
xen_major              : 3
xen_minor              : 1
xen_extra              : .0
xen_caps               : xen-3.0-x86_32p
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xf5800000
xen_changeset          : unavailable
cc_compiler            : gcc version 4.1.3 20080704 (prerelease) (Debian
4.1.2-25)
cc_compile_by          : root
cc_compile_domain      :
cc_compile_date        : Mon Jan 26 16:08:31 CET 2009
xend_config_format     : 4

###################################################################################

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.