Bill McGonigle wrote :
> The third scenario would have taken me ages to figure out, especially on
> the servers that are xen-bridging multiple interfaces. I think I'll
> schedule a reboot on those ASAP!
It's actually quite easy to figure out. The tough part would be to find
where the bug lies and fix it ;-)
To know if you're in this situation :
* When you start a new domU, it start up fine but network doesn't work
* Dumping network traffic from the domU shows no broadcast traffic at
all, as if the network was isolated on a new LAN
* Dumping network traffic from the dom0 on the vif* interface
corresponding to the domU shows the same traffic, no broadcast and
only the domU's traffic (typically ARP requests for the DNS servers
or default gateway it has)
* Checking the dom0's bridges, everything seems fine
* Doing a del/add of the vif* interface from the bridge doesn't fix it
* Restarting any existing working domU puts it in the same situation
At that point you think you might need to reboot. Not necessarily, the
solution is as simple as destroying and re-creating an identical bridge
interface "on the fly" with something like this (adapt to your interface
names) :
-- 8< --
#!/bin/sh
xenbr="xenbr0"
ifaces="vif36.0 vif31.0 vif26.0 vif23.0 vif9.0 vif8.0 vif6.0 peth0
vif0.0"
ifconfig $xenbr down
for iface in $ifaces; do
brctl delif $xenbr $iface
done
brctl delbr $xenbr
brctl addbr $xenbr
ifconfig $xenbr up
for iface in $ifaces; do
brctl addif $xenbr $iface
done
-- 8< --
Use at your own risk. Run from inside a screen just in case and/or
connected through a different network interface to the server.
I've seen this on 5.0, 5.1 and 5.2 for sure. Not sure if I've yet
bumped into it with 5.3 just yet. No error messages when it happens,
just a useless "it stops working" situation, for which I've never even
bothered opening a bug report since I've found no way to reliably
reproducing it.
HTH, even if you probably didn't need anything so detailed right now ;-)
Matthias
--
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Fedora release 10 (Cambridge) - Linux kernel
2.6.27.21-170.2.56.fc10.x86_64 Load : 0.17 0.11 0.09
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list