Hi all, I''ve just installed xen on a server with debian lenny. What I would like seems to be simple. domU is bridged to eth1. Everything is ok for dom0 and domU when I start domU (xm create domU). When I destroy domU (xm destroy domU), dom0 network goes down and the only thing i can do is to reboot the machine (/etc/init.d/networking restart does not solve the problem). This problem occurs since the beginning and every time I shut down the domU. When I shutdown domU, domU is stalled on s state and never really shutdowns. Is anybody have an idea ? The same conf is working very well on another server) ? Virginie Kernel: Dell R905 Linux superxen 2.6.26-2-xen-amd64 #1 SMP Wed Mar 10 00:29:48 UTC 2010 x86_64 GNU/Linux Ethernet controller (4): Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi all, I''ve just installed xen on a server with debian lenny. What I would like seems to be simple. domU is bridged to eth1. Everything is ok for dom0 and domU when I start domU (xm create domU). When I destroy domU (xm destroy domU), dom0 network goes down and the only thing i can do is to reboot the machine (/etc/init.d/networking restart does not solve the problem). This problem occurs since the beginning and every time I shut down the domU. When I shutdown domU, domU is stalled on s state and never really shutdowns. Is anybody have an idea ? The same conf is working very well on another server) ? Virginie Kernel: Dell R905 Linux superxen 2.6.26-2-xen-amd64 #1 SMP Wed Mar 10 00:29:48 UTC 2010 x86_64 GNU/Linux Ethernet controller (4): Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Can you post the entries from your /etc/xen/xend-config.sxp On Fri, Apr 16, 2010 at 9:11 PM, Virginie <ninoochka@free.fr> wrote:> Hi all, > > I''ve just installed xen on a server with debian lenny. What I would like > seems to be simple. > domU is bridged to eth1. Everything is ok for dom0 and domU when I > start domU (xm create domU). When I destroy domU (xm destroy domU), dom0 > network goes down and the only thing i can do is to reboot the machine > (/etc/init.d/networking restart does not solve the problem). This > problem occurs since the beginning and every time I shut down the domU. > When I shutdown domU, domU is stalled on s state and never really > shutdowns. > > Is anybody have an idea ? The same conf is working very well on another > server) ? > > Virginie > > Kernel: > Dell R905 > Linux superxen 2.6.26-2-xen-amd64 #1 SMP Wed Mar 10 00:29:48 UTC 2010 > x86_64 GNU/Linux > Ethernet controller (4): Broadcom Corporation NetXtreme II BCM5708 > Gigabit Ethernet (rev 12) > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Tapas http://wiki.xensource.com/xenwiki/How_to_run_4_Application_servers_on_same_piece_of_hardware_with_a_separate_OS_for_each_of_them. +91 8971248477 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I see a problem in this file.See if you are using a bridge then type command brctl show and see what is the output. (network-script ''network-bridge bridge=<name>'') it should be uncommented where <name> should be replaced by your default ethernet name. Then I see (network-script network-wrapper) uncommented have you written the script yourself known as network-wrapper if not then do comment it. (vif-script vif-bridge) is uncommented this is ok if you are having a bridge connection.In this case #(network-script network-bridge) should be also uncommented. These are what I understand from your config.sxp. On Mon, Apr 19, 2010 at 12:58 AM, <ninoochka@free.fr> wrote:> Here it is. > > Selon Tapas Mishra <mightydreams@gmail.com>: > >> Can you post the entries from your /etc/xen/xend-config.sxp >> >> On Fri, Apr 16, 2010 at 9:11 PM, Virginie <ninoochka@free.fr> wrote: >> > Hi all, >> > >> > I''ve just installed xen on a server with debian lenny. What I would like >> > seems to be simple. >> > domU is bridged to eth1. Everything is ok for dom0 and domU when I >> > start domU (xm create domU). When I destroy domU (xm destroy domU), dom0 >> > network goes down and the only thing i can do is to reboot the machine >> > (/etc/init.d/networking restart does not solve the problem). This >> > problem occurs since the beginning and every time I shut down the domU. >> > When I shutdown domU, domU is stalled on s state and never really >> > shutdowns. >> > >> > Is anybody have an idea ? The same conf is working very well on another >> > server) ? >> > >> > Virginie >> > >> > Kernel: >> > Dell R905 >> > Linux superxen 2.6.26-2-xen-amd64 #1 SMP Wed Mar 10 00:29:48 UTC 2010 >> > x86_64 GNU/Linux >> > Ethernet controller (4): Broadcom Corporation NetXtreme II BCM5708 >> > Gigabit Ethernet (rev 12) >> > >> > >> > _______________________________________________ >> > Xen-users mailing list >> > Xen-users@lists.xensource.com >> > http://lists.xensource.com/xen-users >> > >> >> >> >> -- >> Tapas >> > http://wiki.xensource.com/xenwiki/How_to_run_4_Application_servers_on_same_piece_of_hardware_with_a_separate_OS_for_each_of_them. >> +91 8971248477 >> > > >-- Tapas http://wiki.xensource.com/xenwiki/How_to_run_4_Application_servers_on_same_piece_of_hardware_with_a_separate_OS_for_each_of_them. +91 8971248477 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi there ! Everything is in the title, I don''t know why, but when i hit a XM command, xen try to do it on another host... Example : I''ve two hosts, Xen1 and Xen2, if i do a "xm list" on Xen1, it shows Xen1 vms... but, if i do the same on Xen2, it shows Xen1 VM too... The problem is that i can''t do anything with Xen2, (like migrate VM), because it only see Xen1 VM''s ... I have also tried to shutdown Xend on Xen1, and retry : Xen2 complain about xend not running... Config : Gitco Xen 3.4.2, CentOS X86_64, got clues ? Thanks Tommy _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
ninoochka@free.fr
2010-Apr-19 13:21 UTC
Re: [Xen-users] dom0 network down after domU destroy
OK. i''ve made modifications in the config file to be sure. Here is what i have now: #(network-script network-bridge) (network-script ''network-bridge netdev=eth1'') # (network-script ''network-bridge bridge=<name>'') # #(network-script network-dummy) #(network-script network-wrapper) # # #(vif-script vif-bridge) #(network-script network-route) #(vif-script vif-route) #(network-script network-nat) #(vif-script vif-nat) Normally, it must be ok like that? Here is the result of brtcl show before I start domU: superxen:~# brctl show bridge name bridge id STP enabled interfaces eth1 8000.0026b9854d47 no peth1 Then, xm create domU... superxen:~# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 48285 1 r----- 122.1 casa 1 16384 1 -b---- 1.8 superxen:~# brctl show bridge name bridge id STP enabled interfaces eth1 8000.0026b9854d47 no peth1 vif1.0 And after xm destroy, same problem! Selon Tapas Mishra <mightydreams@gmail.com>:> I see a problem in this file.See if you are using a bridge then > type command brctl show > and see what is the output. > (network-script ''network-bridge bridge=<name>'') > it should be uncommented > where <name> should be replaced by your default ethernet name. > Then I see (network-script network-wrapper) uncommented have you > written the script yourself known as network-wrapper if not then do > comment it. > (vif-script vif-bridge) is uncommented this is ok if you are having a > bridge connection.In this case > #(network-script network-bridge) should be also uncommented. > These are what I understand from your config.sxp. > > On Mon, Apr 19, 2010 at 12:58 AM, <ninoochka@free.fr> wrote: > > Here it is. > > > > Selon Tapas Mishra <mightydreams@gmail.com>: > > > >> Can you post the entries from your /etc/xen/xend-config.sxp > >> > >> On Fri, Apr 16, 2010 at 9:11 PM, Virginie <ninoochka@free.fr> wrote: > >> > Hi all, > >> > > >> > I''ve just installed xen on a server with debian lenny. What I would like > >> > seems to be simple. > >> > domU is bridged to eth1. Everything is ok for dom0 and domU when I > >> > start domU (xm create domU). When I destroy domU (xm destroy domU), dom0 > >> > network goes down and the only thing i can do is to reboot the machine > >> > (/etc/init.d/networking restart does not solve the problem). This > >> > problem occurs since the beginning and every time I shut down the domU. > >> > When I shutdown domU, domU is stalled on s state and never really > >> > shutdowns. > >> > > >> > Is anybody have an idea ? The same conf is working very well on another > >> > server) ? > >> > > >> > Virginie > >> > > >> > Kernel: > >> > Dell R905 > >> > Linux superxen 2.6.26-2-xen-amd64 #1 SMP Wed Mar 10 00:29:48 UTC 2010 > >> > x86_64 GNU/Linux > >> > Ethernet controller (4): Broadcom Corporation NetXtreme II BCM5708 > >> > Gigabit Ethernet (rev 12) > >> > > >> > > >> > _______________________________________________ > >> > Xen-users mailing list > >> > Xen-users@lists.xensource.com > >> > http://lists.xensource.com/xen-users > >> > > >> > >> > >> > >> -- > >> Tapas > >> > > >http://wiki.xensource.com/xenwiki/How_to_run_4_Application_servers_on_same_piece_of_hardware_with_a_separate_OS_for_each_of_them.> >> +91 8971248477 > >> > > > > > > > > > > -- > Tapas >http://wiki.xensource.com/xenwiki/How_to_run_4_Application_servers_on_same_piece_of_hardware_with_a_separate_OS_for_each_of_them.> +91 8971248477 >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> #(vif-script vif-bridge)The above line should also be uncommented.If you are using a bridge setup.> Normally, it must be ok like that?Yes if it is a bridged setup then it has to be like that.> > And after xm destroy, same problem! >Here I will not be able to help some more knowledgeable people should reply. Since if it is a bug then I can not say.I doubt it is a bug.But there is some thing known as strace.Try to use it to find what exactly is happening when you are destroying that will help a bit more to dig the problem. -- Tapas +91 8971248477 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
ninoochka@free.fr
2010-Apr-19 15:01 UTC
Re: [Xen-users] dom0 network down after domU destroy
Nothing better... Thanks for your help ! Selon Tapas Mishra <mightydreams@gmail.com>:> > #(vif-script vif-bridge) > The above line should also be uncommented.If you are using a bridge setup. > > > Normally, it must be ok like that? > Yes if it is a bridged setup then it has to be like that. > > > > And after xm destroy, same problem! > > > Here I will not be able to help some more knowledgeable people should reply. > Since if it is a bug then I can not say.I doubt it is a bug.But there > is some thing known as strace.Try to use it to find what exactly is > happening when you are destroying that will help a bit more to dig the > problem. > -- > Tapas > +91 8971248477 >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users