Rustedt, Florian
2009-Feb-26 15:36 UTC
[Xen-users] After migration: network-device of dom0 lost?!
Hello list, I am migrating a domU from dom0: XEN0 to Ddom0: XEN1. Both are connected via eth1, both are connected to the net via (p)eth0. While doing this, my ssh-connection to the domU keeps running well. After about a minute, i get a "remote host closed the connection". If i try to log into host domU or XEN1 then via ssh, i get a "connection timed out". If i then check the logs locally on XEN1, there's nothing special in them. On XEN1 i have no network any more except the eth1 connection to XEN0. I even can't ping the gateway in the same subnet!! Checking ifconfig, route and resolv.conf doesn't help either, they are all the same as before the error, pretending all is ok. Dmesg is clean. The logs are clean, as told before. If i try to restart networking, i get an error telling me, that network device eth0 does not exist?!? After that, dmesg hasn't got any additionally entries... What could that be? What could have destroyed my (p)eth0 shortly after migrating? Cheers, Florian ********************************************************************************************** IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof. *** eSafe scanned this email for viruses, vandals, and malicious content. *** ********************************************************************************************** _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rustedt, Florian
2009-Feb-27 10:08 UTC
AW: [Xen-users] After migration: network-device of dom0 lost?!
xen1 ~ # ls /sys/class/net/ eth0 eth1 lo peth0 veth0 veth1 veth2 veth3 vif0.0 vif0.1 vif0.2 vif0.3 After migration: xen1 ~ # ls /sys/class/net/ eth0 eth1 lo peth0 veth0 veth1 veth2 veth3 vif0.0 vif0.1 vif0.2 vif0.3 vif1.0 ________________________________ Von: horacio ibrahim [mailto:horacioibrahim@gmail.com] Gesendet: Donnerstag, 26. Februar 2009 18:27 An: Rustedt, Florian Betreff: Re: [Xen-users] After migration: network-device of dom0 lost?! The iface eth0 exists in /sys/class/net/eth0 (in Xen1)? Also exists: vteh0 and peth0 (in XEN1)? On Thu, Feb 26, 2009 at 12:36 PM, Rustedt, Florian <Florian.Rustedt@smartnet.de> wrote: Hello list, I am migrating a domU from dom0: XEN0 to Ddom0: XEN1. Both are connected via eth1, both are connected to the net via (p)eth0. While doing this, my ssh-connection to the domU keeps running well. After about a minute, i get a "remote host closed the connection". If i try to log into host domU or XEN1 then via ssh, i get a "connection timed out". If i then check the logs locally on XEN1, there's nothing special in them. On XEN1 i have no network any more except the eth1 connection to XEN0. I even can't ping the gateway in the same subnet!! Checking ifconfig, route and resolv.conf doesn't help either, they are all the same as before the error, pretending all is ok. Dmesg is clean. The logs are clean, as told before. If i try to restart networking, i get an error telling me, that network device eth0 does not exist?!? After that, dmesg hasn't got any additionally entries... What could that be? What could have destroyed my (p)eth0 shortly after migrating? Cheers, Florian ********************************************************************************************** IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof. *** eSafe scanned this email for viruses, vandals, and malicious content. *** ********************************************************************************************** _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -- ITIL: “An industry accepted way of doing something, that works” (Aidan Lawes) ********************************************************************************************** IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof. *** eSafe scanned this email for viruses, vandals, and malicious content. *** ********************************************************************************************** _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rustedt, Florian
2009-Feb-27 14:20 UTC
AW: [Xen-users] After migration: network-device of dom0 lost?!
Yes. As mentioned, after the breakdown ifconfig lists eth0 like before. After doing an ifconfig eth0 down followedby an up, i get now "connect: Network is unrechable" what was before "Network timeout" ________________________________ Von: horacio ibrahim [mailto:horacioibrahim@gmail.com] Gesendet: Freitag, 27. Februar 2009 12:27 An: Rustedt, Florian Betreff: Re: [Xen-users] After migration: network-device of dom0 lost?! When you try restart network (e.g. service network restart) received a message "eth0 does not exists". But can you to execute #ifconfig eth0 up or #ifconfig eth0 down without error? What the version of XEN? On Fri, Feb 27, 2009 at 7:08 AM, Rustedt, Florian <Florian.Rustedt@smartnet.de> wrote: xen1 ~ # ls /sys/class/net/ eth0 eth1 lo peth0 veth0 veth1 veth2 veth3 vif0.0 vif0.1 vif0.2 vif0.3 After migration: xen1 ~ # ls /sys/class/net/ eth0 eth1 lo peth0 veth0 veth1 veth2 veth3 vif0.0 vif0.1 vif0.2 vif0.3 vif1.0 ________________________________ Von: horacio ibrahim [mailto:horacioibrahim@gmail.com] Gesendet: Donnerstag, 26. Februar 2009 18:27 An: Rustedt, Florian Betreff: Re: [Xen-users] After migration: network-device of dom0 lost?! The iface eth0 exists in /sys/class/net/eth0 (in Xen1)? Also exists: vteh0 and peth0 (in XEN1)? On Thu, Feb 26, 2009 at 12:36 PM, Rustedt, Florian <Florian.Rustedt@smartnet.de> wrote: Hello list, I am migrating a domU from dom0: XEN0 to Ddom0: XEN1. Both are connected via eth1, both are connected to the net via (p)eth0. While doing this, my ssh-connection to the domU keeps running well. After about a minute, i get a "remote host closed the connection". If i try to log into host domU or XEN1 then via ssh, i get a "connection timed out". If i then check the logs locally on XEN1, there's nothing special in them. On XEN1 i have no network any more except the eth1 connection to XEN0. I even can't ping the gateway in the same subnet!! Checking ifconfig, route and resolv.conf doesn't help either, they are all the same as before the error, pretending all is ok. Dmesg is clean. The logs are clean, as told before. If i try to restart networking, i get an error telling me, that network device eth0 does not exist?!? After that, dmesg hasn't got any additionally entries... What could that be? What could have destroyed my (p)eth0 shortly after migrating? Cheers, Florian ********************************************************************************************** IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof. *** eSafe scanned this email for viruses, vandals, and malicious content. *** ********************************************************************************************** _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -- ITIL: “An industry accepted way of doing something, that works” (Aidan Lawes) ________________________________ IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof. *** eSafe scanned this email for viruses, vandals, and malicious content. *** ________________________________ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -- ITIL: “An industry accepted way of doing something, that works” (Aidan Lawes) ********************************************************************************************** IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof. *** eSafe scanned this email for viruses, vandals, and malicious content. *** ********************************************************************************************** _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rustedt, Florian
2009-Mar-02 08:39 UTC
AW: [Xen-users] After migration: network-device of dom0 lost?!
Hello Horacio, Yes, they are identical, i am syncing the systems via rsync after every change. As mentioned, only logs, hostname and ip are different. Could it be, that there are some files under /var/lib/xen* that are not newly generated after restart of the daemon, and that are making problems because they are synct from "left to right"? Additionally i found out, that my system couldn't restart the network any more, i asume because of the misterious peth0-bridge. I will reread the chapter about networking in my xen-book again, seems in between thqat this must be something about network-migration... I will send a message again, when i have checked that out. Florian ________________________________ Von: horacio ibrahim [mailto:horacioibrahim@gmail.com] Gesendet: Samstag, 28. Februar 2009 01:02 An: Rustedt, Florian Betreff: Re: [Xen-users] After migration: network-device of dom0 lost?! Dear Rustedt, "Network is unrechable " means, apparently, that lost the route. Are you using bond? Verify if the files network-bridge in /etc/xen/scripts are identical in either xen hosts (dom0). Maybe, you is losing settings in the moment creation the VM migrated. The script network-bridge call others (e.g xen-network-common.sh) in which disables the tables arp and flush settings of network and of bridge. Are you using bond? ... are identical in either xen hosts (dom0)? See you soon. Att, Horacio Ibrahim. ********************************************************************************************** IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof. *** eSafe scanned this email for viruses, vandals, and malicious content. *** ********************************************************************************************** _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users