Hello, I have installed rpm version of xen 3.4.3+ libvirt 0.7.0-6 on my server with Centos 5.4 (kernel 2.6.18-238.12.1.el5xen) When I run reboot a domU (para virtualized Linux) by command "virsh reboot [vm]", sometimes domU cannot be rebooted but sometimes can, pattern is random. Also sometimes when domU reboots by "virsh reboot [vm]" , my ssh connection to dom0 will be disconnected. I even cannot ping dom0. After a short while about few seconds to minutes, it will resume and able ssh to dom0 again. I tried to look at log, no special thing can be found. I suspect something related to the network-script provided by xen, anyone can help? Felix _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Diego Augusto Molina
2011-Aug-04 15:12 UTC
Re: [Xen-users] about dom0 disconnection when domU reboot
2011/8/4, Felix Chu <felixchu@powerallnetworks.com>:> Hello,Hello!> I have installed rpm version of xen 3.4.3+ libvirt 0.7.0-6 on my server with > Centos 5.4 (kernel 2.6.18-238.12.1.el5xen) > > > > When I run reboot a domU (para virtualized Linux) by command "virsh reboot > [vm]", sometimes domU cannot be rebooted but sometimes can, pattern is > random.What does the log say about? (e.g. xend.log, xend-debug.log, domain-builder-ng.log)> Also sometimes when domU reboots by "virsh reboot [vm]" , my ssh connection > to dom0 will be disconnected. I even cannot ping dom0. After a short while > about few seconds to minutes, it will resume and able ssh to dom0 again.Can you identify the network scripts? If so you may better debug them by putting this three sentences before anything gets executed: #!/bin/bash ## Some comment... exec 3> /var/log/temporal.log export BASH_XTRACEFD=3 set -x If the scripts are bash scripts, that will log every command executed to the specified log file, and we will be able to trace each networking command executed and better debug the problem.> I tried to look at log, no special thing can be found. I suspect something > related to the network-script provided by xen, anyone can help? > > > > Felix > >-- Diego Augusto Molina diegoaugustomolina@gmail.com ES: Por favor, evite adjuntar documentos de Microsoft Office. Serán desestimados. EN: Please, avoid attaching Microsoft Office documents. They shall be discarded. LINK: http://www.gnu.org/philosophy/no-word-attachments.html _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks. Finally fixed as I find this error in xend.log "restarting too fast (Elapsed time: 37.758292 seconds). Refusing to restart to avoid loops." -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Diego Augusto Molina Sent: Thursday, August 04, 2011 11:13 PM To: Felix Chu; xen-users@lists.xensource.com Subject: Re: [Xen-users] about dom0 disconnection when domU reboot 2011/8/4, Felix Chu <felixchu@powerallnetworks.com>:> Hello,Hello!> I have installed rpm version of xen 3.4.3+ libvirt 0.7.0-6 on my server with > Centos 5.4 (kernel 2.6.18-238.12.1.el5xen) > > > > When I run reboot a domU (para virtualized Linux) by command "virsh reboot > [vm]", sometimes domU cannot be rebooted but sometimes can, pattern is > random.What does the log say about? (e.g. xend.log, xend-debug.log, domain-builder-ng.log)> Also sometimes when domU reboots by "virsh reboot [vm]" , my ssh connection > to dom0 will be disconnected. I even cannot ping dom0. After a short while > about few seconds to minutes, it will resume and able ssh to dom0 again.Can you identify the network scripts? If so you may better debug them by putting this three sentences before anything gets executed: #!/bin/bash ## Some comment... exec 3> /var/log/temporal.log export BASH_XTRACEFD=3 set -x If the scripts are bash scripts, that will log every command executed to the specified log file, and we will be able to trace each networking command executed and better debug the problem.> I tried to look at log, no special thing can be found. I suspect something > related to the network-script provided by xen, anyone can help? > > > > Felix > >-- Diego Augusto Molina diegoaugustomolina@gmail.com ES: Por favor, evite adjuntar documentos de Microsoft Office. Serán desestimados. EN: Please, avoid attaching Microsoft Office documents. They shall be discarded. LINK: http://www.gnu.org/philosophy/no-word-attachments.html _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users ----- 未在此訊息中找到病毒。 已透過 AVG 檢查 - www.avg.com 版本: 10.0.1390 / 病毒庫: 1518/3810 - 發佈日期: 08/04/11 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users