How do I test whether network-script is running or not in Xen Dom0.
Dell at epperson.homelinux.net
Sat Apr 10 11:51:42 CDT 2010
On Sat, April 10, 2010 10:44, Tapas Mishra wrote:
> How do I test whether network-script is running or not in Xen Dom0.
> I have a Debian Lenny Dom0.Running Xen on it and 4 virtual hosts on it.
> I am currently setting up a proxy server in Dom0 which DomU's will be
> able to use.The problem is before I go on to set NAT I wanted to test
> So I renamed the bridge in /etc/xen/xend-config.sxp
> (network-script 'network-bridge bridge=ABCD')
> but when I do a reboot or xend restart and do following
> openworld:/etc/xen# brctl show
> bridge name bridge id STP enabled interfaces
> eth2 8000.0026b9824238 no peth2
> the bridge is not renamed to ABCD above output is showing eth2 which
> is not even default.
> So I doubt that the script network-bridge has not been called so that
> it renames the bridge or there is some thing else I should look for.
My general technique for seeing what's up with the script in a case like
this is to insert at the top:
Then you'll get a file with the pid on the end every time it's executed,
with an exec trace. Don't forget to clean up the /tmp files and the
script when done.
More information about the Linux-PowerEdge