Lukáš Pecha
2007-Nov-21 13:39 UTC
[Xen-users] Xen 3.1.0 and openSuse 10.3 - xenbr0 won''t dissapear
Hello, I use xen for a few months now and I upgraded to opensuse 10.3 with xen 3.1 (64bit versions) recently. Everything works fine, but there is a problem when I change xend-config.sxp to use my own network script (it''s slightly modified version of network-virtual scripts from http://en.opensuse.org/Xen3_yet_another_Virtual_Network_Concept ) instead of default network-bridge script. The problem is, that after restarting xend (and yes, I tried also a complete reboot of the whole system), there are not just my bridges xenbr1, xenbr2 and xenbr3, there is also a default xenbr0! I can remove it by "sh /etc/xen/scripts/network-bridge stop", but every time, when xend is restarted, it is there again. I use the same configuration like in previous version of xen, I doublechecked everything, I have even removed original network-bridge script, but the problem is still not solved. Do you have any ideas, please? I use the default configuration, the only change I made is one line in xend-config.sxp and adding my scripts to /etc/xen/scripts/ - and that scripts work fine, I tested them separately, they just create three bridges with IP addresses and add a few vlans to them. Thank you, Luke _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Robert Valentan
2007-Nov-21 18:53 UTC
Re: [Xen-users] Xen 3.1.0 and openSuse 10.3 - xenbr0 won''t dissapear
Lukáš Pecha schrieb:> Hello, > I use xen for a few months now and I upgraded to opensuse 10.3 with xen > 3.1 (64bit versions) recently. > Everything works fine, but there is a problem when I change > xend-config.sxp to use my own network script (it''s slightly modified > version of network-virtual scripts from > http://en.opensuse.org/Xen3_yet_another_Virtual_Network_Concept ) > instead of default network-bridge script. The problem is, that after > ...Hallo! Put your script instead of xend-config.sxp into a new init.d-script and add it''s name to the line "Required-Start" in the file /etc/init.d/xend I have also set the "RUN_PARALLEL" in /etc/sysconfig/boot to no. In xend-config.sxp you need to put a dummy network-bridge script ( only a "exit 0" inside). Then you can have a complex network as you want! With this modification''s my xen-network is always starting with all elements, 2-3 ''normal'' bridges and 2-4 vnet''s with peering between two datacenters.. :-) regards Robert Valentan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Robert Valentan
2007-Nov-22 15:41 UTC
Re: [Xen-users] Xen 3.1.0 and openSuse 10.3 - xenbr0 won''t dissapear
Lukáš Pecha schrieb:> Hello, > I use xen for a few months now and I upgraded to opensuse 10.3 with xen > 3.1 (64bit versions) recently. > Everything works fine, but there is a problem when I change > xend-config.sxp to use my own network script (it''s slightly modified > version of network-virtual scripts from > http://en.opensuse.org/Xen3_yet_another_Virtual_Network_Concept ) > instead of default network-bridge script. The problem is, that after > ...Hallo! Put your script instead of xend-config.sxp into a new init.d-script and add it''s name to the line "Required-Start" in the file /etc/init.d/xend I have also set the "RUN_PARALLEL" in /etc/sysconfig/boot to no. In xend-config.sxp you need to put a dummy network-bridge script ( only a "exit 0" inside). Then you can have a complex network as you want! With this modification''s my xen-network is always starting with all elements, 2-3 ''normal'' bridges and 2-4 vnet''s with peering between two datacenters.. :-) regards Robert Valentan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Lukáš Pecha
2007-Nov-23 08:25 UTC
Re: Re: [Xen-users] Xen 3.1.0 and openSuse 10.3 - xenbr0 won''t dissapear
Thanks for an advice, it is a good idea and I tried it. But it still didn''t solve my problem. It is the same like before, when xend starts, it creates an empty xenbr0 (just a bridge, with no interfaces on it and with no virtual interfaces like veth, peth or vif0.x). I tried to read all xen scripts related to bridging, but I didn''t find a single clue, why is xend doing it. It is like the program itself has somewhere stored a simple "brctl addbr xenbr0" command and executes it everytime it starts up. Lukas Pecha Lukáš Pecha schrieb:>> Hello, >> I use xen for a few months now and I upgraded to opensuse 10.3 with xen >> 3.1 (64bit versions) recently. >> Everything works fine, but there is a problem when I change >> xend-config.sxp to use my own network script (it''s slightly modified >> version of network-virtual scripts from >> http://en.opensuse.org/Xen3_yet_another_Virtual_Network_Concept ) >> instead of default network-bridge script. The problem is, that after >> ... >> > > Hallo! > > Put your script instead of xend-config.sxp into a new init.d-script and > add it''s name to the line "Required-Start" in the file /etc/init.d/xend > I have also set the "RUN_PARALLEL" in /etc/sysconfig/boot to no. > In xend-config.sxp you need to put a dummy network-bridge script ( only > a "exit 0" inside). Then you can have a complex network as you want! > With this modification''s my xen-network is always starting with all > elements, 2-3 ''normal'' bridges and 2-4 vnet''s with peering between two > datacenters.. :-) > > regards > Robert Valentan > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users